Tag

class aws_cdk.aws_s3.Tag(*, key, value)

Bases: object

Tag.

Parameters
  • key (str) – key to e tagged.

  • value (str) – additional value.

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_s3 as s3

tag = s3.Tag(
    key="key",
    value="value"
)

Attributes

key

key to e tagged.

Return type

str

value

additional value.

Return type

str