DistributionReference

class aws_cdk.interfaces.aws_lightsail.DistributionReference(*, distribution_arn, distribution_name)

Bases: object

A reference to a Distribution resource.

Parameters:
  • distribution_arn (str) – The ARN of the Distribution resource.

  • distribution_name (str) – The DistributionName of the Distribution resource.

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.interfaces import aws_lightsail as interfaces_aws_lightsail

distribution_reference = interfaces_aws_lightsail.DistributionReference(
    distribution_arn="distributionArn",
    distribution_name="distributionName"
)

Attributes

distribution_arn

The ARN of the Distribution resource.

distribution_name

The DistributionName of the Distribution resource.