kms

package
v3.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 29, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

func (r *Alias) AWSCloudFormationType() string

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

func (r *Alias) DependsOn() []string

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

func (r Alias) MarshalJSON() ([]byte, error)

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

func (r *Alias) Metadata() map[string]interface{}

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

func (r *Alias) SetDependsOn(dependencies []string)

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

func (r *Alias) SetMetadata(metadata map[string]interface{})

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

func (r *Alias) UnmarshalJSON(b []byte) error

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

func (r *Key) AWSCloudFormationType() string

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

func (r *Key) DependsOn() []string

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

func (r Key) MarshalJSON() ([]byte, error)

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

func (r *Key) Metadata() map[string]interface{}

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

func (r *Key) SetDependsOn(dependencies []string)

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

func (r *Key) SetMetadata(metadata map[string]interface{})

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

func (r *Key) UnmarshalJSON(b []byte) error

UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL