interface FileDestination
Language | Type name |
---|---|
.NET | Amazon.CDK.CloudAssembly.Schema.FileDestination |
Java | software.amazon.awscdk.cloudassembly.schema.FileDestination |
Python | aws_cdk.cloud_assembly_schema.FileDestination |
TypeScript (source) | @aws-cdk/cloud-assembly-schema » FileDestination |
Where in S3 a file asset needs to be published.
Properties
Name | Type | Description |
---|---|---|
bucket | string | The name of the bucket. |
object | string | The destination object key. |
assume | { [string]: any } | Additional options to pass to STS when assuming the role. |
assume | string | The role that needs to be assumed while publishing this asset. |
assume | string | The ExternalId that needs to be supplied while assuming this role. |
region? | string | The region where this asset will need to be published. |
bucketName
Type:
string
The name of the bucket.
objectKey
Type:
string
The destination object key.
assumeRoleAdditionalOptions?
Type:
{ [string]: any }
(optional, default: No additional options.)
Additional options to pass to STS when assuming the role.
RoleArn
should not be used. Use the dedicatedassumeRoleArn
property instead.ExternalId
should not be used. Use the dedicatedassumeRoleExternalId
instead.
See also: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/STS.html#assumeRole-property
assumeRoleArn?
Type:
string
(optional, default: No role will be assumed)
The role that needs to be assumed while publishing this asset.
assumeRoleExternalId?
Type:
string
(optional, default: No ExternalId will be supplied)
The ExternalId that needs to be supplied while assuming this role.
region?
Type:
string
(optional, default: Current region)
The region where this asset will need to be published.