AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

EncryptionKey

import "github.com/aws/aws-sdk-go/service/codepipeline"

type EncryptionKey struct { Id *string `locationName:"id" min:"1" type:"string" required:"true"` Type *string `locationName:"type" type:"string" required:"true" enum:"EncryptionKeyType"` }

Represents information about the key used to encrypt data in the artifact store, such as an AWS Key Management Service (AWS KMS) key.

Id

Type: *string

The ID used to identify the key. For an AWS KMS key, this is the key ID or key ARN.

Id is a required field

Type

Type: *string

The type of encryption key, such as an AWS Key Management Service (AWS KMS) key. When creating or updating a pipeline, the value must be set to 'KMS'.

Type is a required field

Method

GoString

func (s EncryptionKey) GoString() string

GoString returns the string representation

SetId

func (s *EncryptionKey) SetId(v string) *EncryptionKey

SetId sets the Id field's value.

SetType

func (s *EncryptionKey) SetType(v string) *EncryptionKey

SetType sets the Type field's value.

String

func (s EncryptionKey) String() string

String returns the string representation

Validate

func (s *EncryptionKey) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: