FileDestination

class aws_cdk.cloud_assembly_schema.FileDestination(*, assume_role_arn=None, assume_role_external_id=None, region=None, bucket_name, object_key)

Bases: aws_cdk.cloud_assembly_schema.AwsDestination

Where in S3 a file asset needs to be published.

Parameters
  • assume_role_arn (Optional[str]) – The role that needs to be assumed while publishing this asset. Default: - No role will be assumed

  • assume_role_external_id (Optional[str]) – The ExternalId that needs to be supplied while assuming this role. Default: - No ExternalId will be supplied

  • region (Optional[str]) – The region where this asset will need to be published. Default: - Current region

  • bucket_name (str) – The name of the bucket.

  • object_key (str) – The destination object key.

Attributes

assume_role_arn

The role that needs to be assumed while publishing this asset.

Default
  • No role will be assumed

Return type

Optional[str]

assume_role_external_id

The ExternalId that needs to be supplied while assuming this role.

Default
  • No ExternalId will be supplied

Return type

Optional[str]

bucket_name

The name of the bucket.

Return type

str

object_key

The destination object key.

Return type

str

region

The region where this asset will need to be published.

Default
  • Current region

Return type

Optional[str]