DistributionReference
- class aws_cdk.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 import aws_lightsail as lightsail distribution_reference = 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.