Documentation ¶
Index ¶
- type Tag
- func (r *Tag) AWSCloudFormationType() string
- func (r *Tag) DeletionPolicy() policies.DeletionPolicy
- func (r *Tag) DependsOn() []string
- func (r *Tag) Metadata() map[string]interface{}
- func (r *Tag) SetDeletionPolicy(policy policies.DeletionPolicy)
- func (r *Tag) SetDependsOn(dependencies []string)
- func (r *Tag) SetMetadata(metadata map[string]interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tag ¶
type Tag struct { // Key AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#cfn-resource-tags-key Key string `json:"Key,omitempty"` // Value AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html#cfn-resource-tags-value Value string `json:"Value,omitempty"` // contains filtered or unexported fields }
Tag AWS CloudFormation Resource (Tag) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html
func (*Tag) AWSCloudFormationType ¶
AWSCloudFormationType returns the AWS CloudFormation resource type
func (*Tag) DeletionPolicy ¶
func (r *Tag) DeletionPolicy() policies.DeletionPolicy
DeletionPolicy returns the AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (*Tag) DependsOn ¶
DependsOn returns a slice of logical ID names this resource depends on. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html
func (*Tag) Metadata ¶
Metadata returns the metadata associated with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html
func (*Tag) SetDeletionPolicy ¶
func (r *Tag) SetDeletionPolicy(policy policies.DeletionPolicy)
SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (*Tag) SetDependsOn ¶
SetDependsOn specify that the creation of this resource follows another. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html
func (*Tag) SetMetadata ¶
SetMetadata enables you to associate structured data with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html