-
Notifications
You must be signed in to change notification settings - Fork 0
/
appmesh_AppmeshRouteSpecHttpRouteMatchHeaderList.go
238 lines (204 loc) · 5.58 KB
/
appmesh_AppmeshRouteSpecHttpRouteMatchHeaderList.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 appmesh
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/appmesh/internal"
"github.com/hashicorp/terraform-cdk-go/cdktf"
)
type AppmeshRouteSpecHttpRouteMatchHeaderList 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) AppmeshRouteSpecHttpRouteMatchHeaderOutputReference
// 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 AppmeshRouteSpecHttpRouteMatchHeaderList
type jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList struct {
internal.Type__cdktfComplexList
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) CreationStack() *[]*string {
var returns *[]*string
_jsii_.Get(
j,
"creationStack",
&returns,
)
return returns
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) Fqn() *string {
var returns *string
_jsii_.Get(
j,
"fqn",
&returns,
)
return returns
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) InternalValue() interface{} {
var returns interface{}
_jsii_.Get(
j,
"internalValue",
&returns,
)
return returns
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) TerraformAttribute() *string {
var returns *string
_jsii_.Get(
j,
"terraformAttribute",
&returns,
)
return returns
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) TerraformResource() cdktf.IInterpolatingParent {
var returns cdktf.IInterpolatingParent
_jsii_.Get(
j,
"terraformResource",
&returns,
)
return returns
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) WrapsSet() *bool {
var returns *bool
_jsii_.Get(
j,
"wrapsSet",
&returns,
)
return returns
}
func NewAppmeshRouteSpecHttpRouteMatchHeaderList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) AppmeshRouteSpecHttpRouteMatchHeaderList {
_init_.Initialize()
if err := validateNewAppmeshRouteSpecHttpRouteMatchHeaderListParameters(terraformResource, terraformAttribute, wrapsSet); err != nil {
panic(err)
}
j := jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList{}
_jsii_.Create(
"@cdktf/provider-aws.appmesh.AppmeshRouteSpecHttpRouteMatchHeaderList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
&j,
)
return &j
}
func NewAppmeshRouteSpecHttpRouteMatchHeaderList_Override(a AppmeshRouteSpecHttpRouteMatchHeaderList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) {
_init_.Initialize()
_jsii_.Create(
"@cdktf/provider-aws.appmesh.AppmeshRouteSpecHttpRouteMatchHeaderList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
a,
)
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList)SetInternalValue(val interface{}) {
if err := j.validateSetInternalValueParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"internalValue",
val,
)
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList)SetTerraformAttribute(val *string) {
if err := j.validateSetTerraformAttributeParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformAttribute",
val,
)
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList)SetTerraformResource(val cdktf.IInterpolatingParent) {
if err := j.validateSetTerraformResourceParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformResource",
val,
)
}
func (j *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList)SetWrapsSet(val *bool) {
if err := j.validateSetWrapsSetParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"wrapsSet",
val,
)
}
func (a *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) ComputeFqn() *string {
var returns *string
_jsii_.Invoke(
a,
"computeFqn",
nil, // no parameters
&returns,
)
return returns
}
func (a *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) Get(index *float64) AppmeshRouteSpecHttpRouteMatchHeaderOutputReference {
if err := a.validateGetParameters(index); err != nil {
panic(err)
}
var returns AppmeshRouteSpecHttpRouteMatchHeaderOutputReference
_jsii_.Invoke(
a,
"get",
[]interface{}{index},
&returns,
)
return returns
}
func (a *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) Resolve(_context cdktf.IResolveContext) interface{} {
if err := a.validateResolveParameters(_context); err != nil {
panic(err)
}
var returns interface{}
_jsii_.Invoke(
a,
"resolve",
[]interface{}{_context},
&returns,
)
return returns
}
func (a *jsiiProxy_AppmeshRouteSpecHttpRouteMatchHeaderList) ToString() *string {
var returns *string
_jsii_.Invoke(
a,
"toString",
nil, // no parameters
&returns,
)
return returns
}