Skip to main content

customdb_engine_versions

Creates, updates, deletes or gets a customdb_engine_version resource or lists customdb_engine_versions in a region

Overview

Namecustomdb_engine_versions
TypeResource
DescriptionThe AWS::RDS::CustomDBEngineVersion resource creates an Amazon RDS custom DB engine version.
Idaws.rds.customdb_engine_versions

Fields

NameDatatypeDescription
database_installation_files_s3_bucket_namestringThe name of an Amazon S3 bucket that contains database installation files for your CEV. For example, a valid bucket name is `my-custom-installation-files`.
database_installation_files_s3_prefixstringThe Amazon S3 directory that contains the database installation files for your CEV. For example, a valid bucket name is `123456789012/cev1`. If this setting isn't specified, no prefix is assumed.
descriptionstringAn optional description of your CEV.
enginestringThe database engine to use for your custom engine version (CEV). The only supported value is `custom-oracle-ee`.
engine_versionstringThe name of your CEV. The name format is 19.customized_string . For example, a valid name is 19.my_cev1. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The combination of Engine and EngineVersion is unique per customer per Region.
kms_key_idstringThe AWS KMS key identifier for an encrypted CEV. A symmetric KMS key is required for RDS Custom, but optional for Amazon RDS.
manifeststringThe CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3. Specify the name/value pairs in a file or a quoted string. RDS Custom applies the patches in the order in which they are listed.
db_engine_version_arnstringThe ARN of the custom engine version.
source_custom_db_engine_version_identifierstringThe identifier of the source custom engine version.
use_aws_provided_latest_imagebooleanA 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. This value is only applied on create.
image_idstringThe identifier of Amazon Machine Image (AMI) used for CEV.
statusstringThe availability status to be assigned to the CEV.
tagsarrayAn array of key-value pairs to apply to this resource.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTEngine, EngineVersion, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all customdb_engine_versions in a region.

SELECT
region,
database_installation_files_s3_bucket_name,
database_installation_files_s3_prefix,
description,
engine,
engine_version,
kms_key_id,
manifest,
db_engine_version_arn,
source_custom_db_engine_version_identifier,
use_aws_provided_latest_image,
image_id,
status,
tags
FROM aws.rds.customdb_engine_versions
WHERE region = 'us-east-1';

Gets all properties from an individual customdb_engine_version.

SELECT
region,
database_installation_files_s3_bucket_name,
database_installation_files_s3_prefix,
description,
engine,
engine_version,
kms_key_id,
manifest,
db_engine_version_arn,
source_custom_db_engine_version_identifier,
use_aws_provided_latest_image,
image_id,
status,
tags
FROM aws.rds.customdb_engine_versions
WHERE region = 'us-east-1' AND data__Identifier = '<Engine>|<EngineVersion>';

INSERT example

Use the following StackQL query and manifest file to create a new customdb_engine_version resource, using stack-deploy.

/*+ create */
INSERT INTO aws.rds.customdb_engine_versions (
Engine,
EngineVersion,
region
)
SELECT
'{{ Engine }}',
'{{ EngineVersion }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.rds.customdb_engine_versions
WHERE data__Identifier = '<Engine|EngineVersion>'
AND region = 'us-east-1';

Permissions

To operate on the customdb_engine_versions resource, the following permissions are required:

Create

ec2:CopySnapshot,
ec2:DeleteSnapshot,
ec2:DescribeSnapshots,
kms:CreateGrant,
kms:Decrypt,
kms:DescribeKey,
kms:GenerateDataKey,
kms:ReEncrypt,
mediaimport:CreateDatabaseBinarySnapshot,
rds:AddTagsToResource,
rds:CreateCustomDBEngineVersion,
rds:DescribeDBEngineVersions,
rds:ModifyCustomDBEngineVersion,
s3:CreateBucket,
s3:GetObject,
s3:GetObjectAcl,
s3:GetObjectTagging,
s3:ListBucket,
s3:PutBucketObjectLockConfiguration,
s3:PutBucketPolicy,
s3:PutBucketVersioning

Read

rds:DescribeDBEngineVersions

Update

rds:AddTagsToResource,
rds:DescribeDBEngineVersions,
rds:ModifyCustomDBEngineVersion,
rds:RemoveTagsFromResource

Delete

rds:DeleteCustomDBEngineVersion,
rds:DescribeDBEngineVersions

List

rds:DescribeDBEngineVersions