Skip to main content

Initializers

import io.cdktn.cdktn.ComplexObject;

new ComplexObject(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Boolean complexObjectIsFromSet);,new ComplexObject(IInterpolatingParent terraformResource, java.lang.String terraformAttribute, java.lang.Boolean complexObjectIsFromSet, java.lang.String|java.lang.Number complexObjectIndex);
NameTypeDescription
terraformResourceIInterpolatingParentNo description.
terraformAttributejava.lang.StringNo description.
complexObjectIsFromSetjava.lang.Booleanset to true if this item is from inside a set and needs tolist() for accessing it set to “0” for single list items.
complexObjectIndexjava.lang.String|java.lang.Numberthe index of the complex object in a list.

terraformResourceRequired


terraformAttributeRequired

  • Type: java.lang.String

complexObjectIsFromSetRequired

  • Type: java.lang.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.

complexObjectIndexOptional

  • Type: java.lang.String|java.lang.Number
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

public java.lang.String computeFqn()

getAnyMapAttribute

public java.util.Map<java.lang.String, java.lang.Object> getAnyMapAttribute(java.lang.String terraformAttribute)

terraformAttributeRequired

  • Type: java.lang.String

getBooleanAttribute

public IResolvable getBooleanAttribute(java.lang.String terraformAttribute)

terraformAttributeRequired

  • Type: java.lang.String

getBooleanMapAttribute

public java.util.Map<java.lang.String, java.lang.Boolean> getBooleanMapAttribute(java.lang.String terraformAttribute)

terraformAttributeRequired

  • Type: java.lang.String

getListAttribute

public java.util.List<java.lang.String> getListAttribute(java.lang.String terraformAttribute)

terraformAttributeRequired

  • Type: java.lang.String

getNumberAttribute

public java.lang.Number getNumberAttribute(java.lang.String terraformAttribute)

terraformAttributeRequired

  • Type: java.lang.String

getNumberListAttribute

public java.util.List<java.lang.Number> getNumberListAttribute(java.lang.String terraformAttribute)

terraformAttributeRequired

  • Type: java.lang.String

getNumberMapAttribute

public java.util.Map<java.lang.String, java.lang.Number> getNumberMapAttribute(java.lang.String terraformAttribute)

terraformAttributeRequired

  • Type: java.lang.String

getStringAttribute

public java.lang.String getStringAttribute(java.lang.String terraformAttribute)

terraformAttributeRequired

  • Type: java.lang.String

getStringMapAttribute

public java.util.Map<java.lang.String, java.lang.String> getStringMapAttribute(java.lang.String terraformAttribute)

terraformAttributeRequired

  • Type: java.lang.String

interpolationForAttribute

public IResolvable interpolationForAttribute(java.lang.String property)

propertyRequired

  • Type: java.lang.String

resolve

public java.lang.Object resolve(IResolveContext _context)
Produce the Token’s value at resolution time.

_contextRequired


toString

public java.lang.String toString()
Return a string representation of this resolvable object. Returns a reversible string representation.

Properties

NameTypeDescription
creationStackjava.util.List< java.lang.String >The creation stack of this resolvable which will be appended to errors thrown during resolution.
fqnjava.lang.StringNo description.

creationStackRequired

public java.util.List<java.lang.String> getCreationStack();
  • Type: java.util.List< java.lang.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 java.lang.String getFqn();
  • Type: java.lang.String