Class ComplexList

java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.ComplexList
All Implemented Interfaces:
IResolvable, ITerraformAddressable, software.amazon.jsii.JsiiSerializable
Direct Known Subclasses:
AnyListList, BooleanList, BooleanListList, NumberListList, StringListList

@Generated(value="jsii-pacmak/1.95.0 (build f1ff514)", date="2024-04-15T08:11:31.824Z") @Stability(Experimental) public abstract class ComplexList extends software.amazon.jsii.JsiiObject implements ITerraformAddressable, IResolvable
  • Constructor Details

    • ComplexList

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

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

      @Stability(Experimental) protected ComplexList(@NotNull IInterpolatingParent terraformResource, @NotNull String terraformAttribute, @NotNull Boolean wrapsSet)
      Parameters:
      terraformResource - This parameter is required.
      terraformAttribute - This parameter is required.
      wrapsSet - This parameter is required.
  • Method Details

    • allWithMapKey

      @Stability(Experimental) @NotNull public DynamicListTerraformIterator allWithMapKey(@NotNull String mapKeyAttributeName)
      (experimental) Creating an iterator for this complex list.

      The list will be converted into a map with the mapKeyAttributeName as the key.

      Parameters:
      mapKeyAttributeName - This parameter is required.
    • computeFqn

      @Stability(Experimental) @NotNull public String computeFqn()
    • resolve

      @Stability(Experimental) @NotNull public Object resolve(@NotNull IResolveContext _context)
      (experimental) Produce the Token's value at resolution time.

      Specified by:
      resolve in interface IResolvable
      Parameters:
      _context - This parameter is required.
    • toString

      @Stability(Experimental) @NotNull public String toString()
      (experimental) Return a string representation of this resolvable object.

      Returns a reversible string representation.

      Specified by:
      toString in interface IResolvable
      Overrides:
      toString in class Object
    • getCreationStack

      @Stability(Experimental) @NotNull public List<String> getCreationStack()
      (experimental) The creation stack of this resolvable which will be appended to errors thrown during resolution.

      If this returns an empty array the stack will not be attached.

      Specified by:
      getCreationStack in interface IResolvable
    • getFqn

      @Stability(Experimental) @NotNull public String getFqn()
      Specified by:
      getFqn in interface ITerraformAddressable
    • getTerraformAttribute

      @Stability(Experimental) @NotNull protected String getTerraformAttribute()
    • setTerraformAttribute

      @Stability(Experimental) protected void setTerraformAttribute(@NotNull String value)
    • getTerraformResource

      @Stability(Experimental) @NotNull protected IInterpolatingParent getTerraformResource()
    • setTerraformResource

      @Stability(Experimental) protected void setTerraformResource(@NotNull IInterpolatingParent value)
    • getWrapsSet

      @Stability(Experimental) @NotNull protected Boolean getWrapsSet()
    • setWrapsSet

      @Stability(Experimental) protected void setWrapsSet(@NotNull Boolean value)