StagingRoles

class aws_cdk.app_staging_synthesizer_alpha.StagingRoles(*, docker_asset_publishing_role=None, file_asset_publishing_role=None)

Bases: object

(experimental) Roles that are included in the Staging Stack (for access to Staging Resources).

Parameters:
  • docker_asset_publishing_role (Optional[BootstrapRole]) – (experimental) Docker Asset Publishing Role. Default: - staging stack creates a docker asset publishing role

  • file_asset_publishing_role (Optional[BootstrapRole]) – (experimental) File Asset Publishing Role. Default: - staging stack creates a file asset publishing role

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

# bootstrap_role: app_staging_synthesizer_alpha.BootstrapRole

staging_roles = app_staging_synthesizer_alpha.StagingRoles(
    docker_asset_publishing_role=bootstrap_role,
    file_asset_publishing_role=bootstrap_role
)

Attributes

docker_asset_publishing_role

(experimental) Docker Asset Publishing Role.

Default:
  • staging stack creates a docker asset publishing role

Stability:

experimental

file_asset_publishing_role

(experimental) File Asset Publishing Role.

Default:
  • staging stack creates a file asset publishing role

Stability:

experimental