Skip to main content

Initializers

import cdktn

cdktn.AnyMap(
  terraform_resource: IInterpolatingParent,
  terraform_attribute: str
)
NameTypeDescription
terraform_resourceIInterpolatingParentNo description.
terraform_attributestrNo description.

terraform_resourceRequired


terraform_attributeRequired

  • Type: str

Methods

NameDescription
compute_fqnNo description.
lookupNo description.
resolveProduce the Token’s value at resolution time.
to_stringReturn a string representation of this resolvable object.

compute_fqn

def compute_fqn() -> str

lookup

def lookup(
  key: str
) -> typing.Any

keyRequired

  • Type: 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