Interface CfnRule.ITagProperty
A key-value pair associated with an ECS Target of an EventBridge rule.
Namespace: Amazon.CDK.AWS.Events
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ITagProperty
Syntax (vb)
Public Interface ITagProperty
Remarks
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 .
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Events;
var tagProperty = new TagProperty {
Key = "key",
Value = "value"
};
Synopsis
Properties
Key | A string you can use to assign a value. |
Value | The value for the specified tag key. |
Properties
Key
A string you can use to assign a value.
virtual string Key { get; }
Property Value
System.String
Remarks
The combination of tag keys and values can help you organize and categorize your resources.
Value
The value for the specified tag key.
virtual string Value { get; }
Property Value
System.String