DeployCommand
- class aws_cdk.cloud_assembly_schema.DeployCommand(*, enabled=None, expected_message=None, expect_error=None, args=None)
Bases:
CdkCommandRepresents a cdk deploy command.
- Parameters:
enabled (
Optional[bool]) – Whether or not to run this command as part of the workflow This can be used if you only want to test some of the workflow for example enablesynthand disabledeploy&destroyin order to limit the test to synthesis. Default: trueexpected_message (
Optional[str]) – This can be used in combination withexpectedErrorto validate that a specific message is returned. Default: - do not validate messageexpect_error (
Optional[bool]) – If the runner should expect this command to fail. Default: falseargs (
Union[DeployOptions,Dict[str,Any],None]) – Additional arguments to pass to the command This can be used to test specific CLI functionality. Default: - only default args are used
Attributes
- args
Additional arguments to pass to the command This can be used to test specific CLI functionality.
- Default:
only default args are used
- enabled
Whether or not to run this command as part of the workflow This can be used if you only want to test some of the workflow for example enable
synthand disabledeploy&destroyin order to limit the test to synthesis.- Default:
true
- expect_error
If the runner should expect this command to fail.
- Default:
false
- expected_message
This can be used in combination with
expectedErrorto validate that a specific message is returned.- Default:
do not validate message