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.

StreamingDistributionSummary

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

type StreamingDistributionSummary struct { ARN *string `type:"string" required:"true"` Aliases *Aliases `type:"structure" required:"true"` Comment *string `type:"string" required:"true"` DomainName *string `type:"string" required:"true"` Enabled *bool `type:"boolean" required:"true"` Id *string `type:"string" required:"true"` LastModifiedTime *time.Time `type:"timestamp" required:"true"` PriceClass *string `type:"string" required:"true" enum:"PriceClass"` S3Origin *S3Origin `type:"structure" required:"true"` Status *string `type:"string" required:"true"` TrustedSigners *TrustedSigners `type:"structure" required:"true"` }

A summary of the information for an Amazon CloudFront streaming distribution.

ARN

Type: *string

The ARN (Amazon Resource Name) for the streaming distribution. For example: arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5, where 123456789012 is your AWS account ID.

ARN is a required field

Aliases

A complex type that contains information about CNAMEs (alternate domain names), if any, for this distribution.

Comment

Type: *string

The comment originally specified when this distribution was created.

Comment is a required field

DomainName

Type: *string

The domain name corresponding to the distribution, for example, d111111abcdef8.cloudfront.net.

DomainName is a required field

Enabled

Type: *bool

Whether the distribution is enabled to accept end user requests for content.

Enabled is a required field

Id

Type: *string

The identifier for the distribution, for example, EDFDVBD632BHDS5.

Id is a required field

LastModifiedTime

Type: *time.Time

The date and time the distribution was last modified.

LastModifiedTime is a required field

PriceClass

Type: *string

PriceClass is a required field

S3Origin

A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.

Status

Type: *string

Indicates the current status of the distribution. When the status is Deployed, the distribution's information is fully propagated throughout the Amazon CloudFront system.

Status is a required field

TrustedSigners

A complex type that specifies the AWS accounts, if any, that you want to allow to create signed URLs for private content.

If you want to require signed URLs in requests for objects in the target origin that match the PathPattern for this cache behavior, specify true for Enabled, and specify the applicable values for Quantity and Items. For more information, see Serving Private Content through CloudFront (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the Amazon Amazon CloudFront Developer Guide.

If you don't want to require signed URLs in requests for objects that match PathPattern, specify false for Enabled and 0 for Quantity. Omit Items.

To add, change, or remove one or more trusted signers, change Enabled to true (if it's currently false), change Quantity as applicable, and specify all of the trusted signers that you want to include in the updated distribution.

For more information about updating the distribution configuration, see DistributionConfig .

Method

GoString

func (s StreamingDistributionSummary) GoString() string

GoString returns the string representation

SetARN

func (s *StreamingDistributionSummary) SetARN(v string) *StreamingDistributionSummary

SetARN sets the ARN field's value.

SetAliases

func (s *StreamingDistributionSummary) SetAliases(v *Aliases) *StreamingDistributionSummary

SetAliases sets the Aliases field's value.

SetComment

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

SetComment sets the Comment field's value.

SetDomainName

func (s *StreamingDistributionSummary) SetDomainName(v string) *StreamingDistributionSummary

SetDomainName sets the DomainName field's value.

SetEnabled

func (s *StreamingDistributionSummary) SetEnabled(v bool) *StreamingDistributionSummary

SetEnabled sets the Enabled field's value.

SetId

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

SetId sets the Id field's value.

SetLastModifiedTime

func (s *StreamingDistributionSummary) SetLastModifiedTime(v time.Time) *StreamingDistributionSummary

SetLastModifiedTime sets the LastModifiedTime field's value.

SetPriceClass

func (s *StreamingDistributionSummary) SetPriceClass(v string) *StreamingDistributionSummary

SetPriceClass sets the PriceClass field's value.

SetS3Origin

func (s *StreamingDistributionSummary) SetS3Origin(v *S3Origin) *StreamingDistributionSummary

SetS3Origin sets the S3Origin field's value.

SetStatus

func (s *StreamingDistributionSummary) SetStatus(v string) *StreamingDistributionSummary

SetStatus sets the Status field's value.

SetTrustedSigners

func (s *StreamingDistributionSummary) SetTrustedSigners(v *TrustedSigners) *StreamingDistributionSummary

SetTrustedSigners sets the TrustedSigners field's value.

String

func (s StreamingDistributionSummary) String() string

String returns the string representation

On this page: