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.

ActiveTrustedSigners

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

type ActiveTrustedSigners struct { Enabled *bool `type:"boolean" required:"true"` Items []*Signer `locationNameList:"Signer" type:"list"` Quantity *int64 `type:"integer" required:"true"` }

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.

Enabled

Type: *bool

Enabled is true if any of the AWS accounts listed in the TrustedSigners complex type for this RTMP distribution have active CloudFront key pairs. If not, Enabled is false.

For more information, see ActiveTrustedSigners.

Enabled is a required field

Items

A complex type that lists the AWS accounts that were included in the TrustedSigners complex type, as well as their active CloudFront key pair IDs, if any.

Quantity

Type: *int64

A complex type that contains one Signer complex type for each trusted signer specified in the TrustedSigners complex type.

For more information, see ActiveTrustedSigners.

Quantity is a required field

Method

GoString

func (s ActiveTrustedSigners) GoString() string

GoString returns the string representation

SetEnabled

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

SetEnabled sets the Enabled field's value.

SetItems

func (s *ActiveTrustedSigners) SetItems(v []*Signer) *ActiveTrustedSigners

SetItems sets the Items field's value.

SetQuantity

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

SetQuantity sets the Quantity field's value.

String

func (s ActiveTrustedSigners) String() string

String returns the string representation

On this page: