CustomResourcesOptions

class aws_cdk.app_staging_synthesizer_alpha.CustomResourcesOptions(*, bootstrap_qualifier=None, deployment_identities=None, resources)

Bases: AppStagingSynthesizerOptions

(experimental) Properties for customResources static method.

Parameters:
  • bootstrap_qualifier (Optional[str]) – (experimental) Qualifier to disambiguate multiple bootstrapped environments in the same account. This qualifier is only used to reference bootstrapped resources. It will not be used in the creation of app-specific staging resources: appId is used for that instead. Default: - Value of context key @aws-cdk/core:bootstrapQualifier’ if set, otherwise DEFAULT_QUALIFIER

  • deployment_identities (Optional[DeploymentIdentities]) – (experimental) What roles to use to deploy applications. These are the roles that have permissions to interact with CloudFormation on your behalf. By default these are the standard bootstrapped CDK roles, but you can customize them or turn them off and use the CLI credentials to deploy. Default: - The standard bootstrapped CDK roles

  • resources (IStagingResources) – (experimental) Use these exact staging resources for every stack that this synthesizer is used for.

Stability:

experimental

ExampleMetadata:

fixture=with-custom-staging infused

Example:

resource_app = App()
resources = CustomStagingStack(resource_app, "CustomStagingStack")

app = App(
    default_stack_synthesizer=AppStagingSynthesizer.custom_resources(
        resources=resources
    )
)

Attributes

bootstrap_qualifier

(experimental) Qualifier to disambiguate multiple bootstrapped environments in the same account.

This qualifier is only used to reference bootstrapped resources. It will not be used in the creation of app-specific staging resources: appId is used for that instead.

Default:
  • Value of context key @aws-cdk/core:bootstrapQualifier’ if set, otherwise DEFAULT_QUALIFIER

Stability:

experimental

deployment_identities

(experimental) What roles to use to deploy applications.

These are the roles that have permissions to interact with CloudFormation on your behalf. By default these are the standard bootstrapped CDK roles, but you can customize them or turn them off and use the CLI credentials to deploy.

Default:
  • The standard bootstrapped CDK roles

Stability:

experimental

resources

(experimental) Use these exact staging resources for every stack that this synthesizer is used for.

Stability:

experimental