interface Tag
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Events.Targets.Tag |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseventstargets#Tag |
Java | software.amazon.awscdk.services.events.targets.Tag |
Python | aws_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
Name | Type | Description |
---|---|---|
key | string | Key is the name of the tag. |
value | string | Value 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.