Interface CdkCommand
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
DeployCommand,DestroyCommand
- All Known Implementing Classes:
CdkCommand.Jsii$Proxy,DeployCommand.Jsii$Proxy,DestroyCommand.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)", date="2025-11-06T20:25:05.771Z") @Stability(Stable) public interface CdkCommand extends software.amazon.jsii.JsiiSerializable
Represents a cdk command i.e.synth,deploy, &destroy.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classCdkCommand.BuilderA builder forCdkCommandstatic classCdkCommand.Jsii$ProxyAn implementation forCdkCommand
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static CdkCommand.Builderbuilder()default BooleangetEnabled()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 StringgetExpectedMessage()This can be used in combination withexpectedErrorto validate that a specific message is returned.default BooleangetExpectError()If the runner should expect this command to fail.
-
-
-
Method Detail
-
getEnabled
@Stability(Stable) @Nullable default Boolean getEnabled()
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: true
-
getExpectedMessage
@Stability(Stable) @Nullable default String getExpectedMessage()
This can be used in combination withexpectedErrorto validate that a specific message is returned.Default: - do not validate message
-
getExpectError
@Stability(Stable) @Nullable default Boolean getExpectError()
If the runner should expect this command to fail.Default: false
-
builder
@Stability(Stable) static CdkCommand.Builder builder()
- Returns:
- a
CdkCommand.BuilderofCdkCommand
-
-