-
Notifications
You must be signed in to change notification settings - Fork 0
/
aws_DataAwsMemorydbClusterShardsNodesList.go
216 lines (184 loc) · 5.06 KB
/
aws_DataAwsMemorydbClusterShardsNodesList.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
// Prebuilt aws Provider for Terraform CDK (cdktf)
package aws
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/internal"
"github.com/hashicorp/terraform-cdk-go/cdktf"
)
type DataAwsMemorydbClusterShardsNodesList 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
// 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) DataAwsMemorydbClusterShardsNodesOutputReference
// 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 DataAwsMemorydbClusterShardsNodesList
type jsiiProxy_DataAwsMemorydbClusterShardsNodesList struct {
internal.Type__cdktfComplexList
}
func (j *jsiiProxy_DataAwsMemorydbClusterShardsNodesList) CreationStack() *[]*string {
var returns *[]*string
_jsii_.Get(
j,
"creationStack",
&returns,
)
return returns
}
func (j *jsiiProxy_DataAwsMemorydbClusterShardsNodesList) Fqn() *string {
var returns *string
_jsii_.Get(
j,
"fqn",
&returns,
)
return returns
}
func (j *jsiiProxy_DataAwsMemorydbClusterShardsNodesList) TerraformAttribute() *string {
var returns *string
_jsii_.Get(
j,
"terraformAttribute",
&returns,
)
return returns
}
func (j *jsiiProxy_DataAwsMemorydbClusterShardsNodesList) TerraformResource() cdktf.IInterpolatingParent {
var returns cdktf.IInterpolatingParent
_jsii_.Get(
j,
"terraformResource",
&returns,
)
return returns
}
func (j *jsiiProxy_DataAwsMemorydbClusterShardsNodesList) WrapsSet() *bool {
var returns *bool
_jsii_.Get(
j,
"wrapsSet",
&returns,
)
return returns
}
func NewDataAwsMemorydbClusterShardsNodesList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) DataAwsMemorydbClusterShardsNodesList {
_init_.Initialize()
if err := validateNewDataAwsMemorydbClusterShardsNodesListParameters(terraformResource, terraformAttribute, wrapsSet); err != nil {
panic(err)
}
j := jsiiProxy_DataAwsMemorydbClusterShardsNodesList{}
_jsii_.Create(
"@cdktf/provider-aws.DataAwsMemorydbClusterShardsNodesList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
&j,
)
return &j
}
func NewDataAwsMemorydbClusterShardsNodesList_Override(d DataAwsMemorydbClusterShardsNodesList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) {
_init_.Initialize()
_jsii_.Create(
"@cdktf/provider-aws.DataAwsMemorydbClusterShardsNodesList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
d,
)
}
func (j *jsiiProxy_DataAwsMemorydbClusterShardsNodesList)SetTerraformAttribute(val *string) {
if err := j.validateSetTerraformAttributeParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformAttribute",
val,
)
}
func (j *jsiiProxy_DataAwsMemorydbClusterShardsNodesList)SetTerraformResource(val cdktf.IInterpolatingParent) {
if err := j.validateSetTerraformResourceParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformResource",
val,
)
}
func (j *jsiiProxy_DataAwsMemorydbClusterShardsNodesList)SetWrapsSet(val *bool) {
if err := j.validateSetWrapsSetParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"wrapsSet",
val,
)
}
func (d *jsiiProxy_DataAwsMemorydbClusterShardsNodesList) ComputeFqn() *string {
var returns *string
_jsii_.Invoke(
d,
"computeFqn",
nil, // no parameters
&returns,
)
return returns
}
func (d *jsiiProxy_DataAwsMemorydbClusterShardsNodesList) Get(index *float64) DataAwsMemorydbClusterShardsNodesOutputReference {
if err := d.validateGetParameters(index); err != nil {
panic(err)
}
var returns DataAwsMemorydbClusterShardsNodesOutputReference
_jsii_.Invoke(
d,
"get",
[]interface{}{index},
&returns,
)
return returns
}
func (d *jsiiProxy_DataAwsMemorydbClusterShardsNodesList) Resolve(_context cdktf.IResolveContext) interface{} {
if err := d.validateResolveParameters(_context); err != nil {
panic(err)
}
var returns interface{}
_jsii_.Invoke(
d,
"resolve",
[]interface{}{_context},
&returns,
)
return returns
}
func (d *jsiiProxy_DataAwsMemorydbClusterShardsNodesList) ToString() *string {
var returns *string
_jsii_.Invoke(
d,
"toString",
nil, // no parameters
&returns,
)
return returns
}