Class FileDestination
Where in S3 a file asset needs to be published.
Inheritance
System.Object
FileDestination
Namespace: Amazon.CDK.CloudAssembly.Schema
Assembly: Amazon.CDK.CloudAssembly.Schema.dll
Syntax (csharp)
public class FileDestination : Object, IFileDestination, IAwsDestination
Syntax (vb)
Public Class FileDestination
Inherits Object
Implements IFileDestination, IAwsDestination
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.CloudAssembly.Schema;
var fileDestination = new FileDestination {
BucketName = "bucketName",
ObjectKey = "objectKey",
// the properties below are optional
AssumeRoleArn = "assumeRoleArn",
AssumeRoleExternalId = "assumeRoleExternalId",
Region = "region"
};
Synopsis
Constructors
FileDestination() |
Properties
AssumeRoleArn | The role that needs to be assumed while publishing this asset. |
AssumeRoleExternalId | The ExternalId that needs to be supplied while assuming this role. |
BucketName | The name of the bucket. |
ObjectKey | The destination object key. |
Region | The region where this asset will need to be published. |
Constructors
FileDestination()
public FileDestination()
Properties
AssumeRoleArn
The role that needs to be assumed while publishing this asset.
public string AssumeRoleArn { get; set; }
Property Value
System.String
Remarks
Default: - No role will be assumed
AssumeRoleExternalId
The ExternalId that needs to be supplied while assuming this role.
public string AssumeRoleExternalId { get; set; }
Property Value
System.String
Remarks
Default: - No ExternalId will be supplied
BucketName
The name of the bucket.
public string BucketName { get; set; }
Property Value
System.String
ObjectKey
The destination object key.
public string ObjectKey { get; set; }
Property Value
System.String
Region
The region where this asset will need to be published.
public string Region { get; set; }
Property Value
System.String
Remarks
Default: - Current region