@aws-cdk_cloud-assembly-schema.FileAssetMetadataEntry

interface FileAssetMetadataEntry

LanguageType name
.NETAmazon.CDK.CloudAssembly.Schema.FileAssetMetadataEntry
Javasoftware.amazon.awscdk.cloudassembly.schema.FileAssetMetadataEntry
Pythonaws_cdk.cloud_assembly_schema.FileAssetMetadataEntry
TypeScript (source)@aws-cdk/cloud-assembly-schema » FileAssetMetadataEntry

Metadata Entry spec for files.

Example

// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cloud_assembly_schema from '@aws-cdk/cloud-assembly-schema';
const fileAssetMetadataEntry: cloud_assembly_schema.FileAssetMetadataEntry = {
  artifactHashParameter: 'artifactHashParameter',
  id: 'id',
  packaging: 'packaging',
  path: 'path',
  s3BucketParameter: 's3BucketParameter',
  s3KeyParameter: 's3KeyParameter',
  sourceHash: 'sourceHash',
};

Properties

NameTypeDescription
artifactHashParameterstringThe name of the parameter where the hash of the bundled asset should be passed in.
idstringLogical identifier for the asset.
packagingstringRequested packaging style.
pathstringPath on disk to the asset.
s3BucketParameterstringName of parameter where S3 bucket should be passed in.
s3KeyParameterstringName of parameter where S3 key should be passed in.
sourceHashstringThe 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.