CloudFrontWebDistributionAttributes

class aws_cdk.aws_cloudfront.CloudFrontWebDistributionAttributes(*, distribution_id, domain_name)

Bases: object

Attributes used to import a Distribution.

Parameters:
  • distribution_id (str) – The distribution ID for this distribution.

  • domain_name (str) – The generated domain name of the Distribution, such as d111111abcdef8.cloudfront.net.

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_cloudfront as cloudfront

cloud_front_web_distribution_attributes = cloudfront.CloudFrontWebDistributionAttributes(
    distribution_id="distributionId",
    domain_name="domainName"
)

Attributes

distribution_id

The distribution ID for this distribution.

Attribute:

true

domain_name

The generated domain name of the Distribution, such as d111111abcdef8.cloudfront.net.

Attribute:

true