aws-cdk-lib.aws_events_targets.Tag

interface Tag

LanguageType name
.NETAmazon.CDK.AWS.Events.Targets.Tag
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awseventstargets#Tag
Javasoftware.amazon.awscdk.services.events.targets.Tag
Pythonaws_cdk.aws_events_targets.Tag
TypeScript (source)aws-cdk-lib » aws_events_targets » Tag

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.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_events_targets as events_targets } from 'aws-cdk-lib';
const tag: events_targets.Tag = {
  key: 'key',
  value: 'value',
};

Properties

NameTypeDescription
keystringKey is the name of the tag.
valuestringValue is the metadata contents of the tag.

key

Type: string

Key is the name of the tag.


value

Type: string

Value is the metadata contents of the tag.