@Stability(value=Stable) public static final class DefaultCdkOptions.Builder extends Object implements software.amazon.jsii.Builder<DefaultCdkOptions>
DefaultCdkOptions| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public DefaultCdkOptions.Builder all(Boolean all)
DefaultCdkOptions.getAll()all - Deploy all stacks.
Requried if stacks is not setthis@Stability(value=Stable) public DefaultCdkOptions.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 DefaultCdkOptions.Builder assetMetadata(Boolean assetMetadata)
DefaultCdkOptions.getAssetMetadata()assetMetadata - Include "aws:asset:*" CloudFormation metadata for resources that use assets.this@Stability(value=Stable) public DefaultCdkOptions.Builder caBundlePath(String caBundlePath)
DefaultCdkOptions.getCaBundlePath()caBundlePath - Path to CA certificate to use when validating HTTPS requests.this@Stability(value=Stable) public DefaultCdkOptions.Builder color(Boolean color)
DefaultCdkOptions.getColor()color - Show colors and other style from console output.this@Stability(value=Stable) public DefaultCdkOptions.Builder context(Map<String,String> context)
DefaultCdkOptions.getContext()context - Additional context.this@Stability(value=Stable) public DefaultCdkOptions.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 DefaultCdkOptions.Builder ec2Creds(Boolean ec2Creds)
DefaultCdkOptions.getEc2Creds()ec2Creds - Force trying to fetch EC2 instance credentials.this@Stability(value=Stable) public DefaultCdkOptions.Builder ignoreErrors(Boolean ignoreErrors)
DefaultCdkOptions.getIgnoreErrors()ignoreErrors - Ignores synthesis errors, which will likely produce an invalid output.this@Stability(value=Stable) public DefaultCdkOptions.Builder json(Boolean json)
DefaultCdkOptions.getJson()json - Use JSON output instead of YAML when templates are printed to STDOUT.this@Stability(value=Stable) public DefaultCdkOptions.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 DefaultCdkOptions.Builder notices(Boolean notices)
DefaultCdkOptions.getNotices()notices - Show relevant notices.this@Stability(value=Stable) public DefaultCdkOptions.Builder output(String output)
DefaultCdkOptions.getOutput()output - Emits the synthesized cloud assembly into a directory.this@Stability(value=Stable) public DefaultCdkOptions.Builder pathMetadata(Boolean pathMetadata)
DefaultCdkOptions.getPathMetadata()pathMetadata - Include "aws:cdk:path" CloudFormation metadata for each resource.this@Stability(value=Stable) public DefaultCdkOptions.Builder profile(String profile)
DefaultCdkOptions.getProfile()profile - Use the indicated AWS profile as the default environment.this@Stability(value=Stable) public DefaultCdkOptions.Builder proxy(String proxy)
DefaultCdkOptions.getProxy()proxy - Use the indicated proxy.
Will read from
HTTPS_PROXY environment if specifiedthis@Stability(value=Stable) public DefaultCdkOptions.Builder roleArn(String roleArn)
DefaultCdkOptions.getRoleArn()roleArn - Role to pass to CloudFormation for deployment.this@Stability(value=Stable) public DefaultCdkOptions.Builder stacks(List<String> stacks)
DefaultCdkOptions.getStacks()stacks - List of stacks to deploy.
Requried if all is not setthis@Stability(value=Stable) public DefaultCdkOptions.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 DefaultCdkOptions.Builder strict(Boolean strict)
DefaultCdkOptions.getStrict()strict - Do not construct stacks with warnings.this@Stability(value=Stable) public DefaultCdkOptions.Builder trace(Boolean trace)
DefaultCdkOptions.getTrace()trace - Print trace for stack warnings.this@Stability(value=Stable) public DefaultCdkOptions.Builder verbose(Boolean verbose)
DefaultCdkOptions.getVerbose()verbose - show debug logs.this@Stability(value=Stable) public DefaultCdkOptions.Builder versionReporting(Boolean versionReporting)
DefaultCdkOptions.getVersionReporting()versionReporting - Include "AWS::CDK::Metadata" resource in synthesized templates.this@Stability(value=Stable) public DefaultCdkOptions build()
build in interface software.amazon.jsii.Builder<DefaultCdkOptions>DefaultCdkOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.