-
Notifications
You must be signed in to change notification settings - Fork 6
/
cdktf_ComplexMap.go
161 lines (139 loc) · 3.04 KB
/
cdktf_ComplexMap.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
// Cloud Development Kit for Terraform
package cdktf
import (
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
_init_ "github.com/hashicorp/terraform-cdk-go/cdktf/jsii"
)
// Experimental.
type ComplexMap interface {
IResolvable
ITerraformAddressable
// 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.
// Experimental.
CreationStack() *[]*string
// Experimental.
Fqn() *string
// Experimental.
TerraformAttribute() *string
// Experimental.
SetTerraformAttribute(val *string)
// Experimental.
TerraformResource() IInterpolatingParent
// Experimental.
SetTerraformResource(val IInterpolatingParent)
// Experimental.
ComputeFqn() *string
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
// The jsii proxy struct for ComplexMap
type jsiiProxy_ComplexMap struct {
jsiiProxy_IResolvable
jsiiProxy_ITerraformAddressable
}
func (j *jsiiProxy_ComplexMap) CreationStack() *[]*string {
var returns *[]*string
_jsii_.Get(
j,
"creationStack",
&returns,
)
return returns
}
func (j *jsiiProxy_ComplexMap) Fqn() *string {
var returns *string
_jsii_.Get(
j,
"fqn",
&returns,
)
return returns
}
func (j *jsiiProxy_ComplexMap) TerraformAttribute() *string {
var returns *string
_jsii_.Get(
j,
"terraformAttribute",
&returns,
)
return returns
}
func (j *jsiiProxy_ComplexMap) TerraformResource() IInterpolatingParent {
var returns IInterpolatingParent
_jsii_.Get(
j,
"terraformResource",
&returns,
)
return returns
}
// Experimental.
func NewComplexMap_Override(c ComplexMap, terraformResource IInterpolatingParent, terraformAttribute *string) {
_init_.Initialize()
_jsii_.Create(
"cdktf.ComplexMap",
[]interface{}{terraformResource, terraformAttribute},
c,
)
}
func (j *jsiiProxy_ComplexMap)SetTerraformAttribute(val *string) {
if err := j.validateSetTerraformAttributeParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformAttribute",
val,
)
}
func (j *jsiiProxy_ComplexMap)SetTerraformResource(val IInterpolatingParent) {
if err := j.validateSetTerraformResourceParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformResource",
val,
)
}
func (c *jsiiProxy_ComplexMap) ComputeFqn() *string {
var returns *string
_jsii_.Invoke(
c,
"computeFqn",
nil, // no parameters
&returns,
)
return returns
}
func (c *jsiiProxy_ComplexMap) Resolve(_context IResolveContext) interface{} {
if err := c.validateResolveParameters(_context); err != nil {
panic(err)
}
var returns interface{}
_jsii_.Invoke(
c,
"resolve",
[]interface{}{_context},
&returns,
)
return returns
}
func (c *jsiiProxy_ComplexMap) ToString() *string {
var returns *string
_jsii_.Invoke(
c,
"toString",
nil, // no parameters
&returns,
)
return returns
}