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.

CookieNames

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

type CookieNames struct { Items []*string `locationNameList:"Name" type:"list"` Quantity *int64 `type:"integer" required:"true"` }

A complex type that specifies whether you want CloudFront to forward cookies to the origin and, if so, which ones. For more information about forwarding cookies to the origin, see How CloudFront Forwards, Caches, and Logs Cookies (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Cookies.html) in the Amazon CloudFront Developer Guide.

Items

Type: []*string

A complex type that contains one Name element for each cookie that you want CloudFront to forward to the origin for this cache behavior.

Quantity

Type: *int64

The number of different cookies that you want CloudFront to forward to the origin for this cache behavior.

Quantity is a required field

Method

GoString

func (s CookieNames) GoString() string

GoString returns the string representation

SetItems

func (s *CookieNames) SetItems(v []*string) *CookieNames

SetItems sets the Items field's value.

SetQuantity

func (s *CookieNames) SetQuantity(v int64) *CookieNames

SetQuantity sets the Quantity field's value.

String

func (s CookieNames) String() string

String returns the string representation

Validate

func (s *CookieNames) Validate() error

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

On this page: