Package com.hashicorp.cdktf
Class ListTerraformIterator
java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.TerraformIterator
com.hashicorp.cdktf.ListTerraformIterator
- All Implemented Interfaces:
ITerraformIterator,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-15T15:38:01.048Z")
@Stability(Experimental)
public class ListTerraformIterator
extends TerraformIterator
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformIterator
ITerraformIterator.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionListTerraformIterator(Object list) protectedListTerraformIterator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedListTerraformIterator(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Methods inherited from class com.hashicorp.cdktf.TerraformIterator
dynamic, forExpressionForList, forExpressionForMap, fromComplexList, fromDataSources, fromList, fromMap, fromResources, getAny, getAnyMap, getBoolean, getBooleanMap, getList, getMap, getNumber, getNumberList, getNumberMap, getString, getStringMap, keys, pluckProperty, valuesMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ListTerraformIterator
protected ListTerraformIterator(software.amazon.jsii.JsiiObjectRef objRef) -
ListTerraformIterator
protected ListTerraformIterator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ListTerraformIterator
- Parameters:
list- This parameter is required.
-
-
Method Details
-
getKey
(experimental) Returns the currently entry in the list or set that is being iterated over.For lists this is the same as
iterator.value. If you need the index, use count viaTerraformCount: https://developer.hashicorp.com/terraform/cdktf/concepts/iterators#using-count -
getValue
(experimental) Returns the value of the current item iterated over.
-