DynamoDB

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

API Group: aws.konfig.io/v1alpha1

DynamoDBBackup # GA

DynamoDBBackup is the Schema for managing DynamoDB on-demand backups.

kubectl get dynamodbbackups · example on GitHub

Example

# DynamoDBBackup — DynamoDB
# 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/dynamodb.html#dynamodbbackup
apiVersion: aws.konfig.io/v1alpha1
kind: DynamoDBBackup
metadata:
  name: example-dynamodbbackup
  namespace: default
spec:
  backupName: example-dynamodbbackup
  providerRef:
    name: example-dynamodbbackup
    region: us-east-1
  tableName: example-dynamodbbackup

Spec

FieldTypeRequiredDescription
backupNamestringyesBackupName is the name of the backup.
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.
tableNamestringyesTableName is the name of the DynamoDB table to back up.

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).
backupArnstring—BackupARN is the ARN of the backup.
backupStatusstring—BackupStatus is the current status of the backup (CREATING, DELETED, AVAILABLE).
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.

DynamoDBGlobalTable # GA

DynamoDBGlobalTable is the Schema for managing DynamoDB Global Tables.

kubectl get dynamodbglobaltables · example on GitHub

Example

# DynamoDBGlobalTable — DynamoDB
# 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/dynamodb.html#dynamodbglobaltable
apiVersion: aws.konfig.io/v1alpha1
kind: DynamoDBGlobalTable
metadata:
  name: example-dynamodbglobaltable
  namespace: default
spec:
  providerRef:
    name: example-dynamodbglobaltable
    region: us-east-1
  replicationGroup:
  - regionName: example-dynamodbglobaltable
  tableName: example-dynamodbglobaltable

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.
replicationGrouparray<object>yesReplicationGroup defines the regions for the global table.
replicationGroup[].regionNamestringyesRegionName is the AWS region for this replica.
tableNamestringyesTableName is the name of the global table.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the global table.
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.
globalTableStatusstring—GlobalTableStatus is the current status.
lastSyncTimestring—LastSyncTime is when the resource was last successfully reconciled.
observedGenerationinteger—ObservedGeneration is the most recent .metadata.generation reconciled.

DynamoDBTable # GA

DynamoDBTable is the Schema for managing DynamoDB Tables.

kubectl get dynamodbtables · example on GitHub

Example

# DynamoDBTable — DynamoDB
# 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/dynamodb.html#dynamodbtable
apiVersion: aws.konfig.io/v1alpha1
kind: DynamoDBTable
metadata:
  name: example-dynamodbtable
  namespace: default
spec:
  attributeDefinitions:
  - attributeName: example-dynamodbtable
    attributeType: S
  billingMode: PROVISIONED
  keySchema:
  - attributeName: example-dynamodbtable
    keyType: HASH
  kmsKeyArn: arn:aws:iam::123456789012:role/example-role
  pointInTimeRecovery: false
  providerRef:
    name: example-dynamodbtable
    region: us-east-1
  provisionedThroughput:
    readCapacityUnits: 1
    writeCapacityUnits: 1
  sseEnabled: true
  tableName: example-dynamodbtable
  tags:
    environment: dev
    team: platform

Spec

FieldTypeRequiredDescription
attributeDefinitionsarray<object>yesAttributeDefinitions define the table attributes.
attributeDefinitions[].attributeNamestringyesAttributeName is the name of the attribute.
attributeDefinitions[].attributeTypeenumyesAttributeType is the data type (S=String, N=Number, B=Binary). Allowed: S, N, B
billingModeenum—BillingMode is the billing mode. Allowed: PROVISIONED, PAY_PER_REQUEST
keySchemaarray<object>yesKeySchema defines the primary key.
keySchema[].attributeNamestringyesAttributeName is the name of the key attribute.
keySchema[].keyTypeenumyesKeyType is HASH or RANGE. Allowed: HASH, RANGE
kmsKeyArnstring—KMSKeyARN is the KMS key ARN for SSE.
pointInTimeRecoveryboolean—PointInTimeRecovery enables PITR.
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.
provisionedThroughputobject—ProvisionedThroughput is required when BillingMode is PROVISIONED.
provisionedThroughput.readCapacityUnitsintegeryesReadCapacityUnits is the read capacity.
provisionedThroughput.writeCapacityUnitsintegeryesWriteCapacityUnits is the write capacity.
sseEnabledboolean—SSEEnabled enables server-side encryption.
tableNamestringyesTableName is the name of the table.
tagsmap<string>—Tags are AWS resource tags to apply.

Status

FieldTypeRequiredDescription
arnstring—ARN is the ARN of the DynamoDB table.
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.
tableStatusstring—TableStatus is the current table status.

DynamoDBTablePolicy # GA

DynamoDBTablePolicy is the Schema for managing DynamoDB resource policies.

kubectl get dynamodbtablepolicies · example on GitHub

Example

# DynamoDBTablePolicy — DynamoDB
# 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/dynamodb.html#dynamodbtablepolicy
apiVersion: aws.konfig.io/v1alpha1
kind: DynamoDBTablePolicy
metadata:
  name: example-dynamodbtablepolicy
  namespace: default
spec:
  policyDocument: '{"Version": "2012-10-17", "Statement": [{"Effect": "Allow", "Action": ["s3:GetObject"],
    "Resource": "*"}]}'
  providerRef:
    name: example-dynamodbtablepolicy
    region: us-east-1
  resourceARN: arn:aws:iam::123456789012:role/example-role

Spec

FieldTypeRequiredDescription
policyDocumentstringyesPolicyDocument is the JSON policy document.
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.
resourceARNstringyesResourceARN is the ARN of the DynamoDB table or stream to attach the policy to.

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.
revisionIDstring—RevisionID is the policy revision ID.