Documentation
¶
Index ¶
- type Alias
- func (r *Alias) AWSCloudFormationType() string
- func (r *Alias) DeletionPolicy() policies.DeletionPolicy
- func (r *Alias) DependsOn() []string
- func (r Alias) MarshalJSON() ([]byte, error)
- func (r *Alias) Metadata() map[string]interface{}
- func (r *Alias) SetDeletionPolicy(policy policies.DeletionPolicy)
- func (r *Alias) SetDependsOn(dependencies []string)
- func (r *Alias) SetMetadata(metadata map[string]interface{})
- func (r *Alias) UnmarshalJSON(b []byte) error
- type Key
- func (r *Key) AWSCloudFormationType() string
- func (r *Key) DeletionPolicy() policies.DeletionPolicy
- func (r *Key) DependsOn() []string
- func (r Key) MarshalJSON() ([]byte, error)
- func (r *Key) Metadata() map[string]interface{}
- func (r *Key) SetDeletionPolicy(policy policies.DeletionPolicy)
- func (r *Key) SetDependsOn(dependencies []string)
- func (r *Key) SetMetadata(metadata map[string]interface{})
- func (r *Key) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alias ¶
type Alias struct { // AliasName AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-alias.html#cfn-kms-alias-aliasname AliasName string `json:"AliasName,omitempty"` // TargetKeyId AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-alias.html#cfn-kms-alias-targetkeyid TargetKeyId string `json:"TargetKeyId,omitempty"` // contains filtered or unexported fields }
Alias AWS CloudFormation Resource (AWS::KMS::Alias) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-alias.html
func (*Alias) AWSCloudFormationType ¶
AWSCloudFormationType returns the AWS CloudFormation resource type
func (*Alias) DeletionPolicy ¶
func (r *Alias) 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 (*Alias) 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 (Alias) MarshalJSON ¶
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*Alias) Metadata ¶
Metadata returns the metadata associated with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html
func (*Alias) SetDeletionPolicy ¶
func (r *Alias) 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 (*Alias) 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 (*Alias) SetMetadata ¶
SetMetadata enables you to associate structured data with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html
func (*Alias) UnmarshalJSON ¶
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.
type Key ¶
type Key struct { // Description AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-description Description string `json:"Description,omitempty"` // EnableKeyRotation AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-enablekeyrotation EnableKeyRotation bool `json:"EnableKeyRotation,omitempty"` // Enabled AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-enabled Enabled bool `json:"Enabled,omitempty"` // KeyPolicy AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-keypolicy KeyPolicy interface{} `json:"KeyPolicy,omitempty"` // KeyUsage AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-keyusage KeyUsage string `json:"KeyUsage,omitempty"` // PendingWindowInDays AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-pendingwindowindays PendingWindowInDays int `json:"PendingWindowInDays,omitempty"` // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html#cfn-kms-key-tags Tags []tags.Tag `json:"Tags,omitempty"` // contains filtered or unexported fields }
Key AWS CloudFormation Resource (AWS::KMS::Key) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-kms-key.html
func (*Key) AWSCloudFormationType ¶
AWSCloudFormationType returns the AWS CloudFormation resource type
func (*Key) DeletionPolicy ¶
func (r *Key) 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 (*Key) 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 (Key) MarshalJSON ¶
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*Key) Metadata ¶
Metadata returns the metadata associated with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html
func (*Key) SetDeletionPolicy ¶
func (r *Key) 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 (*Key) 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 (*Key) SetMetadata ¶
SetMetadata enables you to associate structured data with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html
func (*Key) UnmarshalJSON ¶
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.