Skip to main content

Initializers

using Io.Cdktn;

new ComplexObject(IInterpolatingParent TerraformResource, string TerraformAttribute, bool ComplexObjectIsFromSet, string|double ComplexObjectIndex = null);
NameTypeDescription
TerraformResourceIInterpolatingParentNo description.
TerraformAttributestringNo description.
ComplexObjectIsFromSetboolset to true if this item is from inside a set and needs tolist() for accessing it set to “0” for single list items.
ComplexObjectIndexstring|doublethe index of the complex object in a list.

TerraformResourceRequired


TerraformAttributeRequired

  • Type: string

ComplexObjectIsFromSetRequired

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

  • Type: string|double
the index of the complex object in a list.

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

private string ComputeFqn()

GetAnyMapAttribute

private System.Collections.Generic.IDictionary<string, object> GetAnyMapAttribute(string TerraformAttribute)

TerraformAttributeRequired

  • Type: string

GetBooleanAttribute

private IResolvable GetBooleanAttribute(string TerraformAttribute)

TerraformAttributeRequired

  • Type: string

GetBooleanMapAttribute

private System.Collections.Generic.IDictionary<string, bool> GetBooleanMapAttribute(string TerraformAttribute)

TerraformAttributeRequired

  • Type: string

GetListAttribute

private string[] GetListAttribute(string TerraformAttribute)

TerraformAttributeRequired

  • Type: string

GetNumberAttribute

private double GetNumberAttribute(string TerraformAttribute)

TerraformAttributeRequired

  • Type: string

GetNumberListAttribute

private double[] GetNumberListAttribute(string TerraformAttribute)

TerraformAttributeRequired

  • Type: string

GetNumberMapAttribute

private System.Collections.Generic.IDictionary<string, double> GetNumberMapAttribute(string TerraformAttribute)

TerraformAttributeRequired

  • Type: string

GetStringAttribute

private string GetStringAttribute(string TerraformAttribute)

TerraformAttributeRequired

  • Type: string

GetStringMapAttribute

private System.Collections.Generic.IDictionary<string, string> GetStringMapAttribute(string TerraformAttribute)

TerraformAttributeRequired

  • Type: string

InterpolationForAttribute

private IResolvable InterpolationForAttribute(string Property)

PropertyRequired

  • Type: string

Resolve

private object Resolve(IResolveContext Context)
Produce the Token’s value at resolution time.

ContextRequired


ToString

private string ToString()
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 string[] CreationStack { get; }
  • 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 string Fqn { get; }
  • Type: string