/
zz_types.go
314 lines (235 loc) · 11 KB
/
zz_types.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
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
/*
Copyright 2021 The Crossplane Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Code generated by ack-generate. DO NOT EDIT.
package v1alpha1
import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
// Hack to avoid import errors during build...
var (
_ = &metav1.Time{}
)
// +kubebuilder:skipversion
type DescribedAccess struct {
HomeDirectory *string `json:"homeDirectory,omitempty"`
HomeDirectoryMappings []*HomeDirectoryMapEntry `json:"homeDirectoryMappings,omitempty"`
HomeDirectoryType *string `json:"homeDirectoryType,omitempty"`
Policy *string `json:"policy,omitempty"`
// The full POSIX identity, including user ID (Uid), group ID (Gid), and any
// secondary groups IDs (SecondaryGids), that controls your users' access to
// your Amazon EFS file systems. The POSIX permissions that are set on files
// and directories in your file system determine the level of access your users
// get when transferring files into and out of your Amazon EFS file systems.
PosixProfile *PosixProfile `json:"posixProfile,omitempty"`
Role *string `json:"role,omitempty"`
}
// +kubebuilder:skipversion
type DescribedExecution struct {
ExecutionRole *string `json:"executionRole,omitempty"`
// The full POSIX identity, including user ID (Uid), group ID (Gid), and any
// secondary groups IDs (SecondaryGids), that controls your users' access to
// your Amazon EFS file systems. The POSIX permissions that are set on files
// and directories in your file system determine the level of access your users
// get when transferring files into and out of your Amazon EFS file systems.
PosixProfile *PosixProfile `json:"posixProfile,omitempty"`
}
// +kubebuilder:skipversion
type DescribedSecurityPolicy struct {
SecurityPolicyName *string `json:"securityPolicyName,omitempty"`
}
// +kubebuilder:skipversion
type DescribedServer struct {
ARN *string `json:"arn,omitempty"`
Certificate *string `json:"certificate,omitempty"`
Domain *string `json:"domain,omitempty"`
// The virtual private cloud (VPC) endpoint settings that are configured for
// your file transfer protocol-enabled server. With a VPC endpoint, you can
// restrict access to your server and resources only within your VPC. To control
// incoming internet traffic, invoke the UpdateServer API and attach an Elastic
// IP address to your server's endpoint.
//
// After May 19, 2021, you won't be able to create a server using EndpointType=VPC_ENDPOINT
// in your Amazon Web Servicesaccount if your account hasn't already done so
// before May 19, 2021. If you have already created servers with EndpointType=VPC_ENDPOINT
// in your Amazon Web Servicesaccount on or before May 19, 2021, you will not
// be affected. After this date, use EndpointType=VPC.
//
// For more information, see https://docs.aws.amazon.com/transfer/latest/userguide/create-server-in-vpc.html#deprecate-vpc-endpoint.
EndpointDetails *EndpointDetails `json:"endpointDetails,omitempty"`
EndpointType *string `json:"endpointType,omitempty"`
HostKeyFingerprint *string `json:"hostKeyFingerprint,omitempty"`
// Returns information related to the type of user authentication that is in
// use for a file transfer protocol-enabled server's users. A server can have
// only one method of authentication.
IdentityProviderDetails *IdentityProviderDetails `json:"identityProviderDetails,omitempty"`
// Returns information related to the type of user authentication that is in
// use for a file transfer protocol-enabled server's users. For AWS_DIRECTORY_SERVICE
// or SERVICE_MANAGED authentication, the Secure Shell (SSH) public keys are
// stored with a user on the server instance. For API_GATEWAY authentication,
// your custom authentication method is implemented by using an API call. The
// server can have only one method of authentication.
IdentityProviderType *string `json:"identityProviderType,omitempty"`
LoggingRole *string `json:"loggingRole,omitempty"`
// The protocol settings that are configured for your server.
//
// This type is only valid in the UpdateServer API.
ProtocolDetails *ProtocolDetails `json:"protocolDetails,omitempty"`
Protocols []*string `json:"protocols,omitempty"`
SecurityPolicyName *string `json:"securityPolicyName,omitempty"`
ServerID *string `json:"serverID,omitempty"`
// Describes the condition of a file transfer protocol-enabled server with respect
// to its ability to perform file operations. There are six possible states:
// OFFLINE, ONLINE, STARTING, STOPPING, START_FAILED, and STOP_FAILED.
//
// OFFLINE indicates that the server exists, but that it is not available for
// file operations. ONLINE indicates that the server is available to perform
// file operations. STARTING indicates that the server's was instantiated, but
// the server is not yet available to perform file operations. Under normal
// conditions, it can take a couple of minutes for the server to be completely
// operational. Both START_FAILED and STOP_FAILED are error conditions.
State *string `json:"state,omitempty"`
Tags []*Tag `json:"tags,omitempty"`
UserCount *int64 `json:"userCount,omitempty"`
// Container for the WorkflowDetail data type. It is used by actions that trigger
// a workflow to begin execution.
WorkflowDetails *WorkflowDetails `json:"workflowDetails,omitempty"`
}
// +kubebuilder:skipversion
type DescribedUser struct {
ARN *string `json:"arn,omitempty"`
HomeDirectory *string `json:"homeDirectory,omitempty"`
HomeDirectoryMappings []*HomeDirectoryMapEntry `json:"homeDirectoryMappings,omitempty"`
HomeDirectoryType *string `json:"homeDirectoryType,omitempty"`
Policy *string `json:"policy,omitempty"`
// The full POSIX identity, including user ID (Uid), group ID (Gid), and any
// secondary groups IDs (SecondaryGids), that controls your users' access to
// your Amazon EFS file systems. The POSIX permissions that are set on files
// and directories in your file system determine the level of access your users
// get when transferring files into and out of your Amazon EFS file systems.
PosixProfile *PosixProfile `json:"posixProfile,omitempty"`
Role *string `json:"role,omitempty"`
SshPublicKeys []*SshPublicKey `json:"sshPublicKeys,omitempty"`
Tags []*Tag `json:"tags,omitempty"`
UserName *string `json:"userName,omitempty"`
}
// +kubebuilder:skipversion
type DescribedWorkflow struct {
ARN *string `json:"arn,omitempty"`
Tags []*Tag `json:"tags,omitempty"`
WorkflowID *string `json:"workflowID,omitempty"`
}
// +kubebuilder:skipversion
type EndpointDetails struct {
AddressAllocationIDs []*string `json:"addressAllocationIDs,omitempty"`
SecurityGroupIDs []*string `json:"securityGroupIDs,omitempty"`
SubnetIDs []*string `json:"subnetIDs,omitempty"`
VPCEndpointID *string `json:"vpcEndpointID,omitempty"`
VPCID *string `json:"vpcID,omitempty"`
}
// +kubebuilder:skipversion
type HomeDirectoryMapEntry struct {
Entry *string `json:"entry,omitempty"`
Target *string `json:"target,omitempty"`
}
// +kubebuilder:skipversion
type IdentityProviderDetails struct {
DirectoryID *string `json:"directoryID,omitempty"`
InvocationRole *string `json:"invocationRole,omitempty"`
URL *string `json:"url,omitempty"`
}
// +kubebuilder:skipversion
type ListedAccess struct {
HomeDirectory *string `json:"homeDirectory,omitempty"`
HomeDirectoryType *string `json:"homeDirectoryType,omitempty"`
Role *string `json:"role,omitempty"`
}
// +kubebuilder:skipversion
type ListedServer struct {
ARN *string `json:"arn,omitempty"`
Domain *string `json:"domain,omitempty"`
EndpointType *string `json:"endpointType,omitempty"`
// Returns information related to the type of user authentication that is in
// use for a file transfer protocol-enabled server's users. For AWS_DIRECTORY_SERVICE
// or SERVICE_MANAGED authentication, the Secure Shell (SSH) public keys are
// stored with a user on the server instance. For API_GATEWAY authentication,
// your custom authentication method is implemented by using an API call. The
// server can have only one method of authentication.
IdentityProviderType *string `json:"identityProviderType,omitempty"`
LoggingRole *string `json:"loggingRole,omitempty"`
ServerID *string `json:"serverID,omitempty"`
// Describes the condition of a file transfer protocol-enabled server with respect
// to its ability to perform file operations. There are six possible states:
// OFFLINE, ONLINE, STARTING, STOPPING, START_FAILED, and STOP_FAILED.
//
// OFFLINE indicates that the server exists, but that it is not available for
// file operations. ONLINE indicates that the server is available to perform
// file operations. STARTING indicates that the server's was instantiated, but
// the server is not yet available to perform file operations. Under normal
// conditions, it can take a couple of minutes for the server to be completely
// operational. Both START_FAILED and STOP_FAILED are error conditions.
State *string `json:"state,omitempty"`
UserCount *int64 `json:"userCount,omitempty"`
}
// +kubebuilder:skipversion
type ListedUser struct {
ARN *string `json:"arn,omitempty"`
HomeDirectory *string `json:"homeDirectory,omitempty"`
HomeDirectoryType *string `json:"homeDirectoryType,omitempty"`
Role *string `json:"role,omitempty"`
SshPublicKeyCount *int64 `json:"sshPublicKeyCount,omitempty"`
UserName *string `json:"userName,omitempty"`
}
// +kubebuilder:skipversion
type ListedWorkflow struct {
ARN *string `json:"arn,omitempty"`
WorkflowID *string `json:"workflowID,omitempty"`
}
// +kubebuilder:skipversion
type LoggingConfiguration struct {
LoggingRole *string `json:"loggingRole,omitempty"`
}
// +kubebuilder:skipversion
type PosixProfile struct {
Gid *int64 `json:"gid,omitempty"`
SecondaryGids []*int64 `json:"secondaryGids,omitempty"`
Uid *int64 `json:"uid,omitempty"`
}
// +kubebuilder:skipversion
type ProtocolDetails struct {
PassiveIP *string `json:"passiveIP,omitempty"`
}
// +kubebuilder:skipversion
type SshPublicKey struct {
DateImported *metav1.Time `json:"dateImported,omitempty"`
SshPublicKeyBody *string `json:"sshPublicKeyBody,omitempty"`
SshPublicKeyID *string `json:"sshPublicKeyID,omitempty"`
}
// +kubebuilder:skipversion
type Tag struct {
Key *string `json:"key,omitempty"`
Value *string `json:"value,omitempty"`
}
// +kubebuilder:skipversion
type UserDetails struct {
ServerID *string `json:"serverID,omitempty"`
UserName *string `json:"userName,omitempty"`
}
// +kubebuilder:skipversion
type WorkflowDetail struct {
ExecutionRole *string `json:"executionRole,omitempty"`
WorkflowID *string `json:"workflowID,omitempty"`
}
// +kubebuilder:skipversion
type WorkflowDetails struct {
OnUpload []*WorkflowDetail `json:"onUpload,omitempty"`
}