Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializers
import { ComplexObject } from 'cdktn'
new ComplexObject(terraformResource: IInterpolatingParent, terraformAttribute: string, complexObjectIsFromSet: boolean, complexObjectIndex?: string | number)
| Name | Type | Description |
|---|
terraformResource | IInterpolatingParent | No description. |
terraformAttribute | string | No description. |
complexObjectIsFromSet | boolean | set to true if this item is from inside a set and needs tolist() for accessing it set to “0” for single list items. |
complexObjectIndex | string | number | the index of the complex object in a list. |
complexObjectIsFromSetRequired
set to true if this item is from inside a set and needs tolist() for accessing it set to “0” for single list items.
complexObjectIndexOptional
the index of the complex object in a list.
Methods
| Name | Description |
|---|
computeFqn | No description. |
getAnyMapAttribute | No description. |
getBooleanAttribute | No description. |
getBooleanMapAttribute | No description. |
getListAttribute | No description. |
getNumberAttribute | No description. |
getNumberListAttribute | No description. |
getNumberMapAttribute | No description. |
getStringAttribute | No description. |
getStringMapAttribute | No description. |
interpolationForAttribute | No description. |
resolve | Produce the Token’s value at resolution time. |
toString | Return a string representation of this resolvable object. |
computeFqn
public computeFqn(): string
getAnyMapAttribute
public getAnyMapAttribute(terraformAttribute: string): {[ key: string ]: any}
getBooleanAttribute
public getBooleanAttribute(terraformAttribute: string): IResolvable
getBooleanMapAttribute
public getBooleanMapAttribute(terraformAttribute: string): {[ key: string ]: boolean}
getListAttribute
public getListAttribute(terraformAttribute: string): string[]
getNumberAttribute
public getNumberAttribute(terraformAttribute: string): number
getNumberListAttribute
public getNumberListAttribute(terraformAttribute: string): number[]
getNumberMapAttribute
public getNumberMapAttribute(terraformAttribute: string): {[ key: string ]: number}
getStringAttribute
public getStringAttribute(terraformAttribute: string): string
getStringMapAttribute
public getStringMapAttribute(terraformAttribute: string): {[ key: string ]: string}
interpolationForAttribute
public interpolationForAttribute(property: string): IResolvable
propertyRequired
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
| Name | Type | Description |
|---|
creationStack | string[] | The creation stack of this resolvable which will be appended to errors thrown during resolution. |
fqn | string | No description. |
creationStackRequired
public readonly creationStack: 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;