diff --git a/aws-rds-cfn-common/pom.xml b/aws-rds-cfn-common/pom.xml index 650a4445d..426326ad1 100644 --- a/aws-rds-cfn-common/pom.xml +++ b/aws-rds-cfn-common/pom.xml @@ -35,6 +35,11 @@ rds 2.25.56 + + software.amazon.cloudformation + aws-cloudformation-resource-schema + [2.0.10,3.0.0) + software.amazon.cloudformation aws-cloudformation-rpdk-java-plugin diff --git a/aws-rds-customdbengineversion/aws-rds-customdbengineversion.json b/aws-rds-customdbengineversion/aws-rds-customdbengineversion.json index 816d04b60..8017a2c16 100644 --- a/aws-rds-customdbengineversion/aws-rds-customdbengineversion.json +++ b/aws-rds-customdbengineversion/aws-rds-customdbengineversion.json @@ -3,7 +3,15 @@ "description": "The AWS::RDS::CustomDBEngineVersion resource creates an Amazon RDS custom DB engine version.", "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git", "tagging": { - "taggable": true + "taggable": true, + "tagOnCreate": true, + "tagUpdatable": true, + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] }, "definitions": { "Tag": { diff --git a/aws-rds-dbcluster/aws-rds-dbcluster.json b/aws-rds-dbcluster/aws-rds-dbcluster.json index f966131a2..447d3f9f3 100644 --- a/aws-rds-dbcluster/aws-rds-dbcluster.json +++ b/aws-rds-dbcluster/aws-rds-dbcluster.json @@ -431,7 +431,6 @@ "/properties/Endpoint", "/properties/Endpoint/Address", "/properties/Endpoint/Port", - "/properties/ReadEndpoint/Port", "/properties/ReadEndpoint/Address", "/properties/MasterUserSecret/SecretArn", "/properties/StorageThroughput" @@ -534,5 +533,16 @@ "rds:DescribeDBClusters" ] } + }, + "tagging": { + "taggable": true, + "tagOnCreate": true, + "tagUpdatable": true, + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] } } diff --git a/aws-rds-dbclusterendpoint/aws-rds-dbclusterendpoint.json b/aws-rds-dbclusterendpoint/aws-rds-dbclusterendpoint.json index 2236a1d1b..ef2f8e9a6 100644 --- a/aws-rds-dbclusterendpoint/aws-rds-dbclusterendpoint.json +++ b/aws-rds-dbclusterendpoint/aws-rds-dbclusterendpoint.json @@ -3,7 +3,15 @@ "description": "The AWS::RDS::DBClusterEndpoint resource allows you to create custom Aurora Cluster endpoint. For more information, see Using custom endpoints in the Amazon RDS Aurora Guide.", "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-rds", "tagging": { - "taggable": true + "taggable": true, + "tagOnCreate": true, + "tagUpdatable": true, + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] }, "definitions": { "Tag": { diff --git a/aws-rds-dbclusterparametergroup/aws-rds-dbclusterparametergroup.json b/aws-rds-dbclusterparametergroup/aws-rds-dbclusterparametergroup.json index ecd159e29..c7eed6f2a 100644 --- a/aws-rds-dbclusterparametergroup/aws-rds-dbclusterparametergroup.json +++ b/aws-rds-dbclusterparametergroup/aws-rds-dbclusterparametergroup.json @@ -118,5 +118,16 @@ "rds:DescribeDBClusterParameterGroups" ] } + }, + "tagging": { + "taggable": true, + "tagOnCreate": true, + "tagUpdatable": true, + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] } } diff --git a/aws-rds-dbinstance/aws-rds-dbinstance.json b/aws-rds-dbinstance/aws-rds-dbinstance.json index 336abe465..5898f1125 100644 --- a/aws-rds-dbinstance/aws-rds-dbinstance.json +++ b/aws-rds-dbinstance/aws-rds-dbinstance.json @@ -660,5 +660,16 @@ "rds:DescribeDBInstances" ] } + }, + "tagging": { + "taggable": true, + "tagOnCreate": true, + "tagUpdatable": true, + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] } } diff --git a/aws-rds-dbparametergroup/aws-rds-dbparametergroup.json b/aws-rds-dbparametergroup/aws-rds-dbparametergroup.json index 5c6dfd787..ce2b0e2fd 100644 --- a/aws-rds-dbparametergroup/aws-rds-dbparametergroup.json +++ b/aws-rds-dbparametergroup/aws-rds-dbparametergroup.json @@ -115,5 +115,16 @@ "rds:DescribeDBParameterGroups" ] } + }, + "tagging": { + "taggable": true, + "tagOnCreate": true, + "tagUpdatable": true, + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] } } diff --git a/aws-rds-dbsubnetgroup/aws-rds-dbsubnetgroup.json b/aws-rds-dbsubnetgroup/aws-rds-dbsubnetgroup.json index 6c42f1567..e187c4f04 100644 --- a/aws-rds-dbsubnetgroup/aws-rds-dbsubnetgroup.json +++ b/aws-rds-dbsubnetgroup/aws-rds-dbsubnetgroup.json @@ -106,5 +106,16 @@ "rds:DescribeDBSubnetGroups" ] } + }, + "tagging": { + "taggable": true, + "tagOnCreate": true, + "tagUpdatable": true, + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] } } diff --git a/aws-rds-eventsubscription/aws-rds-eventsubscription.json b/aws-rds-eventsubscription/aws-rds-eventsubscription.json index 8e8fca3de..8541d7180 100644 --- a/aws-rds-eventsubscription/aws-rds-eventsubscription.json +++ b/aws-rds-eventsubscription/aws-rds-eventsubscription.json @@ -126,5 +126,16 @@ "rds:DescribeEventSubscriptions" ] } + }, + "tagging": { + "taggable": true, + "tagOnCreate": true, + "tagUpdatable": true, + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] } } diff --git a/aws-rds-globalcluster/aws-rds-globalcluster.json b/aws-rds-globalcluster/aws-rds-globalcluster.json index ec6fe8373..abd295996 100644 --- a/aws-rds-globalcluster/aws-rds-globalcluster.json +++ b/aws-rds-globalcluster/aws-rds-globalcluster.json @@ -103,5 +103,8 @@ "rds:DescribeGlobalClusters" ] } + }, + "tagging": { + "taggable": false } } diff --git a/aws-rds-integration/aws-rds-integration.json b/aws-rds-integration/aws-rds-integration.json index f0d63bb62..715dcdab9 100644 --- a/aws-rds-integration/aws-rds-integration.json +++ b/aws-rds-integration/aws-rds-integration.json @@ -162,7 +162,12 @@ "taggable": true, "tagOnCreate": true, "tagUpdatable": true, - "tagProperty": "/properties/Tags" + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] }, "additionalProperties": false } diff --git a/aws-rds-optiongroup/aws-rds-optiongroup.json b/aws-rds-optiongroup/aws-rds-optiongroup.json index 7dc699082..ac4bfa0c8 100644 --- a/aws-rds-optiongroup/aws-rds-optiongroup.json +++ b/aws-rds-optiongroup/aws-rds-optiongroup.json @@ -182,5 +182,16 @@ "rds:DescribeOptionGroups" ] } + }, + "tagging": { + "taggable": true, + "tagOnCreate": true, + "tagUpdatable": true, + "cloudFormationSystemTags": true, + "tagProperty": "/properties/Tags", + "permissions": [ + "rds:AddTagsToResource", + "rds:RemoveTagsFromResource" + ] } }