BootstrapRoles
- class aws_cdk.app_staging_synthesizer_alpha.BootstrapRoles(*, cloud_formation_execution_role=None, deployment_role=None, lookup_role=None)
Bases:
object
(experimental) Roles that are bootstrapped to your account.
- Parameters:
cloud_formation_execution_role (
Optional
[BootstrapRole
]) – (experimental) CloudFormation Execution Role. Default: - use bootstrapped roledeployment_role (
Optional
[BootstrapRole
]) – (experimental) Deployment Action Role. Default: - use boostrapped rolelookup_role (
Optional
[BootstrapRole
]) – (experimental) Lookup Role. Default: - use bootstrapped role
- Stability:
experimental
- ExampleMetadata:
infused
Example:
from aws_cdk.aws_s3 import BucketEncryption app = App( default_stack_synthesizer=AppStagingSynthesizer.default_resources( app_id="my-app-id", staging_bucket_encryption=BucketEncryption.S3_MANAGED, deployment_identities=DeploymentIdentities.specify_roles( cloud_formation_execution_role=BootstrapRole.from_role_arn("arn:aws:iam::123456789012:role/Execute"), deployment_role=BootstrapRole.from_role_arn("arn:aws:iam::123456789012:role/Deploy"), lookup_role=BootstrapRole.from_role_arn("arn:aws:iam::123456789012:role/Lookup") ) ) )
Attributes
- cloud_formation_execution_role
(experimental) CloudFormation Execution Role.
- Default:
use bootstrapped role
- Stability:
experimental
- deployment_role
(experimental) Deployment Action Role.
- Default:
use boostrapped role
- Stability:
experimental
- lookup_role
(experimental) Lookup Role.
- Default:
use bootstrapped role
- Stability:
experimental