Class CfnCustomDBEngineVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCustomDBEngineVersion>
- Enclosing class:
CfnCustomDBEngineVersion
CfnCustomDBEngineVersion
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
databaseInstallationFilesS3BucketName
(String databaseInstallationFilesS3BucketName) The name of an Amazon S3 bucket that contains database installation files for your CEV.databaseInstallationFilesS3Prefix
(String databaseInstallationFilesS3Prefix) The Amazon S3 directory that contains the database installation files for your CEV.description
(String description) An optional description of your CEV.The database engine to use for your custom engine version (CEV).engineVersion
(String engineVersion) The name of your CEV.A value that indicates the ID of the AMI.The AWS KMS key identifier for an encrypted CEV.The CEV manifest, which is a JSON document that describes the installation .zip files stored in Amazon S3.sourceCustomDbEngineVersionIdentifier
(String sourceCustomDbEngineVersionIdentifier) The ARN of a CEV to use as a source for creating a new CEV.A value that indicates the status of a custom engine version (CEV).A list of tags.useAwsProvidedLatestImage
(Boolean useAwsProvidedLatestImage) Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV.useAwsProvidedLatestImage
(IResolvable useAwsProvidedLatestImage) Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV.
-
Method Details
-
create
@Stability(Stable) public static CfnCustomDBEngineVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnCustomDBEngineVersion.Builder
.
-
engine
The database engine to use for your custom engine version (CEV).Valid values:
custom-oracle-ee
custom-oracle-ee-cdb
- Parameters:
engine
- The database engine to use for your custom engine version (CEV). This parameter is required.- Returns:
this
- See Also:
-
engineVersion
The name of your CEV.The name format is
major version.customized_string
. For example, a valid CEV name is19.my_cev1
. This setting is required for RDS Custom for Oracle, but optional for Amazon RDS. The combination ofEngine
andEngineVersion
is unique per customer per Region.Constraints: Minimum length is 1. Maximum length is 60.
Pattern:
^[a-z0-9_.-]{1,60$
}- Parameters:
engineVersion
- The name of your CEV. This parameter is required.- Returns:
this
- See Also:
-
databaseInstallationFilesS3BucketName
@Stability(Stable) public CfnCustomDBEngineVersion.Builder databaseInstallationFilesS3BucketName(String databaseInstallationFilesS3BucketName) 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
.- Parameters:
databaseInstallationFilesS3BucketName
- The name of an Amazon S3 bucket that contains database installation files for your CEV. This parameter is required.- Returns:
this
- See Also:
-
databaseInstallationFilesS3Prefix
@Stability(Stable) public CfnCustomDBEngineVersion.Builder databaseInstallationFilesS3Prefix(String databaseInstallationFilesS3Prefix) 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.- Parameters:
databaseInstallationFilesS3Prefix
- The Amazon S3 directory that contains the database installation files for your CEV. This parameter is required.- Returns:
this
- See Also:
-
description
An optional description of your CEV.- Parameters:
description
- An optional description of your CEV. This parameter is required.- Returns:
this
- See Also:
-
imageId
A value that indicates the ID of the AMI.- Parameters:
imageId
- A value that indicates the ID of the AMI. This parameter is required.- Returns:
this
- See Also:
-
kmsKeyId
The AWS 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 AWS 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.
- Parameters:
kmsKeyId
- The AWS KMS key identifier for an encrypted CEV. This parameter is required.- Returns:
this
- See Also:
-
manifest
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 .
- Parameters:
manifest
- 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. This parameter is required.- Returns:
this
- See Also:
- MediaImportTemplateVersion - Version of the CEV manifest. The date is in the format
-
sourceCustomDbEngineVersionIdentifier
@Stability(Stable) public CfnCustomDBEngineVersion.Builder sourceCustomDbEngineVersionIdentifier(String sourceCustomDbEngineVersionIdentifier) 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
orUseAwsProvidedLatestImage
. You can't specify a different JSON manifest when you specifySourceCustomDbEngineVersionIdentifier
.- Parameters:
sourceCustomDbEngineVersionIdentifier
- The ARN of a CEV to use as a source for creating a new CEV. This parameter is required.- Returns:
this
- See Also:
-
status
A value that indicates the status of a custom engine version (CEV).Default: - "available"
- Parameters:
status
- A value that indicates the status of a custom engine version (CEV). This parameter is required.- Returns:
this
- See Also:
-
tags
A list of tags.For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
- Parameters:
tags
- A list of tags. This parameter is required.- Returns:
this
- See Also:
-
useAwsProvidedLatestImage
@Stability(Stable) public CfnCustomDBEngineVersion.Builder useAwsProvidedLatestImage(Boolean useAwsProvidedLatestImage) Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV.If you specify
UseAwsProvidedLatestImage
, you can't also specifyImageId
.- Parameters:
useAwsProvidedLatestImage
- Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. This parameter is required.- Returns:
this
- See Also:
-
useAwsProvidedLatestImage
@Stability(Stable) public CfnCustomDBEngineVersion.Builder useAwsProvidedLatestImage(IResolvable useAwsProvidedLatestImage) Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV.If you specify
UseAwsProvidedLatestImage
, you can't also specifyImageId
.- Parameters:
useAwsProvidedLatestImage
- Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCustomDBEngineVersion>
- Returns:
- a newly built instance of
CfnCustomDBEngineVersion
.
-