Interface IAssetManifestFileDestination
The destination for a file asset, when it is given to the AssetManifestBuilder.
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IAssetManifestFileDestination
Syntax (vb)
Public Interface IAssetManifestFileDestination
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var assumeRoleAdditionalOptions;
var assetManifestFileDestination = new AssetManifestFileDestination {
BucketName = "bucketName",
// the properties below are optional
BucketPrefix = "bucketPrefix",
Role = new RoleOptions {
AssumeRoleArn = "assumeRoleArn",
// the properties below are optional
AssumeRoleAdditionalOptions = new Dictionary<string, object> {
{ "assumeRoleAdditionalOptionsKey", assumeRoleAdditionalOptions }
},
AssumeRoleExternalId = "assumeRoleExternalId"
}
};
Synopsis
Properties
| BucketName | Bucket name where the file asset should be written. |
| BucketPrefix | Prefix to prepend to the asset hash. |
| Role | Role to use for uploading. |
Properties
BucketName
Bucket name where the file asset should be written.
string BucketName { get; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
BucketPrefix
Prefix to prepend to the asset hash.
string? BucketPrefix { get; }
Property Value
Remarks
Default: ''
Role
Role to use for uploading.
IRoleOptions? Role { get; }
Property Value
Remarks
Default: - current role