Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializers
import cdktn
cdktn.ComplexObject(
terraform_resource: IInterpolatingParent,
terraform_attribute: str,
complex_object_is_from_set: bool,
complex_object_index: str | typing.Union[int, float] = None
)
| Name | Type | Description |
|---|
terraform_resource | IInterpolatingParent | No description. |
terraform_attribute | str | No description. |
complex_object_is_from_set | bool | set to true if this item is from inside a set and needs tolist() for accessing it set to “0” for single list items. |
complex_object_index | str | typing.Union[int, float] | the index of the complex object in a list. |
complex_object_is_from_setRequired
set to true if this item is from inside a set and needs tolist() for accessing it set to “0” for single list items.
complex_object_indexOptional
- Type: str | typing.Union[int, float]
the index of the complex object in a list.
Methods
| Name | Description |
|---|
compute_fqn | No description. |
get_any_map_attribute | No description. |
get_boolean_attribute | No description. |
get_boolean_map_attribute | No description. |
get_list_attribute | No description. |
get_number_attribute | No description. |
get_number_list_attribute | No description. |
get_number_map_attribute | No description. |
get_string_attribute | No description. |
get_string_map_attribute | No description. |
interpolation_for_attribute | No description. |
resolve | Produce the Token’s value at resolution time. |
to_string | Return a string representation of this resolvable object. |
compute_fqn
get_any_map_attribute
def get_any_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Any]
get_boolean_attribute
def get_boolean_attribute(
terraform_attribute: str
) -> IResolvable
get_boolean_map_attribute
def get_boolean_map_attribute(
terraform_attribute: str
) -> typing.Mapping[bool]
get_list_attribute
def get_list_attribute(
terraform_attribute: str
) -> typing.List[str]
get_number_attribute
def get_number_attribute(
terraform_attribute: str
) -> typing.Union[int, float]
get_number_list_attribute
def get_number_list_attribute(
terraform_attribute: str
) -> typing.List[typing.Union[int, float]]
get_number_map_attribute
def get_number_map_attribute(
terraform_attribute: str
) -> typing.Mapping[typing.Union[int, float]]
get_string_attribute
def get_string_attribute(
terraform_attribute: str
) -> str
get_string_map_attribute
def get_string_map_attribute(
terraform_attribute: str
) -> typing.Mapping[str]
interpolation_for_attribute
def interpolation_for_attribute(
property: str
) -> IResolvable
propertyRequired
resolve
def resolve(
_context: IResolveContext
) -> typing.Any
Produce the Token’s value at resolution time.
_contextRequired
to_string
Return a string representation of this resolvable object.
Returns a reversible string representation.
Properties
| Name | Type | Description |
|---|
creation_stack | typing.List[str] | The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn | str | No description. |
creation_stackRequired
creation_stack: typing.List[str]
The creation stack of this resolvable which will be appended to errors thrown during resolution.
If this returns an empty array the stack will not be attached.
fqnRequired