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.
Example:
const entry = { packaging: 'file', s3BucketParameter: 'bucket-parameter', s3KeyParamenter: 'key-parameter', artifactHashParameter: 'hash-parameter', }
Attributes
- artifact_hash_parameter
The name of the parameter where the hash of the bundled asset should be passed in.
- id
Logical identifier for the asset.
- packaging
Requested packaging style.
- path
Path on disk to the asset.
- s3_bucket_parameter
Name of parameter where S3 bucket should be passed in.
- s3_key_parameter
Name of parameter where S3 key should be passed in.
- source_hash
The hash of the asset source.