Skip to content
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

🧹 expose cloudwatch config for AWS Neptune cluster #4541

Merged
merged 1 commit into from
Aug 12, 2024
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
2 changes: 2 additions & 0 deletions providers/aws/resources/aws.lr
Original file line number Diff line number Diff line change
Expand Up @@ -3374,6 +3374,8 @@ private aws.neptune.cluster @defaults("arn name status") {
deletionProtection bool
// Earliest time to which a database can be restored
earliestRestorableTime time
// List of log types that this cluster is configured to export to CloudWatch logs
enabledCloudwatchLogsExports []string
// Connection endpoint for the primary instance
endpoint string
// Whether mapping of Amazon Identity and Access Management (IAM) accounts to database accounts is enabled
Expand Down
12 changes: 12 additions & 0 deletions providers/aws/resources/aws.lr.go

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

1 change: 1 addition & 0 deletions providers/aws/resources/aws.lr.manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2288,6 +2288,7 @@ resources:
crossAccountClone: {}
deletionProtection: {}
earliestRestorableTime: {}
enabledCloudwatchLogsExports: {}
endpoint: {}
engine: {}
engineVersion: {}
Expand Down
1 change: 1 addition & 0 deletions providers/aws/resources/aws_neptune.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func newMqlAwsNeptuneCluster(runtime *plugin.Runtime, region string, cluster nep
"clusterResourceId": llx.StringDataPtr(cluster.DbClusterResourceId),
"deletionProtection": llx.BoolDataPtr(cluster.DeletionProtection),
"earliestRestorableTime": llx.TimeDataPtr(cluster.EarliestRestorableTime),
"enabledCloudwatchLogsExports": llx.ArrayData(convert.SliceAnyToInterface(cluster.EnabledCloudwatchLogsExports), types.String),
"endpoint": llx.StringDataPtr(cluster.Endpoint),
"iamDatabaseAuthenticationEnabled": llx.BoolDataPtr(cluster.IAMDatabaseAuthenticationEnabled),
"latestRestorableTime": llx.TimeDataPtr(cluster.LatestRestorableTime),
Expand Down
Loading