Class TerraformIterator

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.TerraformIterator
All Implemented Interfaces:
ITerraformIterator, software.amazon.jsii.JsiiSerializable
Direct Known Subclasses:
ListTerraformIterator, MapTerraformIterator

@Generated(value="jsii-pacmak/1.79.0 (build b22f628)", date="2023-07-26T11:31:27.655Z") @Stability(Experimental) public abstract class TerraformIterator extends software.amazon.jsii.JsiiObject implements ITerraformIterator
  • Constructor Details

    • TerraformIterator

      protected TerraformIterator(software.amazon.jsii.JsiiObjectRef objRef)
    • TerraformIterator

      protected TerraformIterator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
    • TerraformIterator

      @Stability(Experimental) protected TerraformIterator()
  • Method Details

    • fromList

      @Stability(Experimental) @NotNull public static ListTerraformIterator fromList(@NotNull Object list)
      (experimental) Creates a new iterator from a list.

      Parameters:
      list - This parameter is required.
    • fromMap

      @Stability(Experimental) @NotNull public static MapTerraformIterator fromMap(@NotNull Object map)
      (experimental) Creates a new iterator from a map.

      Parameters:
      map - This parameter is required.
    • dynamic

      @Stability(Experimental) @NotNull public IResolvable dynamic(@NotNull Map<String,Object> attributes)
      Parameters:
      attributes - This parameter is required.
    • getAny

      @Stability(Experimental) @NotNull public IResolvable getAny(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as any
    • getAnyMap

      @Stability(Experimental) @NotNull public Map<String,Object> getAnyMap(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a map of any
    • getBoolean

      @Stability(Experimental) @NotNull public IResolvable getBoolean(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a boolean
    • getBooleanMap

      @Stability(Experimental) @NotNull public Map<String,Boolean> getBooleanMap(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a map of booleans
    • getList

      @Stability(Experimental) @NotNull public List<String> getList(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a (string) list
    • getMap

      @Stability(Experimental) @NotNull public Map<String,Object> getMap(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a map
    • getNumber

      @Stability(Experimental) @NotNull public Number getNumber(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a number
    • getNumberList

      @Stability(Experimental) @NotNull public List<Number> getNumberList(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a number list
    • getNumberMap

      @Stability(Experimental) @NotNull public Map<String,Number> getNumberMap(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a map of numbers
    • getString

      @Stability(Experimental) @NotNull public String getString(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a string
    • getStringMap

      @Stability(Experimental) @NotNull public Map<String,String> getStringMap(@NotNull String attribute)
      Parameters:
      attribute - name of the property to retrieve. This parameter is required.
      Returns:
      the given attribute of the current item iterated over as a map of strings