interface CfnSimpleTableProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SAM.CfnSimpleTableProps |
Java | software.amazon.awscdk.services.sam.CfnSimpleTableProps |
Python | aws_cdk.aws_sam.CfnSimpleTableProps |
TypeScript | @aws-cdk/aws-sam » CfnSimpleTableProps |
Properties for defining a CfnSimpleTable.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as sam from '@aws-cdk/aws-sam';
const cfnSimpleTableProps: sam.CfnSimpleTableProps = {
primaryKey: {
type: 'type',
// the properties below are optional
name: 'name',
},
provisionedThroughput: {
writeCapacityUnits: 123,
// the properties below are optional
readCapacityUnits: 123,
},
sseSpecification: {
sseEnabled: false,
},
tableName: 'tableName',
tags: {
tagsKey: 'tags',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| primary | IResolvable | Primary | AWS::Serverless::SimpleTable.PrimaryKey. |
| provisioned | IResolvable | Provisioned | AWS::Serverless::SimpleTable.ProvisionedThroughput. |
| sse | IResolvable | SSESpecification | AWS::Serverless::SimpleTable.SSESpecification. |
| table | string | AWS::Serverless::SimpleTable.TableName. |
| tags? | { [string]: string } | AWS::Serverless::SimpleTable.Tags. |
primaryKey?
Type:
IResolvable | Primary
(optional)
AWS::Serverless::SimpleTable.PrimaryKey.
provisionedThroughput?
Type:
IResolvable | Provisioned
(optional)
AWS::Serverless::SimpleTable.ProvisionedThroughput.
sseSpecification?
Type:
IResolvable | SSESpecification
(optional)
AWS::Serverless::SimpleTable.SSESpecification.
tableName?
Type:
string
(optional)
AWS::Serverless::SimpleTable.TableName.
tags?
Type:
{ [string]: string }
(optional)
AWS::Serverless::SimpleTable.Tags.

.NET
Java
Python
TypeScript