-
Notifications
You must be signed in to change notification settings - Fork 4
/
generator.yaml
86 lines (86 loc) · 2.37 KB
/
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
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
ignore:
resource_names:
- FirewallDomainList
- FirewallRule
- FirewallRuleGroup
#- ResolverEndpoint
- ResolverQueryLogConfig
#- ResolverRule
field_paths:
- CreateResolverEndpointInput.CreatorRequestId
- CreateResolverRuleInput.CreatorRequestId
model_name: route53resolver
prefix_config: {}
operations:
CreateResolverEndpoint:
output_wrapper_field_path: ResolverEndpoint
CreateResolverRule:
output_wrapper_field_path: ResolverRule
resources:
ResolverEndpoint:
fields:
Id:
is_primary_key: true
print:
path: Status.Id
name: ID
SecurityGroupIds:
references:
resource: SecurityGroup
service_name: ec2
path: Status.ID
IPAddresses.SubnetID:
references:
resource: Subnet
service_name: ec2
path: Status.SubnetID
renames:
operations:
GetResolverEndpoint:
input_fields:
ResolverEndpointId: Id
UpdateResolverEndpoint:
input_fields:
ResolverEndpointId: Id
DeleteResolverEndpoint:
input_fields:
ResolverEndpointId: Id
hooks:
sdk_create_post_build_request:
template_path: hooks/resolver_endpoint/sdk_create_post_build_request.go.tpl
tags:
ignore: true
ResolverRule:
fields:
Id:
is_primary_key: true
print:
path: Status.Id
name: ID
Associations:
custom_field:
list_of: ResolverRuleAssociation
renames:
operations:
GetResolverRule:
input_fields:
ResolverRuleId: Id
UpdateResolverRule:
input_fields:
ResolverRuleId: Id
DeleteResolverRule:
input_fields:
ResolverRuleId: Id
hooks:
sdk_create_post_build_request:
template_path: hooks/resolver_rule/sdk_create_post_build_request.go.tpl
sdk_create_post_set_output:
template_path: hooks/resolver_rule/sdk_create_post_set_output.go.tpl
sdk_read_one_post_set_output:
template_path: hooks/resolver_rule/sdk_read_many_post_set_output.go.tpl
sdk_delete_pre_build_request:
template_path: hooks/resolver_rule/sdk_delete_pre_build_request.go.tpl
update_operation:
custom_method_name: customUpdateResolverRule
tags:
ignore: true