@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-09-07T11:23:29.467Z") @Stability(value=Experimental) public interface TerraformVariableConfig extends software.amazon.jsii.JsiiSerializable
Modifier and Type | Interface and Description |
---|---|
static class |
TerraformVariableConfig.Builder
A builder for
TerraformVariableConfig |
static class |
TerraformVariableConfig.Jsii$Proxy
An implementation for
TerraformVariableConfig |
Modifier and Type | Method and Description |
---|---|
static TerraformVariableConfig.Builder |
builder() |
default Object |
getDefaultValue() |
default String |
getDescription() |
default Boolean |
getSensitive() |
default String |
getType()
(experimental) The type argument in a variable block allows you to restrict the type of value that will be accepted as the value for a variable.
|
@Stability(value=Experimental) @Nullable default Object getDefaultValue()
@Stability(value=Experimental) @Nullable default String getDescription()
@Stability(value=Experimental) @Nullable default Boolean getSensitive()
@Stability(value=Experimental) @Nullable default String getType()
If no type constraint is set then a value of any type is accepted.
While type constraints are optional, we recommend specifying them; they serve as easy reminders for users of the module, and allow Terraform to return a helpful error message if the wrong type is used.
Type constraints are created from a mixture of type keywords and type constructors. The supported type keywords are:
The type constructors allow you to specify complex types such as collections:
The keyword any may be used to indicate that any type is acceptable. For more information on the meaning and behavior of these different types, as well as detailed information about automatic conversion of complex types, see {@link https://www.terraform.io/docs/configuration/types.html|Type Constraints}.
If both the type and default arguments are specified, the given default value must be convertible to the specified type.
@Stability(value=Experimental) static TerraformVariableConfig.Builder builder()
TerraformVariableConfig.Builder
of TerraformVariableConfig
Copyright © 2021. All rights reserved.