|exclude?||Glob patterns to exclude from the copy.|
|follow?||A strategy for how to handle symlinks.|
|readers?||A list of principals that should be able to read this asset from S3. You can use |
|source||Custom source hash to use when identifying the specific version of the asset.|
(optional, default: nothing is excluded)
Glob patterns to exclude from the copy.
(optional, default: Never)
A strategy for how to handle symlinks.
(optional, default: No principals that can read file asset.)
A list of principals that should be able to read this asset from S3. You can use
asset.grantRead(principal) to grant read permissions later.
(optional, default: automatically calculate source hash based on the contents
of the source file or directory.)
Custom source hash to use when identifying the specific version of the asset.
NOTE: the source hash is used in order to identify a specific revision of the asset, and used for optimizing and caching deployment activities related to this asset such as packaging, uploading to Amazon S3, etc. If you chose to customize the source hash, you will need to make sure it is updated every time the source changes, or otherwise it is possible that some deployments will not be invalidated.