interface FileAssetMetadataEntry
Language | Type name |
---|---|
![]() | Amazon.CDK.CloudAssembly.Schema.FileAssetMetadataEntry |
![]() | software.amazon.awscdk.cloudassembly.schema.FileAssetMetadataEntry |
![]() | aws_cdk.cloud_assembly_schema.FileAssetMetadataEntry |
![]() | @aws-cdk/cloud-assembly-schema » FileAssetMetadataEntry |
Metadata Entry spec for files.
Example
const entry = {
packaging: 'file',
s3BucketParameter: 'bucket-parameter',
s3KeyParamenter: 'key-parameter',
artifactHashParameter: 'hash-parameter',
}
Properties
Name | Type | Description |
---|---|---|
artifact | string | The name of the parameter where the hash of the bundled asset should be passed in. |
id | string | Logical identifier for the asset. |
packaging | string | Requested packaging style. |
path | string | Path on disk to the asset. |
s3 | string | Name of parameter where S3 bucket should be passed in. |
s3 | string | Name of parameter where S3 key should be passed in. |
source | string | The hash of the asset source. |
artifactHashParameter
Type:
string
The name of the parameter where the hash of the bundled asset should be passed in.
id
Type:
string
Logical identifier for the asset.
packaging
Type:
string
Requested packaging style.
path
Type:
string
Path on disk to the asset.
s3BucketParameter
Type:
string
Name of parameter where S3 bucket should be passed in.
s3KeyParameter
Type:
string
Name of parameter where S3 key should be passed in.
sourceHash
Type:
string
The hash of the asset source.