Show / Hide Table of Contents

Class AssetManifestFileDestination

The destination for a file asset, when it is given to the AssetManifestBuilder.

Inheritance
object
AssetManifestFileDestination
Implements
IAssetManifestFileDestination
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

string

Remarks

ExampleMetadata: fixture=_generated

BucketPrefix

Prefix to prepend to the asset hash.

public string? BucketPrefix { get; set; }
Property Value

string

Remarks

Default: ''

Role

Role to use for uploading.

public IRoleOptions? Role { get; set; }
Property Value

IRoleOptions

Remarks

Default: - current role

Implements

IAssetManifestFileDestination
Back to top Generated by DocFX