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.

ContentTypeProfileConfig

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

type ContentTypeProfileConfig struct { ContentTypeProfiles *ContentTypeProfiles `type:"structure"` ForwardWhenContentTypeIsUnknown *bool `type:"boolean" required:"true"` }

The configuration for a field-level encryption content type-profile mapping.

ContentTypeProfiles

Field-level encryption content type-profile.

ForwardWhenContentTypeIsUnknown

Type: *bool

The setting in a field-level encryption content type-profile mapping that specifies what to do when an unknown content type is provided for the profile. If true, content is forwarded without being encrypted when the content type is unknown. If false (the default), an error is returned when the content type is unknown.

ForwardWhenContentTypeIsUnknown is a required field

Method

GoString

func (s ContentTypeProfileConfig) GoString() string

GoString returns the string representation

SetContentTypeProfiles

func (s *ContentTypeProfileConfig) SetContentTypeProfiles(v *ContentTypeProfiles) *ContentTypeProfileConfig

SetContentTypeProfiles sets the ContentTypeProfiles field's value.

SetForwardWhenContentTypeIsUnknown

func (s *ContentTypeProfileConfig) SetForwardWhenContentTypeIsUnknown(v bool) *ContentTypeProfileConfig

SetForwardWhenContentTypeIsUnknown sets the ForwardWhenContentTypeIsUnknown field's value.

String

func (s ContentTypeProfileConfig) String() string

String returns the string representation

Validate

func (s *ContentTypeProfileConfig) Validate() error

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

On this page: