create_custom_db_engine_version¶
Operation¶
create_custom_db_engine_version
async
¶
create_custom_db_engine_version(input: CreateCustomDBEngineVersionInput, plugins: list[Plugin] | None = None) -> CreateCustomDBEngineVersionOutput
Creates a custom DB engine version (CEV).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateCustomDBEngineVersionInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreateCustomDBEngineVersionOutput
|
An instance of |
Input¶
CreateCustomDBEngineVersionInput
dataclass
¶
Bases: _SerdeShape
Dataclass for CreateCustomDBEngineVersionInput structure.
Attributes¶
database_installation_files
class-attribute
instance-attribute
¶
The database installation files (ISO and EXE) uploaded to Amazon S3 for your database engine version to import to Amazon RDS.
For RDS for SQL Server Bring Your Own Media (sqlserver-ee,
sqlserver-se), provide the SQL Server RTM ISO file once per major
version and edition combination. Minor versions reuse the same file.
database_installation_files_s3_bucket_name
class-attribute
instance-attribute
¶
database_installation_files_s3_bucket_name: str | None = ...
The 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_prefix
class-attribute
instance-attribute
¶
database_installation_files_s3_prefix: str | None = ...
The 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.
description
class-attribute
instance-attribute
¶
description: str | None = ...
An optional description of your CEV.
engine
class-attribute
instance-attribute
¶
engine: str | None = ...
The database engine.
RDS Custom for Oracle supports the following values:
-
custom-oracle-ee -
custom-oracle-ee-cdb -
custom-oracle-se2 -
custom-oracle-se2-cdb
RDS Custom for SQL Server supports the following values:
-
custom-sqlserver-ee -
custom-sqlserver-se -
custom-sqlserver-web -
custom-sqlserver-dev
RDS for SQL Server supports the following values:
-
sqlserver-ee(Bring Your Own Media) -
sqlserver-se(Bring Your Own Media) -
sqlserver-dev-ee
engine_version
class-attribute
instance-attribute
¶
engine_version: str | None = ...
The name of your custom engine version (CEV).
For RDS Custom for Oracle, the name format is 19.*customized_string*.
For example, a valid CEV name is 19.my_cev1.
For RDS Custom for SQL Server and RDS for SQL Server sqlserver-dev-ee,
the name format is
*major_engine_version*.*minor_engine_version*.*customized_string*. For
example, a valid CEV name is 16.00.4215.2.my_cev1.
For RDS for SQL Server Bring Your Own Media (sqlserver-ee,
sqlserver-se), specify the RDS engine version that you want to use.
For example, 16.00.4175.1.v1.
The CEV name is unique per customer per Amazon Web Services Regions.
image_id
class-attribute
instance-attribute
¶
image_id: str | None = ...
The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a CEV. For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI ID that was used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the DescribeDBEngineVersions operation.
kms_key_id
class-attribute
instance-attribute
¶
kms_key_id: str | None = ...
The Amazon Web Services KMS key identifier for an encrypted CEV. A symmetric encryption KMS key is required for RDS Custom, but optional for Amazon RDS.
If you have an existing symmetric encryption KMS key in your account, you can use it with RDS Custom. No further action is necessary. If you don't already have a symmetric encryption KMS key in your account, follow the instructions in Creating a symmetric encryption KMS key in the Amazon Web Services Key Management Service Developer Guide.
You can choose the same symmetric encryption key when you create a CEV and a DB instance, or choose different keys.
manifest
class-attribute
instance-attribute
¶
manifest: str | None = ...
The 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.
The following JSON fields are valid:
- MediaImportTemplateVersion
-
Version of the CEV manifest. The date is in the format
YYYY-MM-DD. - databaseInstallationFileNames
-
Ordered list of installation files for the CEV.
- opatchFileNames
-
Ordered list of OPatch installers used for the Oracle DB engine.
- psuRuPatchFileNames
-
The PSU and RU patches for this CEV.
- OtherPatchFileNames
-
The patches that are not in the list of PSU and RU patches. Amazon RDS applies these patches after applying the PSU and RU patches.
For more information, see Creating the CEV manifest in the Amazon RDS User Guide.
source_custom_db_engine_version_identifier
class-attribute
instance-attribute
¶
source_custom_db_engine_version_identifier: str | None = ...
The ARN of a CEV to use as a source for creating a new CEV. You can
specify a different Amazon Machine Imagine (AMI) by using either
Source or UseAwsProvidedLatestImage. You can't specify a different
JSON manifest when you specify SourceCustomDbEngineVersionIdentifier.
tags
class-attribute
instance-attribute
¶
tags: list[Tag] | None = ...
A list of tags.
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.
Output¶
CreateCustomDBEngineVersionOutput
dataclass
¶
Bases: _SerdeShape
This data type is used as a response element in the action
DescribeDBEngineVersions.
Attributes¶
create_time
class-attribute
instance-attribute
¶
create_time: datetime | None = ...
The creation time of the DB engine version.
custom_db_engine_version_manifest
class-attribute
instance-attribute
¶
custom_db_engine_version_manifest: str | None = ...
JSON string that lists the installation files and parameters that RDS Custom uses to create a custom engine version (CEV). RDS Custom applies the patches in the order in which they're listed in the manifest. You can set the Oracle home, Oracle base, and UNIX/Linux user and group using the installation parameters. For more information, see JSON fields in the CEV manifest in the Amazon RDS User Guide.
database_installation_files
class-attribute
instance-attribute
¶
The database installation files (ISO and EXE) that were uploaded to
Amazon S3 and used to import the database engine version to Amazon RDS.
Returned for RDS for SQL Server engine versions (sqlserver-ee,
sqlserver-se, and sqlserver-dev-ee) created from customer-supplied
installation media.
database_installation_files_s3_bucket_name
class-attribute
instance-attribute
¶
database_installation_files_s3_bucket_name: str | None = ...
The name of the Amazon S3 bucket that contains your database installation files.
database_installation_files_s3_prefix
class-attribute
instance-attribute
¶
database_installation_files_s3_prefix: str | None = ...
The Amazon S3 directory that contains the database installation files. If not specified, then no prefix is assumed.
db_engine_description
class-attribute
instance-attribute
¶
db_engine_description: str | None = ...
The description of the database engine.
db_engine_media_type
class-attribute
instance-attribute
¶
db_engine_media_type: str | None = ...
The source of the installation media for this engine version. A value of
Customer Provided indicates that the engine version was created from
customer-supplied installation media using
CreateCustomDBEngineVersion. Applicable to RDS Custom for SQL Server
and to RDS for SQL Server engine versions (sqlserver-ee and
sqlserver-se with the bring-your-own-media license model, and
sqlserver-dev-ee).
db_engine_version_arn
class-attribute
instance-attribute
¶
db_engine_version_arn: str | None = ...
The ARN of the custom engine version.
db_engine_version_description
class-attribute
instance-attribute
¶
db_engine_version_description: str | None = ...
The description of the database engine version.
db_parameter_group_family
class-attribute
instance-attribute
¶
db_parameter_group_family: str | None = ...
The name of the DB parameter group family for the database engine.
default_character_set
class-attribute
instance-attribute
¶
The default character set for new instances of this engine version, if
the CharacterSetName parameter of the CreateDBInstance API isn't
specified.
engine
class-attribute
instance-attribute
¶
engine: str | None = ...
The name of the database engine.
engine_version
class-attribute
instance-attribute
¶
engine_version: str | None = ...
The version number of the database engine.
exportable_log_types
class-attribute
instance-attribute
¶
The types of logs that the database engine has available for export to CloudWatch Logs.
failure_reason
class-attribute
instance-attribute
¶
failure_reason: str | None = ...
The reason that the custom engine version creation failed with an
incompatible-installation-media status. Applicable to RDS for SQL
Server engine versions (sqlserver-ee, sqlserver-se, and
sqlserver-dev-ee).
image
class-attribute
instance-attribute
¶
The EC2 image
kms_key_id
class-attribute
instance-attribute
¶
kms_key_id: str | None = ...
The Amazon Web Services KMS key identifier for an encrypted CEV. This parameter is required for RDS Custom, but optional for Amazon RDS.
major_engine_version
class-attribute
instance-attribute
¶
major_engine_version: str | None = ...
The major engine version of the CEV.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
serverless_v2_features_support
class-attribute
instance-attribute
¶
Specifies any Aurora Serverless v2 properties or limits that differ between Aurora engine versions. You can test the values of this attribute when deciding which Aurora version to use in a new or upgraded DB cluster. You can also retrieve the version of an existing DB cluster and check whether that version supports certain Aurora Serverless v2 features before you attempt to use those features.
status
class-attribute
instance-attribute
¶
status: str | None = ...
The status of the DB engine version, either available or deprecated.
supported_ca_certificate_identifiers
class-attribute
instance-attribute
¶
A list of the supported CA certificate identifiers.
For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.
supported_character_sets
class-attribute
instance-attribute
¶
supported_character_sets: list[CharacterSet] | None = ...
A list of the character sets supported by this engine for the
CharacterSetName parameter of the CreateDBInstance operation.
supported_engine_modes
class-attribute
instance-attribute
¶
A list of the supported DB engine modes.
supported_feature_names
class-attribute
instance-attribute
¶
A list of features supported by the DB engine.
The supported features vary by DB engine and DB engine version.
To determine the supported features for a specific DB engine and DB engine version using the CLI, use the following command:
aws rds describe-db-engine-versions --engine <engine_name> --engine-version <engine_version>
For example, to determine the supported features for RDS for PostgreSQL version 13.3 using the CLI, use the following command:
aws rds describe-db-engine-versions --engine postgres --engine-version 13.3
The supported features are listed under SupportedFeatureNames in the
output.
supported_nchar_character_sets
class-attribute
instance-attribute
¶
supported_nchar_character_sets: list[CharacterSet] | None = ...
A list of the character sets supported by the Oracle DB engine for the
NcharCharacterSetName parameter of the CreateDBInstance operation.
supported_timezones
class-attribute
instance-attribute
¶
supported_timezones: list[Timezone] | None = ...
A list of the time zones supported by this engine for the Timezone
parameter of the CreateDBInstance action.
supports_babelfish
class-attribute
instance-attribute
¶
supports_babelfish: bool | None = ...
Indicates whether the engine version supports Babelfish for Aurora PostgreSQL.
supports_certificate_rotation_without_restart
class-attribute
instance-attribute
¶
supports_certificate_rotation_without_restart: bool | None = ...
Indicates whether the engine version supports rotating the server certificate without rebooting the DB instance.
supports_global_databases
class-attribute
instance-attribute
¶
supports_global_databases: bool | None = ...
Indicates whether you can use Aurora global databases with a specific DB engine version.
supports_integrations
class-attribute
instance-attribute
¶
supports_integrations: bool | None = ...
Indicates whether the DB engine version supports zero-ETL integrations with Amazon Redshift.
supports_limitless_database
class-attribute
instance-attribute
¶
supports_limitless_database: bool | None = ...
Indicates whether the DB engine version supports Aurora Limitless Database.
supports_local_write_forwarding
class-attribute
instance-attribute
¶
supports_local_write_forwarding: bool | None = ...
Indicates whether the DB engine version supports forwarding write operations from reader DB instances to the writer DB instance in the DB cluster. By default, write operations aren't allowed on reader DB instances.
Valid for: Aurora DB clusters only
supports_log_exports_to_cloudwatch_logs
class-attribute
instance-attribute
¶
supports_log_exports_to_cloudwatch_logs: bool | None = ...
Indicates whether the engine version supports exporting the log types specified by ExportableLogTypes to CloudWatch Logs.
supports_parallel_query
class-attribute
instance-attribute
¶
supports_parallel_query: bool | None = ...
Indicates whether you can use Aurora parallel query with a specific DB engine version.
supports_read_replica
class-attribute
instance-attribute
¶
supports_read_replica: bool | None = ...
Indicates whether the database engine version supports read replicas.
tag_list
class-attribute
instance-attribute
¶
tag_list: list[Tag] | None = ...
A list of tags.
For more information, see Tagging Amazon RDS resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS resources in the Amazon Aurora User Guide.