From 354a63aed9abac768ada73333a80169e78f4c99c Mon Sep 17 00:00:00 2001 From: Alvin Kwan Date: Sat, 10 May 2025 11:40:53 -0700 Subject: [PATCH 1/3] add GlobalEndpoint --- aws-rds-globalcluster/aws-rds-globalcluster.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/aws-rds-globalcluster/aws-rds-globalcluster.json b/aws-rds-globalcluster/aws-rds-globalcluster.json index abd295996..042678504 100644 --- a/aws-rds-globalcluster/aws-rds-globalcluster.json +++ b/aws-rds-globalcluster/aws-rds-globalcluster.json @@ -41,9 +41,19 @@ } ] }, - "StorageEncrypted": { + "StorageEncrypted": { "description": " The storage encryption setting for the new global database cluster.\nIf you specify the SourceDBClusterIdentifier property, don't specify this property. The value is inherited from the cluster.", "type": "boolean" + }, + "GlobalEndpoint": { + "type": "object", + "additionalProperties": false, + "properties": { + "Address": { + "description": "The writer endpoint for the global database cluster. This endpoint always points to the writer DB instance in the current primary cluster.", + "type": "string" + } + } } }, "oneOf": [ @@ -62,6 +72,9 @@ "propertyTransform": { "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" }, + "readOnly": [ + "/properties/GlobalEndpoint" + ], "createOnlyProperties": [ "/properties/GlobalClusterIdentifier", "/properties/SourceDBClusterIdentifier", From 2c1aab9a97b596a1093527cb1067fdc8f043d824 Mon Sep 17 00:00:00 2001 From: Alvin Kwan Date: Wed, 28 May 2025 19:46:50 -0700 Subject: [PATCH 2/3] remove whitespace --- aws-rds-globalcluster/aws-rds-globalcluster.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-rds-globalcluster/aws-rds-globalcluster.json b/aws-rds-globalcluster/aws-rds-globalcluster.json index 042678504..8cb5cd147 100644 --- a/aws-rds-globalcluster/aws-rds-globalcluster.json +++ b/aws-rds-globalcluster/aws-rds-globalcluster.json @@ -41,7 +41,7 @@ } ] }, - "StorageEncrypted": { + "StorageEncrypted": { "description": " The storage encryption setting for the new global database cluster.\nIf you specify the SourceDBClusterIdentifier property, don't specify this property. The value is inherited from the cluster.", "type": "boolean" }, From 2ea89b6cb68c091b7b0c32cf161d23ba9855577c Mon Sep 17 00:00:00 2001 From: Dustin Hemmerling Date: Tue, 7 Oct 2025 16:33:12 -0700 Subject: [PATCH 3/3] Rename readOnly to readOnlyProperties --- aws-rds-globalcluster/aws-rds-globalcluster.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws-rds-globalcluster/aws-rds-globalcluster.json b/aws-rds-globalcluster/aws-rds-globalcluster.json index 8cb5cd147..67b304bd9 100644 --- a/aws-rds-globalcluster/aws-rds-globalcluster.json +++ b/aws-rds-globalcluster/aws-rds-globalcluster.json @@ -72,7 +72,7 @@ "propertyTransform": { "/properties/GlobalClusterIdentifier": "$lowercase(GlobalClusterIdentifier)" }, - "readOnly": [ + "readOnlyProperties": [ "/properties/GlobalEndpoint" ], "createOnlyProperties": [