aws-cdk-lib.aws_sam.CfnSimpleTableProps

interface CfnSimpleTableProps

LanguageType name
.NETAmazon.CDK.AWS.SAM.CfnSimpleTableProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awssam#CfnSimpleTableProps
Javasoftware.amazon.awscdk.services.sam.CfnSimpleTableProps
Pythonaws_cdk.aws_sam.CfnSimpleTableProps
TypeScript aws-cdk-lib » 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 { aws_sam as sam } from 'aws-cdk-lib';
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

NameTypeDescription
primaryKey?IResolvable | PrimaryKeyPropertyAWS::Serverless::SimpleTable.PrimaryKey.
provisionedThroughput?IResolvable | ProvisionedThroughputPropertyAWS::Serverless::SimpleTable.ProvisionedThroughput.
sseSpecification?IResolvable | SSESpecificationPropertyAWS::Serverless::SimpleTable.SSESpecification.
tableName?stringAWS::Serverless::SimpleTable.TableName.
tags?{ [string]: string }AWS::Serverless::SimpleTable.Tags.

primaryKey?

Type: IResolvable | PrimaryKeyProperty (optional)

AWS::Serverless::SimpleTable.PrimaryKey.


provisionedThroughput?

Type: IResolvable | ProvisionedThroughputProperty (optional)

AWS::Serverless::SimpleTable.ProvisionedThroughput.


sseSpecification?

Type: IResolvable | SSESpecificationProperty (optional)

AWS::Serverless::SimpleTable.SSESpecification.


tableName?

Type: string (optional)

AWS::Serverless::SimpleTable.TableName.


tags?

Type: { [string]: string } (optional)

AWS::Serverless::SimpleTable.Tags.