aws-cdk-lib.aws_events.CfnEventBus.TagEntryProperty

interface TagEntryProperty

LanguageType name
.NETAmazon.CDK.AWS.Events.CfnEventBus.TagEntryProperty
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsevents#CfnEventBus_TagEntryProperty
Javasoftware.amazon.awscdk.services.events.CfnEventBus.TagEntryProperty
Pythonaws_cdk.aws_events.CfnEventBus.TagEntryProperty
TypeScript aws-cdk-lib » aws_events » CfnEventBus » TagEntryProperty

A key-value pair associated with an AWS resource.

In EventBridge, rules and event buses support tagging.

Example

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

Properties

NameTypeDescription
keystringA string you can use to assign a value.
valuestringThe value for the specified tag key.

key

Type: string

A string you can use to assign a value.

The combination of tag keys and values can help you organize and categorize your resources.


value

Type: string

The value for the specified tag key.