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

[CEV] Add two parameters on CEV #472

Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down Expand Up @@ -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"
],
Expand Down
26 changes: 25 additions & 1 deletion aws-rds-customdbengineversion/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ To declare this entity in your AWS CloudFormation template, use the following sy
"<a href="#engineversion" title="EngineVersion">EngineVersion</a>" : <i>String</i>,
"<a href="#kmskeyid" title="KMSKeyId">KMSKeyId</a>" : <i>String</i>,
"<a href="#manifest" title="Manifest">Manifest</a>" : <i>String</i>,
"<a href="#sourcecustomdbengineversionidentifier" title="SourceCustomDBEngineVersionIdentifier">SourceCustomDBEngineVersionIdentifier</a>" : <i>String</i>,
"<a href="#useawsprovidedlatestimage" title="UseAwsProvidedLatestImage">UseAwsProvidedLatestImage</a>" : <i>Boolean</i>,
"<a href="#status" title="Status">Status</a>" : <i>String</i>,
"<a href="#tags" title="Tags">Tags</a>" : <i>[ <a href="tag.md">Tag</a>, ... ]</i>
}
Expand All @@ -37,6 +39,8 @@ Properties:
<a href="#engineversion" title="EngineVersion">EngineVersion</a>: <i>String</i>
<a href="#kmskeyid" title="KMSKeyId">KMSKeyId</a>: <i>String</i>
<a href="#manifest" title="Manifest">Manifest</a>: <i>String</i>
<a href="#sourcecustomdbengineversionidentifier" title="SourceCustomDBEngineVersionIdentifier">SourceCustomDBEngineVersionIdentifier</a>: <i>String</i>
<a href="#useawsprovidedlatestimage" title="UseAwsProvidedLatestImage">UseAwsProvidedLatestImage</a>: <i>Boolean</i>
<a href="#status" title="Status">Status</a>: <i>String</i>
<a href="#tags" title="Tags">Tags</a>: <i>
- <a href="tag.md">Tag</a></i>
Expand Down Expand Up @@ -142,6 +146,26 @@ _Maximum Length_: <code>51000</code>

_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.
Expand Down Expand Up @@ -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.
2 changes: 1 addition & 1 deletion aws-rds-customdbengineversion/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>rds</artifactId>
<version>2.20.98</version>
<version>2.20.162</version>
</dependency>
<dependency>
<groupId>software.amazon.rds.common</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
<module>aws-rds-globalcluster</module>
<module>aws-rds-optiongroup</module>
<module>aws-rds-dbclusterendpoint</module>
<module>aws-rds-customdbengineversion</module>
</modules>

<build>
Expand Down
Loading