TagArgs

data class TagArgs(val key: Output<String>? = null, val resourceArn: Output<String>? = null, val value: Output<String>? = null) : ConvertibleToJava<TagArgs>

Manages an individual DynamoDB resource tag. This resource should only be used in cases where DynamoDB resources are created outside the provider (e.g., Table replicas in other regions).

NOTE: This tagging resource should not be combined with the resource for managing the parent resource. For example, using aws.dynamodb.Table and aws.dynamodb.Tag to manage tags of the same DynamoDB Table in the same region will cause a perpetual difference where the aws_dynamodb_cluster resource will try to remove the tag being added by the aws.dynamodb.Tag resource. NOTE: This tagging resource does not use the provider ignore_tags configuration.

Import

aws_dynamodb_tag can be imported by using the DynamoDB resource identifier and key, separated by a comma (,), e.g.,

$ pulumi import aws:dynamodb/tag:Tag example arn:aws:dynamodb:us-east-1:123456789012:table/example,Name

Constructors

Link copied to clipboard
constructor(key: Output<String>? = null, resourceArn: Output<String>? = null, value: Output<String>? = null)

Properties

Link copied to clipboard
val key: Output<String>? = null

Tag name.

Link copied to clipboard
val resourceArn: Output<String>? = null

Amazon Resource Name (ARN) of the DynamoDB resource to tag.

Link copied to clipboard
val value: Output<String>? = null

Tag value.

Functions

Link copied to clipboard
open override fun toJava(): TagArgs