interface DistributionAttributes
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.CloudFront.DistributionAttributes |
![]() | software.amazon.awscdk.services.cloudfront.DistributionAttributes |
![]() | aws_cdk.aws_cloudfront.DistributionAttributes |
![]() | @aws-cdk/aws-cloudfront » DistributionAttributes |
Attributes used to import a Distribution.
Example
// Using a reference to an imported Distribution
const distribution = cloudfront.Distribution.fromDistributionAttributes(this, 'ImportedDist', {
domainName: 'd111111abcdef8.cloudfront.net',
distributionId: '012345ABCDEF',
});
Properties
Name | Type | Description |
---|---|---|
distribution | string | The distribution ID for this distribution. |
domain | string | The generated domain name of the Distribution, such as d111111abcdef8.cloudfront.net. |
distributionId
Type:
string
The distribution ID for this distribution.
domainName
Type:
string
The generated domain name of the Distribution, such as d111111abcdef8.cloudfront.net.