Documentation Index
Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
Initializers
import "github.com/open-constructs/cdk-terrain-go/cdktn"
cdktn.NewComplexObject(terraformResource IInterpolatingParent, terraformAttribute *string, complexObjectIsFromSet *bool, complexObjectIndex interface{}) ComplexObject
| Name | Type | Description |
|---|
terraformResource | IInterpolatingParent | No description. |
terraformAttribute | *string | No description. |
complexObjectIsFromSet | *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. |
complexObjectIndex | interface{} | the index of the complex object in a list. |
complexObjectIsFromSetRequired
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
the index of the complex object in a list.
Methods
| Name | Description |
|---|
ComputeFqn | No description. |
GetAnyMapAttribute | No description. |
GetBooleanAttribute | No description. |
GetBooleanMapAttribute | No description. |
GetListAttribute | No description. |
GetNumberAttribute | No description. |
GetNumberListAttribute | No description. |
GetNumberMapAttribute | No description. |
GetStringAttribute | No description. |
GetStringMapAttribute | No description. |
InterpolationForAttribute | No description. |
Resolve | Produce the Token’s value at resolution time. |
ToString | Return a string representation of this resolvable object. |
ComputeFqn
func ComputeFqn() *string
GetAnyMapAttribute
func GetAnyMapAttribute(terraformAttribute *string) *map[string]interface{}
GetBooleanAttribute
func GetBooleanAttribute(terraformAttribute *string) IResolvable
GetBooleanMapAttribute
func GetBooleanMapAttribute(terraformAttribute *string) *map[string]*bool
GetListAttribute
func GetListAttribute(terraformAttribute *string) *[]*string
GetNumberAttribute
func GetNumberAttribute(terraformAttribute *string) *f64
GetNumberListAttribute
func GetNumberListAttribute(terraformAttribute *string) *[]*f64
GetNumberMapAttribute
func GetNumberMapAttribute(terraformAttribute *string) *map[string]*f64
GetStringAttribute
func GetStringAttribute(terraformAttribute *string) *string
GetStringMapAttribute
func GetStringMapAttribute(terraformAttribute *string) *map[string]*string
InterpolationForAttribute
func InterpolationForAttribute(property *string) IResolvable
propertyRequired
Resolve
func Resolve(_context IResolveContext) interface{}
Produce the Token’s value at resolution time.
_contextRequired
ToString
Return a string representation of this resolvable object.
Returns a reversible string representation.
Properties
| Name | Type | Description |
|---|
CreationStack | *[]*string | The creation stack of this resolvable which will be appended to errors thrown during resolution. |
Fqn | *string | No description. |
CreationStackRequired
func CreationStack() *[]*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