Class AssetManifestFileDestination
The destination for a file asset, when it is given to the AssetManifestBuilder.
Implements
Inherited Members
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class AssetManifestFileDestination : IAssetManifestFileDestination
Syntax (vb)
Public Class AssetManifestFileDestination Implements 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
Constructors
| AssetManifestFileDestination() | The destination for a file asset, when it is given to the AssetManifestBuilder. |
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. |
Constructors
AssetManifestFileDestination()
The destination for a file asset, when it is given to the AssetManifestBuilder.
public AssetManifestFileDestination()
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"
}
};
Properties
BucketName
Bucket name where the file asset should be written.
public string BucketName { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
BucketPrefix
Prefix to prepend to the asset hash.
public string? BucketPrefix { get; set; }
Property Value
Remarks
Default: ''
Role
Role to use for uploading.
public IRoleOptions? Role { get; set; }
Property Value
Remarks
Default: - current role