Initializers
mapRequired
- Type: interface{}
Methods
Dynamic
Token.asString.
See https://cdktn.io/docs/concepts/iterators#using-iterators-for-list-attributes
attributesRequired
- Type: *map[string]interface{}
ForExpressionForList
TerraformIterator.fromList(myIteratorSourceVar).forExpressionForList("val.foo if val.bar == true")
will result in [ for key, val in var.myIteratorSource: val.foo if val.bar == true ].
As this returns an IResolvable you might need to wrap the output in
a Token, e.g. Token.asString.
expressionRequired
- Type: interface{}
ForExpressionForMap
TerraformIterator.fromMap(myIteratorSourceVar).forExpressionForMap("key", "val.foo if val.bar == true")
will result in \{ for key, val in var.myIteratorSource: key => val.foo if val.bar == true }.
As this returns an IResolvable you might need to wrap the output in
a Token, e.g. Token.asString.
keyExpressionRequired
- Type: interface{}
valueExpressionRequired
- Type: interface{}
GetAny
attributeRequired
- Type: *string
GetAnyMap
attributeRequired
- Type: *string
GetBoolean
attributeRequired
- Type: *string
GetBooleanMap
attributeRequired
- Type: *string
GetList
attributeRequired
- Type: *string
GetMap
attributeRequired
- Type: *string
GetNumber
attributeRequired
- Type: *string
GetNumberList
attributeRequired
- Type: *string
GetNumberMap
attributeRequired
- Type: *string
GetString
attributeRequired
- Type: *string
GetStringMap
attributeRequired
- Type: *string
Keys
Token.asString.
PluckProperty
Token.asString.
propertyRequired
- Type: *string
Values
Token.asString.
Static Functions
FromComplexList
listRequired
- Type: interface{}
mapKeyAttributeNameRequired
- Type: *string
FromDataSources
for_each argument.
resourceRequired
- Type: ITerraformResource
FromList
listRequired
- Type: interface{}
FromMap
mapRequired
- Type: interface{}
FromResources
for_each argument.
resourceRequired
- Type: ITerraformResource
Properties
KeyRequired
- Type: *string
ValueRequired
- Type: interface{}