This page documents the language specification for the aws package. If you're looking for help working with the inputs, outputs, or functions of aws resources in a Pulumi program, please see the resource documentation for examples and API reference.
dynamodb¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-aws repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-aws repo.
- class
pulumi_aws.dynamodb.AwaitableGetTableResult(arn=None, attributes=None, billing_mode=None, global_secondary_indexes=None, hash_key=None, id=None, local_secondary_indexes=None, name=None, point_in_time_recovery=None, range_key=None, read_capacity=None, replicas=None, server_side_encryption=None, stream_arn=None, stream_enabled=None, stream_label=None, stream_view_type=None, tags=None, ttl=None, write_capacity=None)¶
- class
pulumi_aws.dynamodb.GetTableResult(arn=None, attributes=None, billing_mode=None, global_secondary_indexes=None, hash_key=None, id=None, local_secondary_indexes=None, name=None, point_in_time_recovery=None, range_key=None, read_capacity=None, replicas=None, server_side_encryption=None, stream_arn=None, stream_enabled=None, stream_label=None, stream_view_type=None, tags=None, ttl=None, write_capacity=None)¶ A collection of values returned by getTable.
id= None¶The provider-assigned unique ID for this managed resource.
- class
pulumi_aws.dynamodb.GlobalTable(resource_name, opts=None, name=None, replicas=None, __props__=None, __name__=None, __opts__=None)¶ Manages DynamoDB Global Tables V1 (version 2017.11.29). These are layered on top of existing DynamoDB Tables.
NOTE: To instead manage DynamoDB Global Tables V2 (version 2019.11.21), use the
dynamodb.Tableresourcereplicaconfiguration block.Note: There are many restrictions before you can properly create DynamoDB Global Tables in multiple regions. See the AWS DynamoDB Global Table Requirements for more information.
import pulumi import pulumi_aws as aws import pulumi_pulumi as pulumi us_east_1 = pulumi.providers.Aws("us-east-1", region="us-east-1") us_west_2 = pulumi.providers.Aws("us-west-2", region="us-west-2") us_east_1_table = aws.dynamodb.Table("us-east-1Table", attributes=[{ "name": "myAttribute", "type": "S", }], hash_key="myAttribute", read_capacity=1, stream_enabled=True, stream_view_type="NEW_AND_OLD_IMAGES", write_capacity=1) us_west_2_table = aws.dynamodb.Table("us-west-2Table", attributes=[{ "name": "myAttribute", "type": "S", }], hash_key="myAttribute", read_capacity=1, stream_enabled=True, stream_view_type="NEW_AND_OLD_IMAGES", write_capacity=1) my_table = aws.dynamodb.GlobalTable("myTable", replicas=[ { "regionName": "us-east-1", }, { "regionName": "us-west-2", }, ])
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
name (pulumi.Input[str]) – The name of the global table. Must match underlying DynamoDB Table names in all regions.
replicas (pulumi.Input[list]) – Underlying DynamoDB Table. At least 1 replica must be defined. See below.
The replicas object supports the following:
regionName(pulumi.Input[str]) - AWS region name of replica DynamoDB Table. e.g.us-east-1
arn: pulumi.Output[str] = None¶The ARN of the DynamoDB Global Table
name: pulumi.Output[str] = None¶The name of the global table. Must match underlying DynamoDB Table names in all regions.
replicas: pulumi.Output[list] = None¶Underlying DynamoDB Table. At least 1 replica must be defined. See below.
regionName(str) - AWS region name of replica DynamoDB Table. e.g.us-east-1
- static
get(resource_name, id, opts=None, arn=None, name=None, replicas=None)¶ Get an existing GlobalTable resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
arn (pulumi.Input[str]) – The ARN of the DynamoDB Global Table
name (pulumi.Input[str]) – The name of the global table. Must match underlying DynamoDB Table names in all regions.
replicas (pulumi.Input[list]) – Underlying DynamoDB Table. At least 1 replica must be defined. See below.
The replicas object supports the following:
regionName(pulumi.Input[str]) - AWS region name of replica DynamoDB Table. e.g.us-east-1
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_aws.dynamodb.Table(resource_name, opts=None, attributes=None, billing_mode=None, global_secondary_indexes=None, hash_key=None, local_secondary_indexes=None, name=None, point_in_time_recovery=None, range_key=None, read_capacity=None, replicas=None, server_side_encryption=None, stream_enabled=None, stream_view_type=None, tags=None, ttl=None, write_capacity=None, __props__=None, __name__=None, __opts__=None)¶ Provides a DynamoDB table resource
Note: It is recommended to use ``ignoreChanges` <https://www.pulumi.com/docs/intro/concepts/programming-model/#ignorechanges>`_ for
read_capacityand/orwrite_capacityif there’sautoscaling policyattached to the table.import pulumi import pulumi_aws as aws basic_dynamodb_table = aws.dynamodb.Table("basic-dynamodb-table", attributes=[ { "name": "UserId", "type": "S", }, { "name": "GameTitle", "type": "S", }, { "name": "TopScore", "type": "N", }, ], billing_mode="PROVISIONED", global_secondary_indexes=[{ "hash_key": "GameTitle", "name": "GameTitleIndex", "nonKeyAttributes": ["UserId"], "projectionType": "INCLUDE", "range_key": "TopScore", "read_capacity": 10, "write_capacity": 10, }], hash_key="UserId", range_key="GameTitle", read_capacity=20, tags={ "Environment": "production", "Name": "dynamodb-table-1", }, ttl={ "attributeName": "TimeToExist", "enabled": False, }, write_capacity=20)
import pulumi import pulumi_aws as aws example = aws.dynamodb.Table("example", attributes=[{ "name": "TestTableHashKey", "type": "S", }], billing_mode="PAY_PER_REQUEST", hash_key="TestTableHashKey", replicas=[ { "regionName": "us-east-2", }, { "regionName": "us-west-2", }, ], stream_enabled=True, stream_view_type="NEW_AND_OLD_IMAGES")
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
attributes (pulumi.Input[list]) – List of nested attribute definitions. Only required for
hash_keyandrange_keyattributes. Each attribute has two properties:billing_mode (pulumi.Input[str]) – Controls how you are charged for read and write throughput and how you manage capacity. The valid values are
PROVISIONEDandPAY_PER_REQUEST. Defaults toPROVISIONED.global_secondary_indexes (pulumi.Input[list]) – Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc.
hash_key (pulumi.Input[str]) – The name of the hash key in the index; must be defined as an attribute in the resource.
local_secondary_indexes (pulumi.Input[list]) – Describe an LSI on the table; these can only be allocated at creation so you cannot change this definition after you have created the resource.
name (pulumi.Input[str]) – The name of the index
point_in_time_recovery (pulumi.Input[dict]) – Point-in-time recovery options.
range_key (pulumi.Input[str]) – The name of the range key; must be defined
read_capacity (pulumi.Input[float]) – The number of read units for this index. Must be set if billing_mode is set to PROVISIONED.
replicas (pulumi.Input[list]) –
Configuration block(s) with DynamoDB Global Tables V2 (version 2019.11.21) replication configurations. Detailed below.
server_side_encryption (pulumi.Input[dict]) – Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS owned Customer Master Key if this argument isn’t specified.
stream_enabled (pulumi.Input[bool]) – Indicates whether Streams are to be enabled (true) or disabled (false).
stream_view_type (pulumi.Input[str]) – When an item in the table is modified, StreamViewType determines what information is written to the table’s stream. Valid values are
KEYS_ONLY,NEW_IMAGE,OLD_IMAGE,NEW_AND_OLD_IMAGES.tags (pulumi.Input[dict]) – A map of tags to populate on the created table.
ttl (pulumi.Input[dict]) – Defines ttl, has two properties, and can only be specified once:
write_capacity (pulumi.Input[float]) – The number of write units for this index. Must be set if billing_mode is set to PROVISIONED.
The attributes object supports the following:
name(pulumi.Input[str]) - The name of the indextype(pulumi.Input[str]) - Attribute type, which must be a scalar type:S,N, orBfor (S)tring, (N)umber or (B)inary data
The global_secondary_indexes object supports the following:
hash_key(pulumi.Input[str]) - The name of the hash key in the index; must be defined as an attribute in the resource.name(pulumi.Input[str]) - The name of the indexnonKeyAttributes(pulumi.Input[list]) - Only required withINCLUDEas a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.projectionType(pulumi.Input[str]) - One ofALL,INCLUDEorKEYS_ONLYwhereALLprojects every attribute into the index,KEYS_ONLYprojects just the hash and range key into the index, andINCLUDEprojects only the keys specified in the _non_keyattributes parameter.range_key(pulumi.Input[str]) - The name of the range key; must be definedread_capacity(pulumi.Input[float]) - The number of read units for this index. Must be set if billing_mode is set to PROVISIONED.write_capacity(pulumi.Input[float]) - The number of write units for this index. Must be set if billing_mode is set to PROVISIONED.
The local_secondary_indexes object supports the following:
name(pulumi.Input[str]) - The name of the indexnonKeyAttributes(pulumi.Input[list]) - Only required withINCLUDEas a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.projectionType(pulumi.Input[str]) - One ofALL,INCLUDEorKEYS_ONLYwhereALLprojects every attribute into the index,KEYS_ONLYprojects just the hash and range key into the index, andINCLUDEprojects only the keys specified in the _non_keyattributes parameter.range_key(pulumi.Input[str]) - The name of the range key; must be defined
The point_in_time_recovery object supports the following:
enabled(pulumi.Input[bool]) - Indicates whether ttl is enabled (true) or disabled (false).
The replicas object supports the following:
regionName(pulumi.Input[str]) - Region name of the replica.
The server_side_encryption object supports the following:
enabled(pulumi.Input[bool]) - Indicates whether ttl is enabled (true) or disabled (false).kms_key_arn(pulumi.Input[str]) - The ARN of the CMK that should be used for the AWS KMS encryption. This attribute should only be specified if the key is different from the default DynamoDB CMK,alias/aws/dynamodb.
The ttl object supports the following:
attributeName(pulumi.Input[str]) - The name of the table attribute to store the TTL timestamp in.enabled(pulumi.Input[bool]) - Indicates whether ttl is enabled (true) or disabled (false).
arn: pulumi.Output[str] = None¶The arn of the table
attributes: pulumi.Output[list] = None¶List of nested attribute definitions. Only required for
hash_keyandrange_keyattributes. Each attribute has two properties:name(str) - The name of the indextype(str) - Attribute type, which must be a scalar type:S,N, orBfor (S)tring, (N)umber or (B)inary data
billing_mode: pulumi.Output[str] = None¶Controls how you are charged for read and write throughput and how you manage capacity. The valid values are
PROVISIONEDandPAY_PER_REQUEST. Defaults toPROVISIONED.
global_secondary_indexes: pulumi.Output[list] = None¶Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc.
hash_key(str) - The name of the hash key in the index; must be defined as an attribute in the resource.name(str) - The name of the indexnonKeyAttributes(list) - Only required withINCLUDEas a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.projectionType(str) - One ofALL,INCLUDEorKEYS_ONLYwhereALLprojects every attribute into the index,KEYS_ONLYprojects just the hash and range key into the index, andINCLUDEprojects only the keys specified in the _non_keyattributes parameter.range_key(str) - The name of the range key; must be definedread_capacity(float) - The number of read units for this index. Must be set if billing_mode is set to PROVISIONED.write_capacity(float) - The number of write units for this index. Must be set if billing_mode is set to PROVISIONED.
hash_key: pulumi.Output[str] = None¶The name of the hash key in the index; must be defined as an attribute in the resource.
local_secondary_indexes: pulumi.Output[list] = None¶Describe an LSI on the table; these can only be allocated at creation so you cannot change this definition after you have created the resource.
name(str) - The name of the indexnonKeyAttributes(list) - Only required withINCLUDEas a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.projectionType(str) - One ofALL,INCLUDEorKEYS_ONLYwhereALLprojects every attribute into the index,KEYS_ONLYprojects just the hash and range key into the index, andINCLUDEprojects only the keys specified in the _non_keyattributes parameter.range_key(str) - The name of the range key; must be defined
name: pulumi.Output[str] = None¶The name of the index
point_in_time_recovery: pulumi.Output[dict] = None¶Point-in-time recovery options.
enabled(bool) - Indicates whether ttl is enabled (true) or disabled (false).
range_key: pulumi.Output[str] = None¶The name of the range key; must be defined
read_capacity: pulumi.Output[float] = None¶The number of read units for this index. Must be set if billing_mode is set to PROVISIONED.
replicas: pulumi.Output[list] = None¶Configuration block(s) with DynamoDB Global Tables V2 (version 2019.11.21) replication configurations. Detailed below.
regionName(str) - Region name of the replica.
server_side_encryption: pulumi.Output[dict] = None¶Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS owned Customer Master Key if this argument isn’t specified.
enabled(bool) - Indicates whether ttl is enabled (true) or disabled (false).kms_key_arn(str) - The ARN of the CMK that should be used for the AWS KMS encryption. This attribute should only be specified if the key is different from the default DynamoDB CMK,alias/aws/dynamodb.
stream_arn: pulumi.Output[str] = None¶The ARN of the Table Stream. Only available when
stream_enabled = true
stream_enabled: pulumi.Output[bool] = None¶Indicates whether Streams are to be enabled (true) or disabled (false).
stream_label: pulumi.Output[str] = None¶A timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when
stream_enabled = true
stream_view_type: pulumi.Output[str] = None¶When an item in the table is modified, StreamViewType determines what information is written to the table’s stream. Valid values are
KEYS_ONLY,NEW_IMAGE,OLD_IMAGE,NEW_AND_OLD_IMAGES.
A map of tags to populate on the created table.
ttl: pulumi.Output[dict] = None¶Defines ttl, has two properties, and can only be specified once:
attributeName(str) - The name of the table attribute to store the TTL timestamp in.enabled(bool) - Indicates whether ttl is enabled (true) or disabled (false).
write_capacity: pulumi.Output[float] = None¶The number of write units for this index. Must be set if billing_mode is set to PROVISIONED.
- static
get(resource_name, id, opts=None, arn=None, attributes=None, billing_mode=None, global_secondary_indexes=None, hash_key=None, local_secondary_indexes=None, name=None, point_in_time_recovery=None, range_key=None, read_capacity=None, replicas=None, server_side_encryption=None, stream_arn=None, stream_enabled=None, stream_label=None, stream_view_type=None, tags=None, ttl=None, write_capacity=None)¶ Get an existing Table resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
arn (pulumi.Input[str]) – The arn of the table
attributes (pulumi.Input[list]) – List of nested attribute definitions. Only required for
hash_keyandrange_keyattributes. Each attribute has two properties:billing_mode (pulumi.Input[str]) – Controls how you are charged for read and write throughput and how you manage capacity. The valid values are
PROVISIONEDandPAY_PER_REQUEST. Defaults toPROVISIONED.global_secondary_indexes (pulumi.Input[list]) – Describe a GSI for the table; subject to the normal limits on the number of GSIs, projected attributes, etc.
hash_key (pulumi.Input[str]) – The name of the hash key in the index; must be defined as an attribute in the resource.
local_secondary_indexes (pulumi.Input[list]) – Describe an LSI on the table; these can only be allocated at creation so you cannot change this definition after you have created the resource.
name (pulumi.Input[str]) – The name of the index
point_in_time_recovery (pulumi.Input[dict]) – Point-in-time recovery options.
range_key (pulumi.Input[str]) – The name of the range key; must be defined
read_capacity (pulumi.Input[float]) – The number of read units for this index. Must be set if billing_mode is set to PROVISIONED.
replicas (pulumi.Input[list]) –
Configuration block(s) with DynamoDB Global Tables V2 (version 2019.11.21) replication configurations. Detailed below.
server_side_encryption (pulumi.Input[dict]) – Encryption at rest options. AWS DynamoDB tables are automatically encrypted at rest with an AWS owned Customer Master Key if this argument isn’t specified.
stream_arn (pulumi.Input[str]) – The ARN of the Table Stream. Only available when
stream_enabled = truestream_enabled (pulumi.Input[bool]) – Indicates whether Streams are to be enabled (true) or disabled (false).
stream_label (pulumi.Input[str]) – A timestamp, in ISO 8601 format, for this stream. Note that this timestamp is not a unique identifier for the stream on its own. However, the combination of AWS customer ID, table name and this field is guaranteed to be unique. It can be used for creating CloudWatch Alarms. Only available when
stream_enabled = truestream_view_type (pulumi.Input[str]) – When an item in the table is modified, StreamViewType determines what information is written to the table’s stream. Valid values are
KEYS_ONLY,NEW_IMAGE,OLD_IMAGE,NEW_AND_OLD_IMAGES.tags (pulumi.Input[dict]) – A map of tags to populate on the created table.
ttl (pulumi.Input[dict]) – Defines ttl, has two properties, and can only be specified once:
write_capacity (pulumi.Input[float]) – The number of write units for this index. Must be set if billing_mode is set to PROVISIONED.
The attributes object supports the following:
name(pulumi.Input[str]) - The name of the indextype(pulumi.Input[str]) - Attribute type, which must be a scalar type:S,N, orBfor (S)tring, (N)umber or (B)inary data
The global_secondary_indexes object supports the following:
hash_key(pulumi.Input[str]) - The name of the hash key in the index; must be defined as an attribute in the resource.name(pulumi.Input[str]) - The name of the indexnonKeyAttributes(pulumi.Input[list]) - Only required withINCLUDEas a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.projectionType(pulumi.Input[str]) - One ofALL,INCLUDEorKEYS_ONLYwhereALLprojects every attribute into the index,KEYS_ONLYprojects just the hash and range key into the index, andINCLUDEprojects only the keys specified in the _non_keyattributes parameter.range_key(pulumi.Input[str]) - The name of the range key; must be definedread_capacity(pulumi.Input[float]) - The number of read units for this index. Must be set if billing_mode is set to PROVISIONED.write_capacity(pulumi.Input[float]) - The number of write units for this index. Must be set if billing_mode is set to PROVISIONED.
The local_secondary_indexes object supports the following:
name(pulumi.Input[str]) - The name of the indexnonKeyAttributes(pulumi.Input[list]) - Only required withINCLUDEas a projection type; a list of attributes to project into the index. These do not need to be defined as attributes on the table.projectionType(pulumi.Input[str]) - One ofALL,INCLUDEorKEYS_ONLYwhereALLprojects every attribute into the index,KEYS_ONLYprojects just the hash and range key into the index, andINCLUDEprojects only the keys specified in the _non_keyattributes parameter.range_key(pulumi.Input[str]) - The name of the range key; must be defined
The point_in_time_recovery object supports the following:
enabled(pulumi.Input[bool]) - Indicates whether ttl is enabled (true) or disabled (false).
The replicas object supports the following:
regionName(pulumi.Input[str]) - Region name of the replica.
The server_side_encryption object supports the following:
enabled(pulumi.Input[bool]) - Indicates whether ttl is enabled (true) or disabled (false).kms_key_arn(pulumi.Input[str]) - The ARN of the CMK that should be used for the AWS KMS encryption. This attribute should only be specified if the key is different from the default DynamoDB CMK,alias/aws/dynamodb.
The ttl object supports the following:
attributeName(pulumi.Input[str]) - The name of the table attribute to store the TTL timestamp in.enabled(pulumi.Input[bool]) - Indicates whether ttl is enabled (true) or disabled (false).
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_aws.dynamodb.TableItem(resource_name, opts=None, hash_key=None, item=None, range_key=None, table_name=None, __props__=None, __name__=None, __opts__=None)¶ Provides a DynamoDB table item resource
- Note: This resource is not meant to be used for managing large amounts of data in your table, it is not designed to scale.
You should perform regular backups of all data in the table, see AWS docs for more.
import pulumi import pulumi_aws as aws example_table = aws.dynamodb.Table("exampleTable", attributes=[{ "name": "exampleHashKey", "type": "S", }], hash_key="exampleHashKey", read_capacity=10, write_capacity=10) example_table_item = aws.dynamodb.TableItem("exampleTableItem", hash_key=example_table.hash_key, item="""{ "exampleHashKey": {"S": "something"}, "one": {"N": "11111"}, "two": {"N": "22222"}, "three": {"N": "33333"}, "four": {"N": "44444"} } """, table_name=example_table.name)
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
hash_key (pulumi.Input[str]) – Hash key to use for lookups and identification of the item
item (pulumi.Input[str]) – JSON representation of a map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
range_key (pulumi.Input[str]) – Range key to use for lookups and identification of the item. Required if there is range key defined in the table.
table_name (pulumi.Input[str]) – The name of the table to contain the item.
hash_key: pulumi.Output[str] = None¶Hash key to use for lookups and identification of the item
item: pulumi.Output[str] = None¶JSON representation of a map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
range_key: pulumi.Output[str] = None¶Range key to use for lookups and identification of the item. Required if there is range key defined in the table.
table_name: pulumi.Output[str] = None¶The name of the table to contain the item.
- static
get(resource_name, id, opts=None, hash_key=None, item=None, range_key=None, table_name=None)¶ Get an existing TableItem resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
hash_key (pulumi.Input[str]) – Hash key to use for lookups and identification of the item
item (pulumi.Input[str]) – JSON representation of a map of attribute name/value pairs, one for each attribute. Only the primary key attributes are required; you can optionally provide other attribute name-value pairs for the item.
range_key (pulumi.Input[str]) – Range key to use for lookups and identification of the item. Required if there is range key defined in the table.
table_name (pulumi.Input[str]) – The name of the table to contain the item.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
pulumi_aws.dynamodb.get_table(name=None, server_side_encryption=None, tags=None, opts=None)¶Provides information about a DynamoDB table.
import pulumi import pulumi_aws as aws table_name = aws.dynamodb.get_table(name="tableName")
- Parameters
name (str) – The name of the DynamoDB table.
The server_side_encryption object supports the following:
enabled(bool)kms_key_arn(str)