AssetManifestFileDestination Struct
The destination for a file asset, when it is given to the AssetManifestBuilder.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as cdk from 'aws-cdk-lib';
declare const assumeRoleAdditionalOptions: any;
const assetManifestFileDestination: cdk.AssetManifestFileDestination = {
bucketName: 'bucketName',
// the properties below are optional
bucketPrefix: 'bucketPrefix',
role: {
assumeRoleArn: 'assumeRoleArn',
// the properties below are optional
assumeRoleAdditionalOptions: {
assumeRoleAdditionalOptionsKey: assumeRoleAdditionalOptions,
},
assumeRoleExternalId: 'assumeRoleExternalId',
},
};
Properties
Bucket name where the file asset should be written.
Prefix to prepend to the asset hash.
Role to use for uploading.