Kinesis

3 resource kinds. Generated from the operator's CRD schemas.

API Group: aws.konfig.io/v1alpha1

KinesisResourcePolicy # CLOUD CONTROL · AWS::Kinesis::ResourcePolicy

KinesisResourcePolicy manages AWS::Kinesis::ResourcePolicy through the AWS Cloud Control API.

kubectl get kinesisresourcepolicies · example on GitHub

Example

# KinesisResourcePolicy — Kinesis
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/kinesis.html#kinesisresourcepolicy
apiVersion: aws.konfig.io/v1alpha1
kind: KinesisResourcePolicy
metadata:
  name: example-kinesisresourcepolicy
  namespace: default
spec:
  providerRef:
    name: example-kinesisresourcepolicy
    region: us-east-1

Spec

FieldTypeRequiredDescription
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
resourceArnobjectyesThe ARN of the AWS Kinesis resource to which the policy applies.
resourcePolicyobjectyesA policy document containing permissions to add to the specified resource.

Status

FieldTypeRequiredDescription
attemptinteger—Attempt counts failed create/delete requests; it salts the Cloud Control idempotency token so a retry is not served the cached failure.
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
identifierstring—Identifier is the Cloud Control primary identifier of the resource.
lastSyncTimestring—
observedGenerationinteger—
operationstring—Operation is the in-flight operation (CREATE, UPDATE, DELETE).
operationStatusstring—OperationStatus is the last reported operation status.
requestTokenstring—RequestToken tracks an in-flight asynchronous operation.

KinesisStream # GA

KinesisStream is the Schema for managing Kinesis Data Streams.

kubectl get kinesisstreams · example on GitHub

Example

# KinesisStream — Kinesis
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/kinesis.html#kinesisstream
apiVersion: aws.konfig.io/v1alpha1
kind: KinesisStream
metadata:
  name: example-kinesisstream
  namespace: default
spec:
  providerRef:
    name: example-kinesisstream
    region: us-east-1
  retentionPeriodHours: 7
  shardCount: 2
  streamMode: ON_DEMAND
  streamName: example-kinesisstream
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
retentionPeriodHoursinteger—RetentionPeriodHours is the data retention period in hours (24–8760).
shardCountinteger—ShardCount is the number of shards for PROVISIONED mode.
streamModeenum—StreamModeDetails specifies ON_DEMAND or PROVISIONED mode. Allowed: ON_DEMAND, PROVISIONED
streamNamestringyesStreamName is the name of the stream.
tagsmap<string>—Tags are metadata tags for the stream.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.
streamARNstring—StreamARN is the ARN of the stream.
streamStatusstring—StreamStatus is the current status of the stream (CREATING, DELETING, ACTIVE, UPDATING).

KinesisStreamConsumer # GA

KinesisStreamConsumer is the Schema for managing Kinesis enhanced fan-out consumers.

kubectl get kinesisstreamconsumers · example on GitHub

Example

# KinesisStreamConsumer — Kinesis
# Full-options example generated from the CRD schema. Optional fields are
# included with sample values; delete what you don't need. Field reference:
# https://konfig-konector.io/docs/kinesis.html#kinesisstreamconsumer
apiVersion: aws.konfig.io/v1alpha1
kind: KinesisStreamConsumer
metadata:
  name: example-kinesisstreamconsumer
  namespace: default
spec:
  consumerName: example-kinesisstreamconsumer
  providerRef:
    name: example-kinesisstreamconsumer
    region: us-east-1
  streamARN: arn:aws:iam::123456789012:role/example-role

Spec

FieldTypeRequiredDescription
consumerNamestringyesConsumerName is the name of the consumer.
providerRefobject—ProviderRef selects the AWSProvider (account/region) this resource is reconciled against.
providerRef.namestringyesName of a cluster-scoped AWSProvider.
providerRef.regionstring—Region overrides the provider's region for this resource only.
streamARNstringyesStreamARN is the ARN of the Kinesis stream to register the consumer on.

Status

FieldTypeRequiredDescription
awsProviderobject—AWSProvider confirms the account and region this resource was reconciled against.
awsProvider.accountIdstring—AccountID the resource lives in.
awsProvider.namestring—Name of the AWSProvider used; empty when the operator's own credentials were used.
awsProvider.regionstring—Region the resource lives in (empty for global services).
conditionsarray<object>—Conditions describe the current state of the resource.
conditions[].lastTransitionTimestringyeslastTransitionTime is the last time the condition transitioned from one status to another.
conditions[].messagestringyesmessage is a human readable message indicating details about the transition.
conditions[].observedGenerationinteger—observedGeneration represents the .metadata.generation that the condition was set based upon.
conditions[].reasonstringyesreason contains a programmatic identifier indicating the reason for the condition's last transition.
conditions[].statusenumyesstatus of the condition, one of True, False, Unknown. Allowed: True, False, Unknown
conditions[].typestringyestype of condition in CamelCase or in foo.example.com/CamelCase.
consumerARNstring—ConsumerARN is the ARN of the registered consumer.
consumerStatusstring—ConsumerStatus is the current status (CREATING, DELETING, ACTIVE).
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.