AssetManifestOptions

class aws_cdk.cloud_assembly_schema.AssetManifestOptions(*, bootstrap_stack_version_ssm_parameter=None, requires_bootstrap_stack_version=None)

Bases: object

Configuration options for the Asset Manifest.

Parameters:
  • bootstrap_stack_version_ssm_parameter (Optional[str]) – SSM parameter where the bootstrap stack version number can be found. - If this value is not set, the bootstrap stack name must be known at deployment time so the stack version can be looked up from the stack outputs. - If this value is set, the bootstrap stack can have any name because we won’t need to look it up. Default: - Bootstrap stack version number looked up

  • requires_bootstrap_stack_version (Union[int, float, None]) – Version of bootstrap stack required to deploy this stack. Default: - Version 1 (basic modern bootstrap stack)

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.cloud_assembly_schema as cloud_assembly_schema

asset_manifest_options = cloud_assembly_schema.AssetManifestOptions(
    bootstrap_stack_version_ssm_parameter="bootstrapStackVersionSsmParameter",
    requires_bootstrap_stack_version=123
)

Attributes

bootstrap_stack_version_ssm_parameter

SSM parameter where the bootstrap stack version number can be found.

  • If this value is not set, the bootstrap stack name must be known at deployment time so the stack version can be looked up from the stack outputs.

  • If this value is set, the bootstrap stack can have any name because we won’t need to look it up.

Default:
  • Bootstrap stack version number looked up

requires_bootstrap_stack_version

Version of bootstrap stack required to deploy this stack.

Default:
  • Version 1 (basic modern bootstrap stack)