Skip to main content

Initializers

import { AnyMap } from 'cdktn'

new AnyMap(terraformResource: IInterpolatingParent, terraformAttribute: string)
NameTypeDescription
terraformResourceIInterpolatingParentNo description.
terraformAttributestringNo description.

terraformResourceRequired


terraformAttributeRequired

  • Type: string

Methods

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

computeFqn

public computeFqn(): string

lookup

public lookup(key: string): any

keyRequired

  • Type: string

resolve

public resolve(_context: IResolveContext): any
Produce the Token’s value at resolution time.

_contextRequired


toString

public toString(): string
Return a string representation of this resolvable object. Returns a reversible string representation.

Properties

NameTypeDescription
creationStackstring[]The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqnstringNo description.

creationStackRequired

public readonly creationStack: string[];
  • Type: string[]
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

public readonly fqn: string;
  • Type: string