FileAssetMetadataEntry

class aws_cdk.cloud_assembly_schema.FileAssetMetadataEntry(*, artifact_hash_parameter, id, packaging, path, s3_bucket_parameter, s3_key_parameter, source_hash)

Bases: object

Metadata Entry spec for files.

Parameters
  • artifact_hash_parameter (str) – The name of the parameter where the hash of the bundled asset should be passed in.

  • id (str) – Logical identifier for the asset.

  • packaging (str) – Requested packaging style.

  • path (str) – Path on disk to the asset.

  • s3_bucket_parameter (str) – Name of parameter where S3 bucket should be passed in.

  • s3_key_parameter (str) – Name of parameter where S3 key should be passed in.

  • source_hash (str) – The hash of the asset source.

Attributes

artifact_hash_parameter

The name of the parameter where the hash of the bundled asset should be passed in.

Return type

str

id

Logical identifier for the asset.

Return type

str

packaging

Requested packaging style.

Return type

str

path

Path on disk to the asset.

Return type

str

s3_bucket_parameter

Name of parameter where S3 bucket should be passed in.

Return type

str

s3_key_parameter

Name of parameter where S3 key should be passed in.

Return type

str

source_hash

The hash of the asset source.

Return type

str