AWS SDK for .NET Documentation
UrlTrustedSigners Class
AmazonAmazon.CloudFront_2012_03_15.ModelUrlTrustedSigners Did this page help you?   Yes   No    Tell us about it...
The UrlTrustedSigners complex type specifies any AWS accounts you want to permit to create signed URLs for private content. To specify who can sign URLs
  1. Enable yourself to be a trusted signer (you must explicitly give yourself permission). EnableSelf
  2. Add an AwsAccountNumber for each AWS account (other than your own) that you want to give signing authority (limit of five). Remove the dashes from the account number. AwsAccountNumbers
If you want the distribution to use signed URLs, include this element in the DistributionConfig for your CloudFront distribution either while creating the distribution or by updating the distribution's config. For more information, please visit: http://docs.amazonwebservices.com/AmazonCloudFront/latest/APIReference/DistributionConfigDatatype.html
Declaration Syntax
C#
[SerializableAttribute]
public class UrlTrustedSigners
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
UrlTrustedSigners()()()()
Initializes a new instance of the UrlTrustedSigners class

AwsAccountNumbers
Gets and sets the AwsAccountNumbers property. A list of the AwsAccountNumbers for each AWS account (other than your own) that you want to give URL signing authority to (limit of five).

EnableSelf
Gets and sets the EnableSelf property. Whether your own AWS account is authorized to sign URLs. Default - your AWS account is not authorized to sign URLs.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
ToString()()()()
Creates an string representation of the UrlTrustedSigners object by overriding the default Object ToString method. This string can be concatenated to the distribution config xml that is sent to CloudFront while creating a distribution or updating a distribution's configuration.
(Overrides Object.ToString()()()().)
WithAwsAccountNumbers(array<String>[]()[][]) Obsolete.
Sets the AwsAccountNumbers property. Please provide the AWS account number without dashes. If you set more than 5 trusted signers for URLs, a
CopyC#
TooManyTrustedSigners
exception will be returned by CloudFront.

WithEnableSelf(Boolean) Obsolete.
Sets the EnableSelf property

Inheritance Hierarchy
Object
UrlTrustedSigners
See Also
SetDistributionConfig()()()()
CreateDistribution()()()()
CloudFrontDistributionConfig

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)