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.102.0 (build e354887)",
date="2024-12-09T10:24:39.592Z")
@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.InitializationMode
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IInterpolatingParent
IInterpolatingParent.Jsii$Default, IInterpolatingParent.Jsii$Proxy
Nested classes/interfaces inherited from interface com.hashicorp.cdktf.IResolvable
IResolvable.Jsii$Default, IResolvable.Jsii$Proxy
Nested 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) protected
ComplexObject
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ComplexObject
(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 String
protected IInterpolatingParent
protected IResolvable
interpolationForAttribute
(String property) resolve
(IResolveContext _context) (experimental) Produce the Token's value at resolution time.protected void
setComplexObjectIndex
(Number value) (experimental) the index of the complex object in a list.protected void
setComplexObjectIndex
(String value) (experimental) the index of the complex object in a list.protected void
setComplexObjectIsFromSet
(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 void
setTerraformAttribute
(String value) protected void
toString()
(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, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
interpolationForAttribute
in interfaceIInterpolatingParent
- Parameters:
property
- This parameter is required.
-
resolve
(experimental) Produce the Token's value at resolution time.- Specified by:
resolve
in interfaceIResolvable
- Parameters:
_context
- This parameter is required.
-
toString
(experimental) Return a string representation of this resolvable object.Returns a reversible string representation.
- Specified by:
toString
in interfaceIResolvable
- Overrides:
toString
in 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:
getCreationStack
in interfaceIResolvable
-
getFqn
- Specified by:
getFqn
in 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.
-