Skip to content

Add serverlesscache to elasticache #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 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: "2025-07-22T21:46:49Z"
build_date: "2025-07-23T02:15:05Z"
build_hash: b2dc0f44e0b08f041de14c3944a5cc005ba97c8f
go_version: go1.24.5
version: v0.50.0
api_directory_checksum: e7d8480a655968a4f441db9509fd5561aa5eb1c4
api_directory_checksum: cd3855ca5e9598e4a45cdc8b295054981b08dbb7
api_version: v1alpha1
aws_sdk_go_version: v1.32.6
generator_config_info:
file_checksum: a9abf28e51c635fa7cc667698abf864c40e7f284
file_checksum: d70e645a0a1ac78d523b7ff0b09ccbfd9bbbfb96
original_file_name: generator.yaml
last_modification:
reason: API generation
55 changes: 54 additions & 1 deletion apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,61 @@ resources:
- TagQuotaPerResourceExceeded
update_operation:
custom_method_name: customUpdateUserGroup
ServerlessCache:
update_operation:
custom_method_name: customUpdateServerlessCache
fields:
SecurityGroupIDs:
references:
resource: SecurityGroup
service_name: ec2
path: Status.ID
SubnetIDs:
references:
service_name: ec2
resource: Subnet
path: Status.SubnetID
UserGroupIDs:
references:
resource: UserGroup
path: Spec.UserGroupID
synced:
when:
- path: Status.Status
in:
- available
- create_failed
exceptions:
terminal_codes:
- ServerlessCacheAlreadyExistsFault
- ServerlessCacheQuotaForCustomerExceededFault
- InvalidParameterValue
- InvalidParameterCombination
- InvalidVPCNetworkStateFault
- TagQuotaPerResourceExceeded
- InvalidKMSKeyFault
hooks:
sdk_read_many_post_set_output:
template_path: hooks/serverless_cache/sdk_read_many_post_set_output.go.tpl
print:
add_age_column: true
add_synced_column: true
order_by: index
additional_columns:
- name: STATUS
json_path: .status.status
type: string
index: 10
- name: ENDPOINT
json_path: .status.endpoint.address
type: string
index: 20
operations:
DescribeServerlessCaches:
operation_type:
- List
resource_name:
ServerlessCache
DescribeCacheSubnetGroups:
set_output_custom_method_name: CustomDescribeCacheSubnetGroupsSetOutput
DescribeReplicationGroups:
Expand Down Expand Up @@ -334,7 +388,6 @@ operations:
ApplyImmediately: aws.Bool(true)
ignore:
resource_names:
- ServerlessCache
- ServerlessCacheSnapshot
- GlobalReplicationGroup
- CacheSecurityGroup
Expand Down
133 changes: 133 additions & 0 deletions apis/v1alpha1/serverless_cache.go

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

63 changes: 38 additions & 25 deletions apis/v1alpha1/types.go

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

Loading