Package com.hashicorp.cdktf
Class App.Builder
java.lang.Object
com.hashicorp.cdktf.App.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<App>
- Enclosing class:
App
@Stability(Experimental)
public static final class App.Builder
extends Object
implements software.amazon.jsii.Builder<App>
(experimental) A fluent builder for
App
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
(experimental) Additional context values for the application.static App.Builder
create()
(experimental) The directory to output Terraform resources.skipBackendValidation
(Boolean skipBackendValidation) (experimental) Whether to skip backend validation during synthesis of the app.skipValidation
(Boolean skipValidation) (experimental) Whether to skip all validations during synthesis of the app.stackTraces
(Boolean stackTraces)
-
Method Details
-
create
- Returns:
- a new instance of
App.Builder
.
-
context
(experimental) Additional context values for the application.Context set by the CLI or the
context
key incdktf.json
has precedence.Context can be read from any construct using
node.getContext(key)
.Default: - no additional context
- Parameters:
context
- Additional context values for the application. This parameter is required.- Returns:
this
-
hclOutput
- Parameters:
hclOutput
- This parameter is required.- Returns:
this
-
outdir
(experimental) The directory to output Terraform resources.Default: - CDKTF_OUTDIR if defined, otherwise "cdktf.out"
- Parameters:
outdir
- The directory to output Terraform resources. This parameter is required.- Returns:
this
-
skipBackendValidation
(experimental) Whether to skip backend validation during synthesis of the app.Default: - false
- Parameters:
skipBackendValidation
- Whether to skip backend validation during synthesis of the app. This parameter is required.- Returns:
this
-
skipValidation
(experimental) Whether to skip all validations during synthesis of the app.Default: - false
- Parameters:
skipValidation
- Whether to skip all validations during synthesis of the app. This parameter is required.- Returns:
this
-
stackTraces
- Parameters:
stackTraces
- This parameter is required.- Returns:
this
-
build
-