Skip to main content

Initializers

import { ComplexComputedList } from 'cdktn'

new ComplexComputedList(terraformResource: IInterpolatingParent, terraformAttribute: string, complexComputedListIndex: string, wrapsSet?: boolean)
NameTypeDescription
terraformResourceIInterpolatingParentNo description.
terraformAttributestringNo description.
complexComputedListIndexstringNo description.
wrapsSetbooleanNo description.

terraformResourceRequired


terraformAttributeRequired

  • Type: string

complexComputedListIndexRequired

  • Type: string

wrapsSetOptional

  • Type: boolean

Methods

NameDescription
computeFqnNo description.
getAnyMapAttributeNo description.
getBooleanAttributeNo description.
getBooleanMapAttributeNo description.
getListAttributeNo description.
getNumberAttributeNo description.
getNumberListAttributeNo description.
getNumberMapAttributeNo description.
getStringAttributeNo description.
getStringMapAttributeNo description.
interpolationForAttributeNo description.
resolveProduce the Token’s value at resolution time.
toStringReturn a string representation of this resolvable object.

computeFqn

public computeFqn(): string

getAnyMapAttribute

public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}

terraformAttributeRequired

  • Type: string

getBooleanAttribute

public getBooleanAttribute(terraformAttribute: string): IResolvable

terraformAttributeRequired

  • Type: string

getBooleanMapAttribute

public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}

terraformAttributeRequired

  • Type: string

getListAttribute

public getListAttribute(terraformAttribute: string): string[]

terraformAttributeRequired

  • Type: string

getNumberAttribute

public getNumberAttribute(terraformAttribute: string): number

terraformAttributeRequired

  • Type: string

getNumberListAttribute

public getNumberListAttribute(terraformAttribute: string): number[]

terraformAttributeRequired

  • Type: string

getNumberMapAttribute

public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}

terraformAttributeRequired

  • Type: string

getStringAttribute

public getStringAttribute(terraformAttribute: string): string

terraformAttributeRequired

  • Type: string

getStringMapAttribute

public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}

terraformAttributeRequired

  • Type: string

interpolationForAttribute

public interpolationForAttribute(property: string): IResolvable

propertyRequired

  • 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

  • Deprecated: Going to be replaced by Array of ComplexListItem and will be removed in the future
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

  • Deprecated: Going to be replaced by Array of ComplexListItem and will be removed in the future
public readonly fqn: string;
  • Type: string