1
1
ignore :
2
2
resource_names :
3
- - AccessPoint
3
+ # AccessPoint
4
4
# FileSystem
5
5
# MountTarget
6
6
- ReplicationConfiguration
@@ -11,6 +11,13 @@ ignore:
11
11
- PutLifecycleConfigurationInput.FileSystemId
12
12
- PutFileSystemPolicyInput.FileSystemId
13
13
- UpdateFileSystemProtectionInput.FileSystemId
14
+ # Well, FileSystem idempotency token is called CreationToken
15
+ # and AccessPoint idempotency token is called ClientToken.....
16
+ - CreateAccessPointInput.ClientToken
17
+ - AccessPointDescription.ClientToken
18
+ shape_names :
19
+ - SecondaryGids
20
+ - ClientToken
14
21
model_name : elasticfilesystem
15
22
controller_name : efs
16
23
resources :
@@ -45,6 +52,8 @@ resources:
45
52
code : return desired, nil
46
53
sdk_create_post_set_output :
47
54
template_path : hooks/file_system/sdk_create_post_set_output.go.tpl
55
+ sdk_create_post_build_request :
56
+ template_path : hooks/file_system/sdk_create_post_build_request.go.tpl
48
57
sdk_read_many_post_set_output :
49
58
template_path : hooks/file_system/sdk_read_many_post_set_output.go.tpl
50
59
sdk_update_pre_build_request :
@@ -152,6 +161,67 @@ resources:
152
161
type : string
153
162
index : 37
154
163
priority : 1
164
+ - name : STATE
165
+ json_path : .status.lifeCycleState
166
+ type : string
167
+ index : 40
168
+ AccessPoint :
169
+ fields :
170
+ PosixUser :
171
+ is_immutable : true
172
+ RootDirectory :
173
+ is_immutable : true
174
+ PosixUser.SecondaryGids :
175
+ type : " []*int64"
176
+ compare :
177
+ is_ignored : true
178
+ # This is a workaround for the fact that code-generator
179
+ # isn't smart enough to understand this.
180
+ # TODO(a-hilaly): Remove this once the issue is fixed
181
+ PosixUser.SecondaryGIDs :
182
+ compare :
183
+ is_ignored : true
184
+ FileSystemId :
185
+ references :
186
+ resource : FileSystem
187
+ path : Status.FileSystemID
188
+ is_immutable : true
189
+ update_operation :
190
+ custom_method_name : customUpdateAccessPoint
191
+ hooks :
192
+ delta_pre_compare :
193
+ code : customPreCompare(delta, a, b)
194
+ sdk_create_post_build_request :
195
+ template_path : hooks/access_point/sdk_create_post_build_request.go.tpl
196
+ sdk_read_many_post_build_request :
197
+ template_path : hooks/access_point/sdk_read_many_post_build_request.go.tpl
198
+ sdk_read_many_post_set_output :
199
+ template_path : hooks/access_point/sdk_read_many_post_set_output.go.tpl
200
+ print :
201
+ add_age_column : true
202
+ add_synced_column : true
203
+ order_by : index
204
+ additional_columns :
205
+ - name : ID
206
+ json_path : .status.accessPointID
207
+ type : string
208
+ index : 5
209
+ - name : FILESYSTEMID
210
+ json_path : .spec.fileSystemID
211
+ type : string
212
+ index : 10
213
+ - name : ROOTDIRECTORY
214
+ json_path : .spec.rootDirectory.path
215
+ type : string
216
+ index : 20
217
+ - name : POSIXUSERUID
218
+ json_path : .spec.posixUser.uid
219
+ type : integer
220
+ index : 25
221
+ - name : POSIXUSERGID
222
+ json_path : .spec.posixUser.gid
223
+ type : integer
224
+ index : 30
155
225
- name : STATE
156
226
json_path : .status.lifeCycleState
157
227
type : string
0 commit comments