@Generated(value="jsii-pacmak/1.63.2 (build a8a8833)",
date="2022-08-09T19:16:31.186Z")
public interface CdkCommand
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.cloudassembly.schema.*; CdkCommand cdkCommand = CdkCommand.builder() .enabled(false) .expectedMessage("expectedMessage") .expectError(false) .build();
Modifier and Type | Interface and Description |
---|---|
static class |
CdkCommand.Builder
A builder for
CdkCommand |
static class |
CdkCommand.Jsii$Proxy
An implementation for
CdkCommand |
Modifier and Type | Method and Description |
---|---|
static CdkCommand.Builder |
builder() |
default java.lang.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 enable `synth` and disable `deploy` & `destroy` in order to limit the test to synthesis.
|
default java.lang.String |
getExpectedMessage()
This can be used in combination with `expectedError` to validate that a specific message is returned.
|
default java.lang.Boolean |
getExpectError()
If the runner should expect this command to fail.
|
default java.lang.Boolean getEnabled()
Default: true
default java.lang.String getExpectedMessage()
Default: - do not validate message
default java.lang.Boolean getExpectError()
Default: false
static CdkCommand.Builder builder()
CdkCommand.Builder
of CdkCommand