BucketReference
- class aws_cdk.aws_lightsail.BucketReference(*, bucket_arn, bucket_name)
Bases:
object
A reference to a Bucket resource.
- Parameters:
bucket_arn (
str
) – The ARN of the Bucket resource.bucket_name (
str
) – The BucketName of the Bucket 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 bucket_reference = lightsail.BucketReference( bucket_arn="bucketArn", bucket_name="bucketName" )
Attributes
- bucket_arn
The ARN of the Bucket resource.
- bucket_name
The BucketName of the Bucket resource.