aws-cdk-lib.aws_cloudfront.CloudFrontWebDistributionAttributes

interface CloudFrontWebDistributionAttributes

LanguageType name
.NETAmazon.CDK.AWS.CloudFront.CloudFrontWebDistributionAttributes
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awscloudfront#CloudFrontWebDistributionAttributes
Javasoftware.amazon.awscdk.services.cloudfront.CloudFrontWebDistributionAttributes
Pythonaws_cdk.aws_cloudfront.CloudFrontWebDistributionAttributes
TypeScript (source)aws-cdk-lib » aws_cloudfront » CloudFrontWebDistributionAttributes

Attributes used to import a Distribution.

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 cloudFrontWebDistributionAttributes: cloudfront.CloudFrontWebDistributionAttributes = {
  distributionId: 'distributionId',
  domainName: 'domainName',
};

Properties

NameTypeDescription
distributionIdstringThe distribution ID for this distribution.
domainNamestringThe 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.