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.

ExampleMetadata:

fixture=_generated

Example:

# Example automatically generated from non-compiling source. May contain errors.
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.cloud_assembly_schema as cloud_assembly_schema

file_asset_metadata_entry = cloud_assembly_schema.FileAssetMetadataEntry(
    artifact_hash_parameter="artifactHashParameter",
    id="id",
    packaging="packaging",
    path="path",
    s3_bucket_parameter="s3BucketParameter",
    s3_key_parameter="s3KeyParameter",
    source_hash="sourceHash"
)

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.