Interface CdkCommands
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CdkCommands.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.667Z")
@Stability(Stable)
public interface CdkCommands
extends software.amazon.jsii.JsiiSerializable
Options for specific cdk commands that are run as part of the integration test workflow.
Example:
App app = new App();
Stack stackUnderTest = new Stack(app, "StackUnderTest");
Stack stack = new Stack(app, "stack");
IntegTest testCase = IntegTest.Builder.create(app, "CustomizedDeploymentWorkflow")
.testCases(List.of(stackUnderTest))
.diffAssets(true)
.stackUpdateWorkflow(true)
.cdkCommandOptions(CdkCommands.builder()
.deploy(DeployCommand.builder()
.args(DeployOptions.builder()
.requireApproval(RequireApproval.NEVER)
.json(true)
.build())
.build())
.destroy(DestroyCommand.builder()
.args(DestroyOptions.builder()
.force(true)
.build())
.build())
.build())
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCdkCommandsstatic final classAn implementation forCdkCommands -
Method Summary
Modifier and TypeMethodDescriptionstatic CdkCommands.Builderbuilder()default DeployCommandOptions to for the cdk deploy command.default DestroyCommandOptions to for the cdk destroy command.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDeploy
Options to for the cdk deploy command.Default: - default deploy options
-
getDestroy
Options to for the cdk destroy command.Default: - default destroy options
-
builder
- Returns:
- a
CdkCommands.BuilderofCdkCommands
-