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.

EncryptionEntity

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

type EncryptionEntity struct { FieldPatterns *FieldPatterns `type:"structure" required:"true"` ProviderId *string `type:"string" required:"true"` PublicKeyId *string `type:"string" required:"true"` }

Complex data type for field-level encryption profiles that includes the encryption key and field pattern specifications.

FieldPatterns

A complex data type that includes the field patterns to match for field-level encryption.

ProviderId

Type: *string

The provider associated with the public key being used for encryption. This value must also be provided with the private key for applications to be able to decrypt data.

ProviderId is a required field

PublicKeyId

Type: *string

The public key associated with a set of field-level encryption patterns, to be used when encrypting the fields that match the patterns.

PublicKeyId is a required field

Method

GoString

func (s EncryptionEntity) GoString() string

GoString returns the string representation

SetFieldPatterns

func (s *EncryptionEntity) SetFieldPatterns(v *FieldPatterns) *EncryptionEntity

SetFieldPatterns sets the FieldPatterns field's value.

SetProviderId

func (s *EncryptionEntity) SetProviderId(v string) *EncryptionEntity

SetProviderId sets the ProviderId field's value.

SetPublicKeyId

func (s *EncryptionEntity) SetPublicKeyId(v string) *EncryptionEntity

SetPublicKeyId sets the PublicKeyId field's value.

String

func (s EncryptionEntity) String() string

String returns the string representation

Validate

func (s *EncryptionEntity) Validate() error

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

On this page: