Skip to main content

Initializers

import cdktn

cdktn.ComplexList(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str,
  wraps_set: bool
)
NameTypeDescription
terraform_resourceIInterpolatingParentNo description.
terraform_attributestrNo description.
wraps_setboolNo description.

terraform_resourceRequired


terraform_attributeRequired

  • Type: str

wraps_setRequired

  • Type: bool

Methods

NameDescription
all_with_map_keyCreating an iterator for this complex list.
compute_fqnNo description.
resolveProduce the Token’s value at resolution time.
to_stringReturn a string representation of this resolvable object.

all_with_map_key

def all_with_map_key(
  map_key_attribute_name: str
) -> DynamicListTerraformIterator
Creating an iterator for this complex list. The list will be converted into a map with the mapKeyAttributeName as the key.

map_key_attribute_nameRequired

  • Type: str

compute_fqn

def compute_fqn() -> str

resolve

def resolve(
  _context: IResolveContext
) -> typing.Any
Produce the Token’s value at resolution time.

_contextRequired


to_string

def to_string() -> str
Return a string representation of this resolvable object. Returns a reversible string representation.

Properties

NameTypeDescription
creation_stacktyping.List[str]The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqnstrNo description.

creation_stackRequired

creation_stack: typing.List[str]
  • Type: 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

fqn: str
  • Type: str