Tag

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

Bases: object

Metadata that you apply to a resource to help categorize and organize the resource.

Each tag consists of a key and an optional value, both of which you define.

Parameters:
  • key (str) – Key is the name of the tag.

  • value (str) – Value is the metadata contents of the tag.

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_events_targets as events_targets

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

Attributes

key

Key is the name of the tag.

value

Value is the metadata contents of the tag.