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.

OriginAccessIdentitySummary

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

type OriginAccessIdentitySummary struct { Comment *string `type:"string" required:"true"` Id *string `type:"string" required:"true"` S3CanonicalUserId *string `type:"string" required:"true"` }

Summary of the information about a CloudFront origin access identity.

Comment

Type: *string

The comment for this origin access identity, as originally specified when created.

Comment is a required field

Id

Type: *string

The ID for the origin access identity. For example: E74FTE3AJFJ256A.

Id is a required field

S3CanonicalUserId

Type: *string

The Amazon S3 canonical user ID for the origin access identity, which you use when giving the origin access identity read permission to an object in Amazon S3.

S3CanonicalUserId is a required field

Method

GoString

func (s OriginAccessIdentitySummary) GoString() string

GoString returns the string representation

SetComment

func (s *OriginAccessIdentitySummary) SetComment(v string) *OriginAccessIdentitySummary

SetComment sets the Comment field's value.

SetId

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

SetId sets the Id field's value.

SetS3CanonicalUserId

func (s *OriginAccessIdentitySummary) SetS3CanonicalUserId(v string) *OriginAccessIdentitySummary

SetS3CanonicalUserId sets the S3CanonicalUserId field's value.

String

func (s OriginAccessIdentitySummary) String() string

String returns the string representation

On this page: