Interface CfnRule.TagProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRule.TagProperty.Jsii$Proxy
Enclosing class:
CfnRule

@Stability(Stable) public static interface CfnRule.TagProperty extends software.amazon.jsii.JsiiSerializable
A key-value pair associated with an ECS Target of an EventBridge rule.

The tag will be propagated to ECS by EventBridge when starting an ECS task based on a matched event.

Currently, tags are only available when using ECS with EventBridge .

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.events.*;
 TagProperty tagProperty = TagProperty.builder()
         .key("key")
         .value("value")
         .build();
 

See Also: