Package com.hashicorp.cdktf
Class ComplexObject
java.lang.Object
software.amazon.jsii.JsiiObject
com.hashicorp.cdktf.ComplexObject
- All Implemented Interfaces:
IInterpolatingParent,IResolvable,ITerraformAddressable,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.93.0 (build 1706ca5)",
date="2024-01-15T15:38:00.849Z")
@Stability(Experimental)
public class ComplexObject
extends software.amazon.jsii.JsiiObject
implements IInterpolatingParent, IResolvable, ITerraformAddressable
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface com.hashicorp.cdktf.IInterpolatingParent
IInterpolatingParent.Jsii$Default, IInterpolatingParent.Jsii$ProxyNested classes/interfaces inherited from interface com.hashicorp.cdktf.IResolvable
IResolvable.Jsii$Default, IResolvable.Jsii$ProxyNested classes/interfaces inherited from interface com.hashicorp.cdktf.ITerraformAddressable
ITerraformAddressable.Jsii$Default, ITerraformAddressable.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionComplexObject(IInterpolatingParent terraformResource, String terraformAttribute, Boolean complexObjectIsFromSet) ComplexObject(IInterpolatingParent terraformResource, String terraformAttribute, Boolean complexObjectIsFromSet, Object complexObjectIndex) protectedComplexObject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedComplexObject(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptiongetAnyMapAttribute(String terraformAttribute) getBooleanAttribute(String terraformAttribute) getBooleanMapAttribute(String terraformAttribute) protected Object(experimental) the index of the complex object in a list.protected Boolean(experimental) set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.(experimental) The creation stack of this resolvable which will be appended to errors thrown during resolution.getFqn()getListAttribute(String terraformAttribute) getNumberAttribute(String terraformAttribute) getNumberListAttribute(String terraformAttribute) getNumberMapAttribute(String terraformAttribute) getStringAttribute(String terraformAttribute) getStringMapAttribute(String terraformAttribute) protected Stringprotected IInterpolatingParentprotected IResolvableinterpolationForAttribute(String property) resolve(IResolveContext _context) (experimental) Produce the Token's value at resolution time.protected voidsetComplexObjectIndex(Number value) (experimental) the index of the complex object in a list.protected voidsetComplexObjectIndex(String value) (experimental) the index of the complex object in a list.protected voidsetComplexObjectIsFromSet(Boolean value) (experimental) set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items.protected voidsetTerraformAttribute(String value) protected voidtoString()(experimental) Return a string representation of this resolvable object.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ComplexObject
protected ComplexObject(software.amazon.jsii.JsiiObjectRef objRef) -
ComplexObject
protected ComplexObject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ComplexObject
@Stability(Experimental) public ComplexObject(@NotNull IInterpolatingParent terraformResource, @NotNull String terraformAttribute, @NotNull Boolean complexObjectIsFromSet, @Nullable Object complexObjectIndex) - Parameters:
terraformResource- This parameter is required.terraformAttribute- This parameter is required.complexObjectIsFromSet- set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. This parameter is required.complexObjectIndex- the index of the complex object in a list.
-
ComplexObject
@Stability(Experimental) public ComplexObject(@NotNull IInterpolatingParent terraformResource, @NotNull String terraformAttribute, @NotNull Boolean complexObjectIsFromSet) - Parameters:
terraformResource- This parameter is required.terraformAttribute- This parameter is required.complexObjectIsFromSet- set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. This parameter is required.
-
-
Method Details
-
computeFqn
-
getAnyMapAttribute
@Stability(Experimental) @NotNull public Map<String,Object> getAnyMapAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute- This parameter is required.
-
getBooleanAttribute
@Stability(Experimental) @NotNull public IResolvable getBooleanAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute- This parameter is required.
-
getBooleanMapAttribute
@Stability(Experimental) @NotNull public Map<String,Boolean> getBooleanMapAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute- This parameter is required.
-
getListAttribute
@Stability(Experimental) @NotNull public List<String> getListAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute- This parameter is required.
-
getNumberAttribute
@Stability(Experimental) @NotNull public Number getNumberAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute- This parameter is required.
-
getNumberListAttribute
@Stability(Experimental) @NotNull public List<Number> getNumberListAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute- This parameter is required.
-
getNumberMapAttribute
@Stability(Experimental) @NotNull public Map<String,Number> getNumberMapAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute- This parameter is required.
-
getStringAttribute
@Stability(Experimental) @NotNull public String getStringAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute- This parameter is required.
-
getStringMapAttribute
@Stability(Experimental) @NotNull public Map<String,String> getStringMapAttribute(@NotNull String terraformAttribute) - Parameters:
terraformAttribute- This parameter is required.
-
interpolationAsList
-
interpolationForAttribute
@Stability(Experimental) @NotNull public IResolvable interpolationForAttribute(@NotNull String property) - Specified by:
interpolationForAttributein interfaceIInterpolatingParent- Parameters:
property- This parameter is required.
-
resolve
(experimental) Produce the Token's value at resolution time.- Specified by:
resolvein interfaceIResolvable- Parameters:
_context- This parameter is required.
-
toString
(experimental) Return a string representation of this resolvable object.Returns a reversible string representation.
- Specified by:
toStringin interfaceIResolvable- Overrides:
toStringin classObject
-
getCreationStack
(experimental) 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.
- Specified by:
getCreationStackin interfaceIResolvable
-
getFqn
- Specified by:
getFqnin interfaceITerraformAddressable
-
getComplexObjectIsFromSet
(experimental) set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. -
setComplexObjectIsFromSet
(experimental) set to true if this item is from inside a set and needs tolist() for accessing it set to "0" for single list items. -
getTerraformAttribute
-
setTerraformAttribute
-
getTerraformResource
-
setTerraformResource
-
getComplexObjectIndex
(experimental) the index of the complex object in a list. -
setComplexObjectIndex
(experimental) the index of the complex object in a list. -
setComplexObjectIndex
(experimental) the index of the complex object in a list.
-