# FileAssetMetadataEntry

Metadata Entry spec for files.

- Source: [`node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/metadata-schema.d.ts`](https://github.com/aws/aws-cdk/blob/v2.274.0/packages/aws-cdk-lib/node_modules/@aws-cdk/cloud-assembly-schema/lib/cloud-assembly/metadata-schema.d.ts#L33)

## Example

```ts
const entry = {
  packaging: 'file',
  s3BucketParameter: 'bucket-parameter',
  s3KeyParamenter: 'key-parameter',
  artifactHashParameter: 'hash-parameter',
}
```

## Properties

- `artifactHashParameter`: string (required) — The name of the parameter where the hash of the bundled asset should be passed in.

- `id`: string (required) — Logical identifier for the asset.

- `packaging`: string (required) — Requested packaging style.

- `path`: string (required) — Path on disk to the asset.

- `s3BucketParameter`: string (required) — Name of parameter where S3 bucket should be passed in.

- `s3KeyParameter`: string (required) — Name of parameter where S3 key should be passed in.

- `sourceHash`: string (required) — The hash of the asset source.
