interface TrustedSignersProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.CloudFront.CfnStreamingDistribution.TrustedSignersProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CfnStreamingDistribution_TrustedSignersProperty |
Java | software.amazon.awscdk.services.cloudfront.CfnStreamingDistribution.TrustedSignersProperty |
Python | aws_cdk.aws_cloudfront.CfnStreamingDistribution.TrustedSignersProperty |
TypeScript | aws-cdk-lib » aws_cloudfront » CfnStreamingDistribution » TrustedSignersProperty |
A list of AWS accounts whose public keys CloudFront can use to verify the signatures of signed URLs and signed cookies.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_cloudfront as cloudfront } from 'aws-cdk-lib';
const trustedSignersProperty: cloudfront.CfnStreamingDistribution.TrustedSignersProperty = {
enabled: false,
// the properties below are optional
awsAccountNumbers: ['awsAccountNumbers'],
};
Properties
Name | Type | Description |
---|---|---|
enabled | boolean | IResolvable | This field is true if any of the AWS accounts in the list are configured as trusted signers. |
aws | string[] | An AWS account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies. |
enabled
Type:
boolean |
IResolvable
This field is true
if any of the AWS accounts in the list are configured as trusted signers.
If not, this field is false
.
awsAccountNumbers?
Type:
string[]
(optional)
An AWS account number that contains active CloudFront key pairs that CloudFront can use to verify the signatures of signed URLs and signed cookies.
If the AWS account that owns the key pairs is the same account that owns the CloudFront distribution, the value of this field is self
.