@Stability(value=Stable)
public static interface CfnRule.TagProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRule.TagProperty.Builder
A builder for
CfnRule.TagProperty |
static class |
CfnRule.TagProperty.Jsii$Proxy
An implementation for
CfnRule.TagProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRule.TagProperty.Builder |
builder() |
default String |
getKey()
A string you can use to assign a value.
|
default String |
getValue()
The value for the specified tag key.
|
@Stability(value=Stable) @Nullable default String getKey()
The combination of tag keys and values can help you organize and categorize your resources.
@Stability(value=Stable) @Nullable default String getValue()
@Stability(value=Stable) static CfnRule.TagProperty.Builder builder()
CfnRule.TagProperty.Builder of CfnRule.TagPropertyCopyright © 2022. All rights reserved.