-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathgenerator.yaml
46 lines (42 loc) · 935 Bytes
/
generator.yaml
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
ignore:
resource_names:
- Activation
- Association
- AssociationBatch
# - Document
- MaintenanceWindow
- OpsItem
# - PatchBaseline
# - ResourceDataSync
resources:
Document:
exceptions:
errors:
404:
code: InvalidDocument
ResourceDataSync:
fields:
SyncName:
is_primary_key: true
tags:
ignore: true
PatchBaseline:
fields:
Name:
is_primary_key: true
Tags:
compare:
is_ignored: true
hooks:
delta_pre_compare:
code: compareTags(delta, a, b)
sdk_read_one_post_set_output:
template_path: hooks/patchbaseline/sdk_read_one_post_set_output.go.tpl
sdk_update_pre_build_request:
template_path: hooks/patchbaseline/sdk_update_pre_build_request.go.tpl
operations:
DescribeDocument:
operation_type:
- Get
resource_name:
Document