-
Notifications
You must be signed in to change notification settings - Fork 0
/
ssm_SsmDocumentParameterList.go
215 lines (183 loc) · 4.69 KB
/
ssm_SsmDocumentParameterList.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
package ssm
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/ssm/internal"
"github.com/hashicorp/terraform-cdk-go/cdktf"
)
type SsmDocumentParameterList 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) SsmDocumentParameterOutputReference
// 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 SsmDocumentParameterList
type jsiiProxy_SsmDocumentParameterList struct {
internal.Type__cdktfComplexList
}
func (j *jsiiProxy_SsmDocumentParameterList) CreationStack() *[]*string {
var returns *[]*string
_jsii_.Get(
j,
"creationStack",
&returns,
)
return returns
}
func (j *jsiiProxy_SsmDocumentParameterList) Fqn() *string {
var returns *string
_jsii_.Get(
j,
"fqn",
&returns,
)
return returns
}
func (j *jsiiProxy_SsmDocumentParameterList) TerraformAttribute() *string {
var returns *string
_jsii_.Get(
j,
"terraformAttribute",
&returns,
)
return returns
}
func (j *jsiiProxy_SsmDocumentParameterList) TerraformResource() cdktf.IInterpolatingParent {
var returns cdktf.IInterpolatingParent
_jsii_.Get(
j,
"terraformResource",
&returns,
)
return returns
}
func (j *jsiiProxy_SsmDocumentParameterList) WrapsSet() *bool {
var returns *bool
_jsii_.Get(
j,
"wrapsSet",
&returns,
)
return returns
}
func NewSsmDocumentParameterList(terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) SsmDocumentParameterList {
_init_.Initialize()
if err := validateNewSsmDocumentParameterListParameters(terraformResource, terraformAttribute, wrapsSet); err != nil {
panic(err)
}
j := jsiiProxy_SsmDocumentParameterList{}
_jsii_.Create(
"@cdktf/provider-aws.ssm.SsmDocumentParameterList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
&j,
)
return &j
}
func NewSsmDocumentParameterList_Override(s SsmDocumentParameterList, terraformResource cdktf.IInterpolatingParent, terraformAttribute *string, wrapsSet *bool) {
_init_.Initialize()
_jsii_.Create(
"@cdktf/provider-aws.ssm.SsmDocumentParameterList",
[]interface{}{terraformResource, terraformAttribute, wrapsSet},
s,
)
}
func (j *jsiiProxy_SsmDocumentParameterList)SetTerraformAttribute(val *string) {
if err := j.validateSetTerraformAttributeParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformAttribute",
val,
)
}
func (j *jsiiProxy_SsmDocumentParameterList)SetTerraformResource(val cdktf.IInterpolatingParent) {
if err := j.validateSetTerraformResourceParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"terraformResource",
val,
)
}
func (j *jsiiProxy_SsmDocumentParameterList)SetWrapsSet(val *bool) {
if err := j.validateSetWrapsSetParameters(val); err != nil {
panic(err)
}
_jsii_.Set(
j,
"wrapsSet",
val,
)
}
func (s *jsiiProxy_SsmDocumentParameterList) ComputeFqn() *string {
var returns *string
_jsii_.Invoke(
s,
"computeFqn",
nil, // no parameters
&returns,
)
return returns
}
func (s *jsiiProxy_SsmDocumentParameterList) Get(index *float64) SsmDocumentParameterOutputReference {
if err := s.validateGetParameters(index); err != nil {
panic(err)
}
var returns SsmDocumentParameterOutputReference
_jsii_.Invoke(
s,
"get",
[]interface{}{index},
&returns,
)
return returns
}
func (s *jsiiProxy_SsmDocumentParameterList) Resolve(_context cdktf.IResolveContext) interface{} {
if err := s.validateResolveParameters(_context); err != nil {
panic(err)
}
var returns interface{}
_jsii_.Invoke(
s,
"resolve",
[]interface{}{_context},
&returns,
)
return returns
}
func (s *jsiiProxy_SsmDocumentParameterList) ToString() *string {
var returns *string
_jsii_.Invoke(
s,
"toString",
nil, // no parameters
&returns,
)
return returns
}