Show / Hide Table of Contents

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 CfnRule.ITagProperty
Syntax (vb)
Public Interface CfnRule.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.

string? Key { get; }
Property Value

string

Remarks

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html#cfn-events-rule-tag-key

Value

The value for the specified tag key.

string? Value { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html#cfn-events-rule-tag-value

Back to top Generated by DocFX