CfnSimpleTableProps
- class aws_cdk.aws_sam.CfnSimpleTableProps(*, primary_key=None, provisioned_throughput=None, sse_specification=None, table_name=None, tags=None)
Bases:
object
Properties for defining a
CfnSimpleTable
.- Parameters:
primary_key (
Union
[IResolvable
,PrimaryKeyProperty
,Dict
[str
,Any
],None
]) –provisioned_throughput (
Union
[IResolvable
,ProvisionedThroughputProperty
,Dict
[str
,Any
],None
]) –sse_specification (
Union
[IResolvable
,SSESpecificationProperty
,Dict
[str
,Any
],None
]) –table_name (
Optional
[str
]) –tags (
Optional
[Mapping
[str
,str
]]) –
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk import 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
-
- Type:
see
- provisioned_throughput
-
- Type:
see
- sse_specification
-
- Type:
see
- table_name
-
- Type:
see