-
Notifications
You must be signed in to change notification settings - Fork 0
/
ecs_EcsServiceLoadBalancerList.go
238 lines (204 loc) · 5.19 KB
/
ecs_EcsServiceLoadBalancerList.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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
package ecs
import (
_jsii_ "github.com/aws/jsii-runtime-go/runtime"
_init_ "github.com/hashicorp/cdktf-provider-aws-go/aws/v9/jsii"
"github.com/hashicorp/cdktf-provider-aws-go/aws/v9/ecs/internal"
"github.com/hashicorp/terraform-cdk-go/cdktf"
)
type EcsServiceLoadBalancerList interface {
cdktf.ComplexList
// 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
InternalValue() interface{}
SetInternalValue(val interface{})
// The attribute on the parent resource this class is referencing.
TerraformAttribute() *string
SetTerraformAttribute(val *string)
// The parent resource.
TerraformResource() cdktf.IInterpolatingParent
SetTerraformResource(val cdktf.IInterpolatingParent)
// whether the list is wrapping a set (will add tolist() to be able to access an item via an index).
WrapsSet() *bool
SetWrapsSet(val *bool)
// Experimental.
ComputeFqn() *string
Get(index *float64) EcsServiceLoadBalancerOutputReference
// Produce the Token's value at resolution time.
// Experimental.
Resolve(_context cdktf.IResolveContext) interface{}
// Return a string representation of this resolvable object.
//
// Returns a reversible string representation.
// Experimental.
ToString() *string
}
// The jsii proxy struct for EcsServiceLoadBalancerList
type jsiiProxy_EcsServiceLoadBalancerList struct {
internal.Type__cdktfComplexList
}
func (j *jsiiProxy_EcsServiceLoadBalancerList) CreationStack() *[]*string {
var returns *[]*string
_jsii_.Get(
j,
"creationStack",
&returns,
)
return returns
}
func (j *jsiiProxy_EcsServiceLoadBalancerList) Fqn() *string {
var returns *string
_jsii_.Get(
j,
"fqn",
&returns,
)
return returns
}
func (j *jsiiProxy_EcsServiceLoadBalancerList) InternalValue() interface{} {
var returns interface{}
_jsii_.Get(
j,
"internalValue",
&returns,
)
return returns
}
func (j *jsiiProxy_EcsServiceLoadBalancerList) TerraformAttribute() *string {
var returns *string
_jsii_.Get(
j,
"terraformAttribute",
&returns,
)
return returns
}
func (j *jsiiProxy_EcsServiceLoadBalancerList) TerraformResource() cdktf.IInterpolatingParent {
var returns cdktf.IInterpolatingParent
_jsii_.Get(
j,
"terraformResource",
&returns,
)
return returns
}
func (j *jsiiProxy_EcsServiceLoadBalancerList) WrapsSet() *bool {
var returns *bool
_jsii_.Get(
j,
"wrapsSet",
&returns,
)
return returns
}
func NewEcsServiceLoadBalancerList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) EcsServiceLoadBalancerList {
_init_.Initialize()
if err := validateNewEcsServiceLoadBalancerListParameters(terraformResource, terraformAttribute, wrapsSet); err != nil {
panic(err)
}
j := jsiiProxy_EcsServiceLoadBalancerList{}
_jsii_.Create(
"@cdktf/provider-aws.ecs.EcsServiceLoadBalancerList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
&j,
)
return &j
}
func NewEcsServiceLoadBalancerList_Override(e EcsServiceLoadBalancerList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) {
_init_.Initialize()
_jsii_.Create(
"@cdktf/provider-aws.ecs.EcsServiceLoadBalancerList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
e,
)
}
func (j *jsiiProxy_EcsServiceLoadBalancerList)SetInternalValue(val interface{}) {
if err := j.validateSetInternalValueParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"internalValue",
val,
)
}
func (j *jsiiProxy_EcsServiceLoadBalancerList)SetTerraformAttribute(val *string) {
if err := j.validateSetTerraformAttributeParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformAttribute",
val,
)
}
func (j *jsiiProxy_EcsServiceLoadBalancerList)SetTerraformResource(val cdktf.IInterpolatingParent) {
if err := j.validateSetTerraformResourceParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformResource",
val,
)
}
func (j *jsiiProxy_EcsServiceLoadBalancerList)SetWrapsSet(val *bool) {
if err := j.validateSetWrapsSetParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"wrapsSet",
val,
)
}
func (e *jsiiProxy_EcsServiceLoadBalancerList) ComputeFqn() *string {
var returns *string
_jsii_.Invoke(
e,
"computeFqn",
nil, // no parameters
&returns,
)
return returns
}
func (e *jsiiProxy_EcsServiceLoadBalancerList) Get(index *float64) EcsServiceLoadBalancerOutputReference {
if err := e.validateGetParameters(index); err != nil {
panic(err)
}
var returns EcsServiceLoadBalancerOutputReference
_jsii_.Invoke(
e,
"get",
[]interface{}{index},
&returns,
)
return returns
}
func (e *jsiiProxy_EcsServiceLoadBalancerList) Resolve(_context cdktf.IResolveContext) interface{} {
if err := e.validateResolveParameters(_context); err != nil {
panic(err)
}
var returns interface{}
_jsii_.Invoke(
e,
"resolve",
[]interface{}{_context},
&returns,
)
return returns
}
func (e *jsiiProxy_EcsServiceLoadBalancerList) ToString() *string {
var returns *string
_jsii_.Invoke(
e,
"toString",
nil, // no parameters
&returns,
)
return returns
}