Initializers
| Name | Type | Description |
|---|
Static Functions
| Name | Description |
|---|---|
as_any | Return a resolvable representation of the given value. |
as_any_map | Return a reversible map representation of this token. |
as_boolean_map | Return a reversible map representation of this token. |
as_list | Return a reversible list representation of this token. |
as_map | Return a reversible map representation of this token. |
as_number | Return a reversible number representation of this token. |
as_number_list | Return a reversible list representation of this token. |
as_number_map | Return a reversible map representation of this token. |
as_string | Return a reversible string representation of this token. |
as_string_map | Return a reversible map representation of this token. |
is_unresolved | Returns true if obj represents an unresolved value. |
null_value | Return a Token containing a null value. |
as_any
valueRequired
- Type: typing.Any
as_any_map
valueRequired
- Type: typing.Any
display_hintOptional
- Type: str
- Default: no display hint
as_boolean_map
valueRequired
- Type: typing.Any
display_hintOptional
- Type: str
- Default: no display hint
as_list
valueRequired
- Type: typing.Any
display_hintOptional
- Type: str
- Default: no display hint
as_map
valueRequired
- Type: typing.Any
map_valueRequired
- Type: typing.Any
display_hintOptional
- Type: str
- Default: no display hint
as_number
valueRequired
- Type: typing.Any
as_number_list
valueRequired
- Type: typing.Any
as_number_map
valueRequired
- Type: typing.Any
display_hintOptional
- Type: str
- Default: no display hint
as_string
resolve()
on the string.
valueRequired
- Type: typing.Any
display_hintOptional
- Type: str
- Default: no display hint
as_string_map
valueRequired
- Type: typing.Any
display_hintOptional
- Type: str
- Default: no display hint
is_unresolved
objis an IResolvableobjis a string containing at least one encodedIResolvableobjis either an encoded number or list
objRequired
- Type: typing.Any
null_value
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 | str | Any map token representation. |
NUMBER_MAP_TOKEN_VALUE | typing.Union[int, float] | Number Map token value representation. |
STRING_MAP_TOKEN_VALUE | str | String Map token value representation. |
ANY_MAP_TOKEN_VALUERequired
- Type: str
NUMBER_MAP_TOKEN_VALUERequired
- Type: typing.Union[int, float]
STRING_MAP_TOKEN_VALUERequired
- Type: str