FileAssetLocation

class aws_cdk.core.FileAssetLocation(*, bucket_name, object_key, s3_url)

Bases: object

__init__(*, bucket_name, object_key, s3_url)

The location of the published file asset.

This is where the asset can be consumed at runtime.

Parameters
  • bucket_name (str) – The name of the Amazon S3 bucket.

  • object_key (str) – The Amazon S3 object key.

  • s3_url (str) – The HTTP URL of this asset on Amazon S3.

Attributes

bucket_name

The name of the Amazon S3 bucket.

Return type

str

object_key

The Amazon S3 object key.

Return type

str

s3_url

The HTTP URL of this asset on Amazon S3.

Example::

# Example may have issues. See https://github.com/aws/jsii/issues/826 https:

Return type

str