FileStagingLocation

class aws_cdk.app_staging_synthesizer_alpha.FileStagingLocation(*, bucket_name, assume_role_arn=None, dependency_stack=None, prefix=None)

Bases: object

(experimental) Information returned by the Staging Stack for each file asset.

Parameters:
  • bucket_name (str) – (experimental) The name of the staging bucket.

  • assume_role_arn (Optional[str]) – (experimental) The ARN to assume to write files to this bucket. Default: - Don’t assume a role

  • dependency_stack (Optional[Stack]) – (experimental) The stack that creates this bucket (leads to dependencies on it). Default: - Don’t add dependencies

  • prefix (Optional[str]) – (experimental) A prefix to add to the keys. Default: ‘’

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.app_staging_synthesizer_alpha as app_staging_synthesizer_alpha
import aws_cdk as cdk

# stack: cdk.Stack

file_staging_location = app_staging_synthesizer_alpha.FileStagingLocation(
    bucket_name="bucketName",

    # the properties below are optional
    assume_role_arn="assumeRoleArn",
    dependency_stack=stack,
    prefix="prefix"
)

Attributes

assume_role_arn

(experimental) The ARN to assume to write files to this bucket.

Default:
  • Don’t assume a role

Stability:

experimental

bucket_name

(experimental) The name of the staging bucket.

Stability:

experimental

dependency_stack

(experimental) The stack that creates this bucket (leads to dependencies on it).

Default:
  • Don’t add dependencies

Stability:

experimental

prefix

(experimental) A prefix to add to the keys.

Default:

‘’

Stability:

experimental