Table is the Schema for the Tables API
Type
CRD
Group
dynamodb.aws.crossplane.io
Version
v1alpha1
apiVersion: dynamodb.aws.crossplane.io/v1alpha1
kind: Table
TableSpec defines the desired state of Table
TableParameters defines the desired state of Table
An array of attributes that describe the key schema for the table and indexes.
One or more global secondary indexes (the maximum is 20) to be created on the table. Each global secondary index in the array includes the following:
No description provided.
Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
No description provided.
Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide.
Specifies the attributes that make up the primary key for a table or an index. The attributes in KeySchema must also be defined in the AttributeDefinitions array. For more information, see Data Model (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DataModel.html) in the Amazon DynamoDB Developer Guide. Each KeySchemaElement in the array is composed of:
One or more local secondary indexes (the maximum is 5) to be created on the table. Each index is scoped to a given partition key value. There is a 10 GB size limit per partition key value; otherwise, the size of a local secondary index is unconstrained. Each local secondary index in the array includes the following:
No description provided.
Represents attributes that are copied (projected) from the table into an index. These are in addition to the primary key attributes and index key attributes, which are automatically projected.
No description provided.
Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation. If you set BillingMode as PROVISIONED, you must specify this property. If you set BillingMode as PAY_PER_REQUEST, you cannot specify this property. For current minimum and maximum provisioned throughput values, see Service, Account, and Table Quotas (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Limits.html) in the Amazon DynamoDB Developer Guide.
Represents the settings used to enable server-side encryption.
The settings for DynamoDB Streams on the table. These settings consist of:
A list of key-value pairs to label the table. For more information, see Tagging for DynamoDB (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tagging.html).
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
TableStatus defines the observed state of Table.
TableObservation defines the observed state of Table
Contains information about the table archive.
Contains the details for the read/write capacity mode.
Represents replicas of the table.
No description provided.
Replica-specific provisioned throughput settings. If not specified, uses the source table's provisioned throughput settings.
Replica-specific provisioned throughput settings. If not specified, uses the source table's provisioned throughput settings.
Contains details for the restore.
The description of the server-side encryption status on the specified table.
Conditions of the resource.
sample-table
apiVersion: dynamodb.aws.crossplane.io/v1alpha1
kind: Table
metadata:
name: sample-table
spec:
forProvider:
attributeDefinitions:
- attributeName: attribute1
attributeType: S
billingMode: PROVISIONED
keySchema:
- attributeName: attribute1
keyType: HASH
provisionedThroughput:
readCapacityUnits: 1
writeCapacityUnits: 1
region: us-east-1
streamSpecification:
streamEnabled: true
streamViewType: NEW_AND_OLD_IMAGES
providerConfigRef:
name: example
writeConnectionSecretToRef:
name: sample-table
namespace: crossplane-system
sample-table-without-sse
apiVersion: dynamodb.aws.crossplane.io/v1alpha1
kind: Table
metadata:
name: sample-table-without-sse
spec:
forProvider:
attributeDefinitions:
- attributeName: attribute1
attributeType: S
keySchema:
- attributeName: attribute1
keyType: HASH
provisionedThroughput:
readCapacityUnits: 1
writeCapacityUnits: 1
region: us-east-1
providerConfigRef:
name: example
sample-table-with-sse
apiVersion: dynamodb.aws.crossplane.io/v1alpha1
kind: Table
metadata:
name: sample-table-with-sse
spec:
forProvider:
attributeDefinitions:
- attributeName: attribute1
attributeType: S
keySchema:
- attributeName: attribute1
keyType: HASH
provisionedThroughput:
readCapacityUnits: 1
writeCapacityUnits: 1
region: us-east-1
sseSpecification:
enabled: true
providerConfigRef:
name: example
writeConnectionSecretToRef:
name: sample-table-with-sse
namespace: crossplane-system
sample-table-ppr
apiVersion: dynamodb.aws.crossplane.io/v1alpha1
kind: Table
metadata:
name: sample-table-ppr
spec:
forProvider:
attributeDefinitions:
- attributeName: attribute1
attributeType: S
billingMode: PAY_PER_REQUEST
keySchema:
- attributeName: attribute1
keyType: HASH
region: us-east-1
streamSpecification:
streamEnabled: true
streamViewType: NEW_AND_OLD_IMAGES
providerConfigRef:
name: example
writeConnectionSecretToRef:
name: sample-table-ppr
namespace: crossplane-system
sample-table-global-secondary-indexes
apiVersion: dynamodb.aws.crossplane.io/v1alpha1
kind: Table
metadata:
name: sample-table-global-secondary-indexes
spec:
forProvider:
attributeDefinitions:
- attributeName: IndexKey
attributeType: S
- attributeName: SomeKey
attributeType: S
billingMode: PAY_PER_REQUEST
globalSecondaryIndexes:
- indexName: IndexKey
keySchema:
- attributeName: IndexKey
keyType: HASH
- attributeName: SomeKey
keyType: RANGE
projection:
nonKeyAttributes:
- SomeId
projectionType: INCLUDE
keySchema:
- attributeName: IndexKey
keyType: HASH
- attributeName: SomeKey
keyType: RANGE
region: us-east-1
providerConfigRef:
name: example