Initializers
| Name | Type | Description |
|---|
Static Functions
| Name | Description |
|---|---|
asAny | Return a resolvable representation of the given value. |
asAnyMap | Return a reversible map representation of this token. |
asBooleanMap | Return a reversible map representation of this token. |
asList | Return a reversible list representation of this token. |
asMap | Return a reversible map representation of this token. |
asNumber | Return a reversible number representation of this token. |
asNumberList | Return a reversible list representation of this token. |
asNumberMap | Return a reversible map representation of this token. |
asString | Return a reversible string representation of this token. |
asStringMap | Return a reversible map representation of this token. |
isUnresolved | Returns true if obj represents an unresolved value. |
nullValue | Return a Token containing a null value. |
asAny
valueRequired
- Type: any
asAnyMap
valueRequired
- Type: any
optionsOptional
- Type: EncodingOptions
asBooleanMap
valueRequired
- Type: any
optionsOptional
- Type: EncodingOptions
asList
valueRequired
- Type: any
optionsOptional
- Type: EncodingOptions
asMap
valueRequired
- Type: any
mapValueRequired
- Type: any
optionsOptional
- Type: EncodingOptions
asNumber
valueRequired
- Type: any
asNumberList
valueRequired
- Type: any
asNumberMap
valueRequired
- Type: any
optionsOptional
- Type: EncodingOptions
asString
resolve()
on the string.
valueRequired
- Type: any
optionsOptional
- Type: EncodingOptions
asStringMap
valueRequired
- Type: any
optionsOptional
- Type: EncodingOptions
isUnresolved
objis an IResolvableobjis a string containing at least one encodedIResolvableobjis either an encoded number or list
objRequired
- Type: any
nullValue
null value.
Note: This is different than undefined, nil, None or similar
as it will end up in the Terraform config and can be used to explicitly
not set an attribute (which is sometimes required by Terraform providers)
Constants
| Name | Type | Description |
|---|---|---|
ANY_MAP_TOKEN_VALUE | string | Any map token representation. |
NUMBER_MAP_TOKEN_VALUE | number | Number Map token value representation. |
STRING_MAP_TOKEN_VALUE | string | String Map token value representation. |
ANY_MAP_TOKEN_VALUERequired
- Type: string
NUMBER_MAP_TOKEN_VALUERequired
- Type: number
STRING_MAP_TOKEN_VALUERequired
- Type: string