@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-17T07:16:14.396Z") @Stability(value=Experimental) public class ComplexObject extends software.amazon.jsii.JsiiObject implements IInterpolatingParent, IResolvable, ITerraformAddressable
software.amazon.jsii.JsiiObject.InitializationMode
IInterpolatingParent.Jsii$Default, IInterpolatingParent.Jsii$Proxy
IResolvable.Jsii$Default, IResolvable.Jsii$Proxy
ITerraformAddressable.Jsii$Default, ITerraformAddressable.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
|
ComplexObject(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) |
Modifier and Type | Method and Description |
---|---|
String |
computeFqn() |
Map<String,Object> |
getAnyMapAttribute(String terraformAttribute) |
IResolvable |
getBooleanAttribute(String terraformAttribute) |
Map<String,Boolean> |
getBooleanMapAttribute(String terraformAttribute) |
protected Object |
getComplexObjectIndex()
(experimental) the index of the complex object in a list.
|
protected Boolean |
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.
|
List<String> |
getCreationStack()
(experimental) The creation stack of this resolvable which will be appended to errors thrown during resolution.
|
String |
getFqn() |
List<String> |
getListAttribute(String terraformAttribute) |
Number |
getNumberAttribute(String terraformAttribute) |
List<Number> |
getNumberListAttribute(String terraformAttribute) |
Map<String,Number> |
getNumberMapAttribute(String terraformAttribute) |
String |
getStringAttribute(String terraformAttribute) |
Map<String,String> |
getStringMapAttribute(String terraformAttribute) |
protected String |
getTerraformAttribute() |
protected IInterpolatingParent |
getTerraformResource() |
protected IResolvable |
interpolationAsList() |
IResolvable |
interpolationForAttribute(String property) |
Object |
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 |
setTerraformResource(IInterpolatingParent value) |
String |
toString()
(experimental) Return a string representation of this resolvable object.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
protected ComplexObject(software.amazon.jsii.JsiiObjectRef objRef)
protected ComplexObject(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental) public ComplexObject(@NotNull IInterpolatingParent terraformResource, @NotNull String terraformAttribute, @NotNull Boolean complexObjectIsFromSet, @Nullable Object complexObjectIndex)
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.@Stability(value=Experimental) public ComplexObject(@NotNull IInterpolatingParent terraformResource, @NotNull String terraformAttribute, @NotNull Boolean complexObjectIsFromSet)
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.@Stability(value=Experimental) @NotNull public String computeFqn()
@Stability(value=Experimental) @NotNull public Map<String,Object> getAnyMapAttribute(@NotNull String terraformAttribute)
terraformAttribute
- This parameter is required.@Stability(value=Experimental) @NotNull public IResolvable getBooleanAttribute(@NotNull String terraformAttribute)
terraformAttribute
- This parameter is required.@Stability(value=Experimental) @NotNull public Map<String,Boolean> getBooleanMapAttribute(@NotNull String terraformAttribute)
terraformAttribute
- This parameter is required.@Stability(value=Experimental) @NotNull public List<String> getListAttribute(@NotNull String terraformAttribute)
terraformAttribute
- This parameter is required.@Stability(value=Experimental) @NotNull public Number getNumberAttribute(@NotNull String terraformAttribute)
terraformAttribute
- This parameter is required.@Stability(value=Experimental) @NotNull public List<Number> getNumberListAttribute(@NotNull String terraformAttribute)
terraformAttribute
- This parameter is required.@Stability(value=Experimental) @NotNull public Map<String,Number> getNumberMapAttribute(@NotNull String terraformAttribute)
terraformAttribute
- This parameter is required.@Stability(value=Experimental) @NotNull public String getStringAttribute(@NotNull String terraformAttribute)
terraformAttribute
- This parameter is required.@Stability(value=Experimental) @NotNull public Map<String,String> getStringMapAttribute(@NotNull String terraformAttribute)
terraformAttribute
- This parameter is required.@Stability(value=Experimental) @NotNull protected IResolvable interpolationAsList()
@Stability(value=Experimental) @NotNull public IResolvable interpolationForAttribute(@NotNull String property)
interpolationForAttribute
in interface IInterpolatingParent
property
- This parameter is required.@Stability(value=Experimental) @NotNull public Object resolve(@NotNull IResolveContext _context)
resolve
in interface IResolvable
_context
- This parameter is required.@Stability(value=Experimental) @NotNull public String toString()
Returns a reversible string representation.
toString
in interface IResolvable
toString
in class Object
@Stability(value=Experimental) @NotNull public List<String> getCreationStack()
If this returns an empty array the stack will not be attached.
getCreationStack
in interface IResolvable
@Stability(value=Experimental) @NotNull public String getFqn()
getFqn
in interface ITerraformAddressable
@Stability(value=Experimental) @NotNull protected Boolean getComplexObjectIsFromSet()
@Stability(value=Experimental) protected void setComplexObjectIsFromSet(@NotNull Boolean value)
@Stability(value=Experimental) @NotNull protected String getTerraformAttribute()
@Stability(value=Experimental) protected void setTerraformAttribute(@NotNull String value)
@Stability(value=Experimental) @NotNull protected IInterpolatingParent getTerraformResource()
@Stability(value=Experimental) protected void setTerraformResource(@NotNull IInterpolatingParent value)
@Stability(value=Experimental) @Nullable protected Object getComplexObjectIndex()
@Stability(value=Experimental) protected void setComplexObjectIndex(@Nullable String value)
@Stability(value=Experimental) protected void setComplexObjectIndex(@Nullable Number value)
Copyright © 2023. All rights reserved.