Interface DeployCommand
- All Superinterfaces:
CdkCommand,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
DeployCommand.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:10:16.194Z")
@Stability(Stable)
public interface DeployCommand
extends software.amazon.jsii.JsiiSerializable, CdkCommand
Represents a cdk deploy command.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cloud_assembly_schema.*;
DeployCommand deployCommand = DeployCommand.builder()
.args(DeployOptions.builder()
.all(false)
.app("app")
.assetMetadata(false)
.caBundlePath("caBundlePath")
.changeSetName("changeSetName")
.ci(false)
.color(false)
.concurrency(123)
.context(Map.of(
"contextKey", "context"))
.debug(false)
.ec2Creds(false)
.exclusively(false)
.execute(false)
.force(false)
.ignoreErrors(false)
.json(false)
.lookups(false)
.notices(false)
.notificationArns(List.of("notificationArns"))
.output("output")
.outputsFile("outputsFile")
.parameters(Map.of(
"parametersKey", "parameters"))
.pathMetadata(false)
.profile("profile")
.proxy("proxy")
.requireApproval(RequireApproval.NEVER)
.reuseAssets(List.of("reuseAssets"))
.roleArn("roleArn")
.rollback(false)
.stacks(List.of("stacks"))
.staging(false)
.strict(false)
.toolkitStackName("toolkitStackName")
.trace(false)
.usePreviousParameters(false)
.verbose(false)
.versionReporting(false)
.build())
.enabled(false)
.expectedMessage("expectedMessage")
.expectError(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forDeployCommandstatic final classAn implementation forDeployCommand -
Method Summary
Modifier and TypeMethodDescriptionstatic DeployCommand.Builderbuilder()default DeployOptionsgetArgs()Additional arguments to pass to the command This can be used to test specific CLI functionality.Methods inherited from interface software.amazon.awscdk.cloud_assembly_schema.CdkCommand
getEnabled, getExpectedMessage, getExpectErrorMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getArgs
Additional arguments to pass to the command This can be used to test specific CLI functionality.Default: - only default args are used
-
builder
- Returns:
- a
DeployCommand.BuilderofDeployCommand
-