@Stability(value=Stable) public static final class DeployOptions.Builder extends Object implements software.amazon.jsii.Builder<DeployOptions>
DeployOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public DeployOptions.Builder changeSetName(String changeSetName)
DeployOptions.getChangeSetName()changeSetName - Optional name to use for the CloudFormation change set.
If not provided, a name will be generated automatically.this@Stability(value=Stable) public DeployOptions.Builder ci(Boolean ci)
DeployOptions.getCi()ci - Whether we are on a CI system.this@Stability(value=Stable) public DeployOptions.Builder exclusively(Boolean exclusively)
DeployOptions.getExclusively()exclusively - Only perform action on the given stack.this@Stability(value=Stable) public DeployOptions.Builder execute(Boolean execute)
DeployOptions.getExecute()execute - Whether to execute the ChangeSet Not providing `execute` parameter will result in execution of ChangeSet.this@Stability(value=Stable) public DeployOptions.Builder force(Boolean force)
DeployOptions.getForce()force - Always deploy, even if templates are identical.this@Stability(value=Stable) public DeployOptions.Builder notificationArns(List<String> notificationArns)
DeployOptions.getNotificationArns()notificationArns - ARNs of SNS topics that CloudFormation will notify with stack related events.this@Stability(value=Stable) public DeployOptions.Builder outputsFile(String outputsFile)
DeployOptions.getOutputsFile()outputsFile - Path to file where stack outputs will be written after a successful deploy as JSON.this@Stability(value=Stable) public DeployOptions.Builder parameters(Map<String,String> parameters)
DeployOptions.getParameters()parameters - Additional parameters for CloudFormation at deploy time.this@Stability(value=Stable) public DeployOptions.Builder requireApproval(RequireApproval requireApproval)
DeployOptions.getRequireApproval()requireApproval - What kind of security changes require approval.this@Stability(value=Stable) public DeployOptions.Builder reuseAssets(List<String> reuseAssets)
DeployOptions.getReuseAssets()reuseAssets - Reuse the assets with the given asset IDs.this@Stability(value=Stable) public DeployOptions.Builder rollback(Boolean rollback)
DeployOptions.getRollback()rollback - Rollback failed deployments.this@Stability(value=Stable) public DeployOptions.Builder toolkitStackName(String toolkitStackName)
DeployOptions.getToolkitStackName()toolkitStackName - Name of the toolkit stack to use/deploy.this@Stability(value=Stable) public DeployOptions.Builder usePreviousParameters(Boolean usePreviousParameters)
DeployOptions.getUsePreviousParameters()usePreviousParameters - Use previous values for unspecified parameters.
If not set, all parameters must be specified for every deployment.this@Stability(value=Stable) public DeployOptions.Builder all(Boolean all)
DefaultCdkOptions.getAll()all - Deploy all stacks.
Requried if stacks is not setthis@Stability(value=Stable) public DeployOptions.Builder app(String app)
DefaultCdkOptions.getApp()app - command-line for executing your app or a cloud assembly directory e.g. "node bin/my-app.js" or "cdk.out".this@Stability(value=Stable) public DeployOptions.Builder assetMetadata(Boolean assetMetadata)
DefaultCdkOptions.getAssetMetadata()assetMetadata - Include "aws:asset:*" CloudFormation metadata for resources that use assets.this@Stability(value=Stable) public DeployOptions.Builder caBundlePath(String caBundlePath)
DefaultCdkOptions.getCaBundlePath()caBundlePath - Path to CA certificate to use when validating HTTPS requests.this@Stability(value=Stable) public DeployOptions.Builder color(Boolean color)
DefaultCdkOptions.getColor()color - Show colors and other style from console output.this@Stability(value=Stable) public DeployOptions.Builder context(Map<String,String> context)
DefaultCdkOptions.getContext()context - Additional context.this@Stability(value=Stable) public DeployOptions.Builder debug(Boolean debug)
DefaultCdkOptions.getDebug()debug - enable emission of additional debugging information, such as creation stack traces of tokens.this@Stability(value=Stable) public DeployOptions.Builder ec2Creds(Boolean ec2Creds)
DefaultCdkOptions.getEc2Creds()ec2Creds - Force trying to fetch EC2 instance credentials.this@Stability(value=Stable) public DeployOptions.Builder ignoreErrors(Boolean ignoreErrors)
DefaultCdkOptions.getIgnoreErrors()ignoreErrors - Ignores synthesis errors, which will likely produce an invalid output.this@Stability(value=Stable) public DeployOptions.Builder json(Boolean json)
DefaultCdkOptions.getJson()json - Use JSON output instead of YAML when templates are printed to STDOUT.this@Stability(value=Stable) public DeployOptions.Builder lookups(Boolean lookups)
DefaultCdkOptions.getLookups()lookups - Perform context lookups.
Synthesis fails if this is disabled and context lookups need
to be performedthis@Stability(value=Stable) public DeployOptions.Builder notices(Boolean notices)
DefaultCdkOptions.getNotices()notices - Show relevant notices.this@Stability(value=Stable) public DeployOptions.Builder output(String output)
DefaultCdkOptions.getOutput()output - Emits the synthesized cloud assembly into a directory.this@Stability(value=Stable) public DeployOptions.Builder pathMetadata(Boolean pathMetadata)
DefaultCdkOptions.getPathMetadata()pathMetadata - Include "aws:cdk:path" CloudFormation metadata for each resource.this@Stability(value=Stable) public DeployOptions.Builder profile(String profile)
DefaultCdkOptions.getProfile()profile - Use the indicated AWS profile as the default environment.this@Stability(value=Stable) public DeployOptions.Builder proxy(String proxy)
DefaultCdkOptions.getProxy()proxy - Use the indicated proxy.
Will read from
HTTPS_PROXY environment if specifiedthis@Stability(value=Stable) public DeployOptions.Builder roleArn(String roleArn)
DefaultCdkOptions.getRoleArn()roleArn - Role to pass to CloudFormation for deployment.this@Stability(value=Stable) public DeployOptions.Builder stacks(List<String> stacks)
DefaultCdkOptions.getStacks()stacks - List of stacks to deploy.
Requried if all is not setthis@Stability(value=Stable) public DeployOptions.Builder staging(Boolean staging)
DefaultCdkOptions.getStaging()staging - Copy assets to the output directory.
Needed for local debugging the source files with SAM CLIthis@Stability(value=Stable) public DeployOptions.Builder strict(Boolean strict)
DefaultCdkOptions.getStrict()strict - Do not construct stacks with warnings.this@Stability(value=Stable) public DeployOptions.Builder trace(Boolean trace)
DefaultCdkOptions.getTrace()trace - Print trace for stack warnings.this@Stability(value=Stable) public DeployOptions.Builder verbose(Boolean verbose)
DefaultCdkOptions.getVerbose()verbose - show debug logs.this@Stability(value=Stable) public DeployOptions.Builder versionReporting(Boolean versionReporting)
DefaultCdkOptions.getVersionReporting()versionReporting - Include "AWS::CDK::Metadata" resource in synthesized templates.this@Stability(value=Stable) public DeployOptions build()
build in interface software.amazon.jsii.Builder<DeployOptions>DeployOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.