Package com.hashicorp.cdktf
Class ResourceTerraformIterator
java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.TerraformIterator
com.hashicorp.cdktf.ResourceTerraformIterator
- All Implemented Interfaces:
ITerraformIterator
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-15T15:38:01.090Z")
@Stability(Experimental)
public class ResourceTerraformIterator
extends TerraformIterator
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformIterator
ITerraformIterator.Jsii$Default
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ResourceTerraformIterator
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ResourceTerraformIterator
(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, values
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ResourceTerraformIterator
protected ResourceTerraformIterator(software.amazon.jsii.JsiiObjectRef objRef) -
ResourceTerraformIterator
protected ResourceTerraformIterator(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ResourceTerraformIterator
- Parameters:
element
- This parameter is required.
-
-
Method Details
-
getKey
(experimental) Returns the current 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.
-