StageSynthesisOptions

class aws_cdk.StageSynthesisOptions(*, force=None, skip_validation=None, validate_on_synthesis=None)

Bases: object

Options for assembly synthesis.

Parameters
  • force (Optional[bool]) – Force a re-synth, even if the stage has already been synthesized. This is used by tests to allow for incremental verification of the output. Do not use in production. Default: false

  • skip_validation (Optional[bool]) – Should we skip construct validation. Default: - false

  • validate_on_synthesis (Optional[bool]) – Whether the stack should be validated after synthesis to check for error metadata. Default: - false

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 as cdk

stage_synthesis_options = cdk.StageSynthesisOptions(
    force=False,
    skip_validation=False,
    validate_on_synthesis=False
)

Attributes

force

Force a re-synth, even if the stage has already been synthesized.

This is used by tests to allow for incremental verification of the output. Do not use in production.

Default

false

skip_validation

Should we skip construct validation.

Default
  • false

validate_on_synthesis

Whether the stack should be validated after synthesis to check for error metadata.

Default
  • false