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.

StreamingDistribution

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

type StreamingDistribution struct { ARN *string `type:"string" required:"true"` ActiveTrustedSigners *ActiveTrustedSigners `type:"structure" required:"true"` DomainName *string `type:"string" required:"true"` Id *string `type:"string" required:"true"` LastModifiedTime *time.Time `type:"timestamp"` Status *string `type:"string" required:"true"` StreamingDistributionConfig *StreamingDistributionConfig `type:"structure" required:"true"` }

A streaming distribution.

ARN

Type: *string

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

ARN is a required field

ActiveTrustedSigners

A complex type that lists the AWS accounts, if any, that you included in the TrustedSigners complex type for this distribution. These are the accounts that you want to allow to create signed URLs for private content.

The Signer complex type lists the AWS account number of the trusted signer or self if the signer is the AWS account that created the distribution. The Signer element also includes the IDs of any active CloudFront key pairs that are associated with the trusted signer's AWS account. If no KeyPairId element appears for a Signer, that signer can't create signed URLs.

For more information, see Serving Private Content through CloudFront (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html) in the Amazon CloudFront Developer Guide.

DomainName

Type: *string

The domain name that corresponds to the streaming distribution, for example, s5c39gqb8ow64r.cloudfront.net.

DomainName is a required field

Id

Type: *string

The identifier for the RTMP distribution. For example: EGTXBD79EXAMPLE.

Id is a required field

LastModifiedTime

Type: *time.Time

The date and time that the distribution was last modified.

Status

Type: *string

The current status of the RTMP distribution. When the status is Deployed, the distribution's information is propagated to all CloudFront edge locations.

Status is a required field

StreamingDistributionConfig

The RTMP distribution's configuration information.

Method

GoString

func (s StreamingDistribution) GoString() string

GoString returns the string representation

SetARN

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

SetARN sets the ARN field's value.

SetActiveTrustedSigners

func (s *StreamingDistribution) SetActiveTrustedSigners(v *ActiveTrustedSigners) *StreamingDistribution

SetActiveTrustedSigners sets the ActiveTrustedSigners field's value.

SetDomainName

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

SetDomainName sets the DomainName field's value.

SetId

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

SetId sets the Id field's value.

SetLastModifiedTime

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

SetLastModifiedTime sets the LastModifiedTime field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetStreamingDistributionConfig

func (s *StreamingDistribution) SetStreamingDistributionConfig(v *StreamingDistributionConfig) *StreamingDistribution

SetStreamingDistributionConfig sets the StreamingDistributionConfig field's value.

String

func (s StreamingDistribution) String() string

String returns the string representation

On this page: