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.

GetCorsPolicyOutput

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

type GetCorsPolicyOutput struct { CorsPolicy []*CorsRule `min:"1" type:"list" required:"true"` }

CorsPolicy

A rule for a CORS policy. You can add up to 100 rules to a CORS policy. If more than one rule applies, the service uses the first applicable rule listed.

Method

GoString

func (s GetCorsPolicyOutput) GoString() string

GoString returns the string representation

SetCorsPolicy

func (s *GetCorsPolicyOutput) SetCorsPolicy(v []*CorsRule) *GetCorsPolicyOutput

SetCorsPolicy sets the CorsPolicy field's value.

String

func (s GetCorsPolicyOutput) String() string

String returns the string representation

On this page: