interface CfnSimpleTableProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SAM.CfnSimpleTableProps |
![]() | software.amazon.awscdk.services.sam.CfnSimpleTableProps |
![]() | aws_cdk.aws_sam.CfnSimpleTableProps |
![]() | @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
.