CfnSimpleTableProps
- class aws_cdk.aws_sam.CfnSimpleTableProps(*, primary_key=None, provisioned_throughput=None, sse_specification=None, table_name=None, tags=None)
Bases:
objectProperties for defining a
CfnSimpleTable.- Parameters:
primary_key (
Union[IResolvable,PrimaryKeyProperty,Dict[str,Any],None]) –AWS::Serverless::SimpleTable.PrimaryKey.provisioned_throughput (
Union[IResolvable,ProvisionedThroughputProperty,Dict[str,Any],None]) –AWS::Serverless::SimpleTable.ProvisionedThroughput.sse_specification (
Union[IResolvable,SSESpecificationProperty,Dict[str,Any],None]) –AWS::Serverless::SimpleTable.SSESpecification.table_name (
Optional[str]) –AWS::Serverless::SimpleTable.TableName.tags (
Optional[Mapping[str,str]]) –AWS::Serverless::SimpleTable.Tags.
- Link:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. import aws_cdk.aws_sam as sam cfn_simple_table_props = sam.CfnSimpleTableProps( primary_key=sam.CfnSimpleTable.PrimaryKeyProperty( type="type", # the properties below are optional name="name" ), provisioned_throughput=sam.CfnSimpleTable.ProvisionedThroughputProperty( write_capacity_units=123, # the properties below are optional read_capacity_units=123 ), sse_specification=sam.CfnSimpleTable.SSESpecificationProperty( sse_enabled=False ), table_name="tableName", tags={ "tags_key": "tags" } )
Attributes
- primary_key
AWS::Serverless::SimpleTable.PrimaryKey.
- provisioned_throughput
AWS::Serverless::SimpleTable.ProvisionedThroughput.
- sse_specification
AWS::Serverless::SimpleTable.SSESpecification.
- table_name
AWS::Serverless::SimpleTable.TableName.
- tags
AWS::Serverless::SimpleTable.Tags.