Class TerraformVariableConfig.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.TerraformVariableConfig.Jsii$Proxy
All Implemented Interfaces:
TerraformVariableConfig, software.amazon.jsii.JsiiSerializable
Enclosing interface:
TerraformVariableConfig

@Stability(Experimental) @Internal public static final class TerraformVariableConfig.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements TerraformVariableConfig
An implementation for TerraformVariableConfig
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(TerraformVariableConfig.Builder builder)
      Constructor that initializes the object based on literal property values passed by the TerraformVariableConfig.Builder.
  • Method Details

    • getDefaultValue

      public final Object getDefaultValue()
      Specified by:
      getDefaultValue in interface TerraformVariableConfig
    • getDescription

      public final String getDescription()
      Specified by:
      getDescription in interface TerraformVariableConfig
    • getNullable

      public final Boolean getNullable()
      Specified by:
      getNullable in interface TerraformVariableConfig
    • getSensitive

      public final Boolean getSensitive()
      Specified by:
      getSensitive in interface TerraformVariableConfig
    • getType

      public final String getType()
      Description copied from interface: TerraformVariableConfig
      (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.

      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: * string * number * bool The type constructors allow you to specify complex types such as collections: * list() * set() * map() * object({ = , ... }) * tuple([, ...]) 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, refer to

      invalid @link
      {@link https://developer.hashicorp.com/terraform/language/expressions/type-constraints
      Type Constraints}. If both the type and default arguments are specified, the given default value must be convertible to the specified type.
      Specified by:
      getType in interface TerraformVariableConfig
    • getValidation

      public final List<TerraformVariableValidationConfig> getValidation()
      Description copied from interface: TerraformVariableConfig
      (experimental) Specify arbitrary custom validation rules for a particular variable using a validation block nested within the corresponding variable block.
      Specified by:
      getValidation in interface TerraformVariableConfig
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object