interface AssetManifestFileDestination
Language | Type name |
---|---|
![]() | Amazon.CDK.AssetManifestFileDestination |
![]() | github.com/aws/aws-cdk-go/awscdk/v2#AssetManifestFileDestination |
![]() | software.amazon.awscdk.AssetManifestFileDestination |
![]() | aws_cdk.AssetManifestFileDestination |
![]() | aws-cdk-lib » AssetManifestFileDestination |
The destination for a file asset, when it is given to the AssetManifestBuilder.
Example
// 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
Name | Type | Description |
---|---|---|
bucket | string | Bucket name where the file asset should be written. |
bucket | string | Prefix to prepend to the asset hash. |
role? | Role | Role to use for uploading. |
bucketName
Type:
string
Bucket name where the file asset should be written.
bucketPrefix?
Type:
string
(optional, default: '')
Prefix to prepend to the asset hash.
role?
Type:
Role
(optional, default: current role)
Role to use for uploading.