Skip to main content

Initializers

import { BooleanList } from 'cdktn'

new BooleanList(terraformResource: IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean)
NameTypeDescription
terraformResourceIInterpolatingParentNo description.
terraformAttributestringNo description.
wrapsSetbooleanNo description.

terraformResourceRequired


terraformAttributeRequired

  • Type: string

wrapsSetRequired

  • Type: boolean

Methods

NameDescription
allWithMapKeyCreating an iterator for this complex list.
computeFqnNo description.
resolveProduce the Token’s value at resolution time.
toStringReturn a string representation of this resolvable object.
getNo description.

allWithMapKey

public allWithMapKey(mapKeyAttributeName: string): DynamicListTerraformIterator
Creating an iterator for this complex list. The list will be converted into a map with the mapKeyAttributeName as the key.

mapKeyAttributeNameRequired

  • Type: string

computeFqn

public computeFqn(): 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.

get

public get(index: number): IResolvable

indexRequired

  • Type: number

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