Skip to content

Commit

Permalink
Implement resource ConfigurationSet (#7)
Browse files Browse the repository at this point in the history
Issue #, if available: aws-controllers-k8s/community#493

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
cPu1 authored Nov 27, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 6349749 commit 183f521
Showing 37 changed files with 2,738 additions and 13 deletions.
12 changes: 6 additions & 6 deletions apis/v1alpha1/ack-generate-metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ack_generate_info:
build_date: "2024-10-10T04:11:56Z"
build_hash: 36c2d234498c2bc4f60773ab8df632af4067f43b
go_version: go1.23.2
version: v0.39.1
api_directory_checksum: e6e32cdfd8eea9dc8ced5c64c857335c872e49e2
build_date: "2024-11-15T11:19:59Z"
build_hash: 9715a2a715317a76ae83825294ca50cde9afd97b
go_version: go1.22.5
version: v0.39.1-4-g9715a2a
api_directory_checksum: 3d3ca082ed59a9e43ed3f0e3ca4462c926d548fc
api_version: v1alpha1
aws_sdk_go_version: v1.55.5
generator_config_info:
file_checksum: fc6b419506aa1e1e3d52fc1512129f10ffbc9b6a
file_checksum: c1c2353a7629abe8a4db1f8897b04e36bf4ff4d6
original_file_name: generator.yaml
last_modification:
reason: API generation
70 changes: 70 additions & 0 deletions apis/v1alpha1/configuration_set.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 37 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,46 @@
ignore:
resource_names:
- ConfigurationSet
# - ConfigurationSet
- ConfigurationSetEventDestination
- CustomVerificationEmailTemplate
- ReceiptFilter
- ReceiptRule
- ReceiptRuleSet
- Template

field_paths:
- CreateConfigurationSetInput.ConfigurationSet

model_name: email

resources:
ConfigurationSet:
fields:
Name:
is_primary_key: true
is_immutable: true
type: string
list_operation:
match_fields:
- Name
update_operation:
custom_method_name: customUpdate
renames:
operations:
DescribeConfigurationSet:
input_fields:
ConfigurationSetName: Name
DeleteConfigurationSet:
input_fields:
ConfigurationSetName: Name
tags:
ignore: true
exceptions:
terminal_codes:
- ConfigurationSetAlreadyExists
- InvalidConfigurationSet
hooks:
sdk_create_post_build_request:
template_path: hooks/configuration_set/sdk_create_post_build_request.go.tpl
sdk_read_one_post_request:
template_path: hooks/configuration_set/sdk_read_one_post_request.go.tpl
247 changes: 247 additions & 0 deletions apis/v1alpha1/types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 183f521

Please sign in to comment.