/
CfnRule_TagProperty.go
34 lines (31 loc) · 1.27 KB
/
CfnRule_TagProperty.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package awsevents
// 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 "github.com/aws/aws-cdk-go/awscdk"
//
// tagProperty := &TagProperty{
// Key: jsii.String("key"),
// Value: jsii.String("value"),
// }
//
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html
//
type CfnRule_TagProperty struct {
// A string you can use to assign a value.
//
// 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
//
Key *string `field:"optional" json:"key" yaml:"key"`
// The value for the specified tag key.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-events-rule-tag.html#cfn-events-rule-tag-value
//
Value *string `field:"optional" json:"value" yaml:"value"`
}