diff --git a/aws-rds-customdbengineversion/aws-rds-customdbengineversion.json b/aws-rds-customdbengineversion/aws-rds-customdbengineversion.json index 4521af65b..3e126bc02 100644 --- a/aws-rds-customdbengineversion/aws-rds-customdbengineversion.json +++ b/aws-rds-customdbengineversion/aws-rds-customdbengineversion.json @@ -76,6 +76,14 @@ "type": "string", "description": "The ARN of the custom engine version." }, + "SourceCustomDBEngineVersionIdentifier": { + "type": "string", + "description": "The identifier of the source custom engine version." + }, + "UseAwsProvidedLatestImage": { + "type": "boolean", + "description": "A value that indicates whether AWS provided latest image is applied automatically to the Custom Engine Version. By default, AWS provided latest image is applied automatically." + }, "Status": { "type": "string", "description": "The availability status to be assigned to the CEV.", @@ -103,7 +111,6 @@ "/properties/KMSKeyId": "$join([\"arn:(aws)[-]{0,1}[a-z]{0,2}[-]{0,1}[a-z]{0,3}:kms:[a-z]{2}[-]{1}[a-z]{3,10}[-]{0,1}[a-z]{0,10}[-]{1}[1-3]{1}:[0-9]{12}[:]{1}key\\/\", KMSKeyId])" }, "required": [ - "DatabaseInstallationFilesS3BucketName", "Engine", "EngineVersion" ], diff --git a/aws-rds-customdbengineversion/docs/README.md b/aws-rds-customdbengineversion/docs/README.md index 7c1cd625a..2172d60af 100644 --- a/aws-rds-customdbengineversion/docs/README.md +++ b/aws-rds-customdbengineversion/docs/README.md @@ -19,6 +19,8 @@ To declare this entity in your AWS CloudFormation template, use the following sy "EngineVersion" : String, "KMSKeyId" : String, "Manifest" : String, + "SourceCustomDBEngineVersionIdentifier" : String, + "UseAwsProvidedLatestImage" : Boolean, "Status" : String, "Tags" : [ Tag, ... ] } @@ -37,6 +39,8 @@ Properties: EngineVersion: String KMSKeyId: String Manifest: String + SourceCustomDBEngineVersionIdentifier: String + UseAwsProvidedLatestImage: Boolean Status: String Tags: - Tag @@ -142,6 +146,26 @@ _Maximum Length_: 51000 _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) +#### SourceCustomDBEngineVersionIdentifier + +The identifier of the source custom engine version. + +_Required_: No + +_Type_: String + +_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) + +#### UseAwsProvidedLatestImage + +A value that indicates whether AWS provided latest image is applied automatically to the Custom Engine Version. By default, AWS provided latest image is applied automatically. + +_Required_: No + +_Type_: Boolean + +_Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) + #### Status The availability status to be assigned to the CEV. @@ -174,4 +198,4 @@ For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::G #### DBEngineVersionArn -The ARN of the custom engine version. +The ARN of the custom engine version. \ No newline at end of file diff --git a/aws-rds-customdbengineversion/pom.xml b/aws-rds-customdbengineversion/pom.xml index d2c38117e..ca3873cb8 100644 --- a/aws-rds-customdbengineversion/pom.xml +++ b/aws-rds-customdbengineversion/pom.xml @@ -22,7 +22,7 @@ software.amazon.awssdk rds - 2.20.98 + 2.20.162 software.amazon.rds.common diff --git a/aws-rds-customdbengineversion/src/main/java/software/amazon/rds/customdbengineversion/Translator.java b/aws-rds-customdbengineversion/src/main/java/software/amazon/rds/customdbengineversion/Translator.java index abc2477fa..a310d55a6 100644 --- a/aws-rds-customdbengineversion/src/main/java/software/amazon/rds/customdbengineversion/Translator.java +++ b/aws-rds-customdbengineversion/src/main/java/software/amazon/rds/customdbengineversion/Translator.java @@ -27,6 +27,8 @@ public static CreateCustomDbEngineVersionRequest createCustomDbEngineVersionRequ .description(model.getDescription()) .engine(model.getEngine()) .engineVersion(model.getEngineVersion()) + .sourceCustomDbEngineVersionIdentifier(model.getSourceCustomDBEngineVersionIdentifier()) + .useAwsProvidedLatestImage(model.getUseAwsProvidedLatestImage()) .kmsKeyId(model.getKMSKeyId()) .manifest(model.getManifest()) .tags(Tagging.translateTagsToSdk(tags)) diff --git a/pom.xml b/pom.xml index 4b78cf440..acb6beb16 100644 --- a/pom.xml +++ b/pom.xml @@ -20,6 +20,7 @@ aws-rds-globalcluster aws-rds-optiongroup aws-rds-dbclusterendpoint + aws-rds-customdbengineversion