Skip to content

Add Dashboard to cloudwatch #44

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
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: "2025-07-22T22:08:29Z"
build_hash: b2dc0f44e0b08f041de14c3944a5cc005ba97c8f
build_date: "2025-08-08T04:51:43Z"
build_hash: b4fbf4e427daaef74ed873aac01e4a9ca68fb479
go_version: go1.24.5
version: v0.50.0
api_directory_checksum: fdaeeb99359feab7411a0ea7a1546597978675dd
version: v0.50.0-3-gb4fbf4e
api_directory_checksum: 751a02e8819476aef37c4e640ec2622d6df83800
api_version: v1alpha1
aws_sdk_go_version: 1.32.6
aws_sdk_go_version: v1.32.6
generator_config_info:
file_checksum: 2440ba630b0f66b3e92fd740afcafbd79da6b0c4
file_checksum: bc44ead94c536a6be5a0325edeceb93b2c609a38
original_file_name: generator.yaml
last_modification:
reason: API generation
88 changes: 88 additions & 0 deletions apis/v1alpha1/dashboard.go

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

37 changes: 37 additions & 0 deletions apis/v1alpha1/generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,23 @@ operations:
- Create
- Update
resource_name: MetricAlarm
DeleteDashboards:
operation_type:
- Delete
resource_name: Dashboard
GetDashboard:
operation_type:
- Read
resource_name: Dashboard
ListDashboards:
operation_type:
- List
resource_name: Dashboard
PutDashboard:
operation_type:
- Create
- Update
resource_name: Dashboard
resources:
MetricAlarm:
fields:
Expand All @@ -37,3 +54,23 @@ resources:
template_path: hooks/metricalarm/sdk_read_many_post_build_request.go.tpl
sdk_delete_post_build_request:
template_path: hooks/metricalarm/sdk_delete_post_build_request.go.tpl
Dashboard:
fields:
DashboardName:
is_primary_key: true
is_required: true
DashboardArn:
is_read_only: true
Size:
is_read_only: true
LastModified:
is_read_only: true
exceptions:
errors:
404:
code: ResourceNotFoundException
terminal_codes:
- InvalidParameterValueException
- ResourceNotFoundException
tags:
ignore: true
14 changes: 14 additions & 0 deletions apis/v1alpha1/types.go

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

185 changes: 185 additions & 0 deletions apis/v1alpha1/zz_generated.deepcopy.go

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

1 change: 1 addition & 0 deletions cmd/controller/main.go

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

2 changes: 1 addition & 1 deletion config/controller/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ kind: Kustomization
images:
- name: controller
newName: public.ecr.aws/aws-controllers-k8s/cloudwatch-controller
newTag: 1.0.13
newTag: 0.0.0-non-release-version
Loading