Class CfnDBInstancePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDBInstancePropsMixin>
- Enclosing class:
CfnDBInstancePropsMixin
CfnDBInstancePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionautoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) This parameter does not apply to Amazon DocumentDB.autoMinorVersionUpgrade(IResolvable autoMinorVersionUpgrade) This parameter does not apply to Amazon DocumentDB.availabilityZone(String availabilityZone) The Amazon EC2 Availability Zone that the instance is created in.build()caCertificateIdentifier(String caCertificateIdentifier) The identifier of the CA certificate for this DB instance.certificateRotationRestart(Boolean certificateRotationRestart) Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate.certificateRotationRestart(IResolvable certificateRotationRestart) Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate.create()create(CfnPropertyMixinOptions options) dbClusterIdentifier(String dbClusterIdentifier) The identifier of the cluster that the instance will belong to.dbInstanceClass(String dbInstanceClass) The compute and memory capacity of the instance;dbInstanceIdentifier(String dbInstanceIdentifier) The instance identifier.enablePerformanceInsights(Boolean enablePerformanceInsights) A value that indicates whether to enable Performance Insights for the DB Instance.enablePerformanceInsights(IResolvable enablePerformanceInsights) A value that indicates whether to enable Performance Insights for the DB Instance.preferredMaintenanceWindow(String preferredMaintenanceWindow) The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).The tags to be assigned to the instance.
-
Method Details
-
create
@Stability(Stable) public static CfnDBInstancePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnDBInstancePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnDBInstancePropsMixin.Builder.
-
autoMinorVersionUpgrade
@Stability(Stable) public CfnDBInstancePropsMixin.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade) This parameter does not apply to Amazon DocumentDB.Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
Default:
false- Parameters:
autoMinorVersionUpgrade- This parameter does not apply to Amazon DocumentDB. This parameter is required.- Returns:
this- See Also:
-
autoMinorVersionUpgrade
@Stability(Stable) public CfnDBInstancePropsMixin.Builder autoMinorVersionUpgrade(IResolvable autoMinorVersionUpgrade) This parameter does not apply to Amazon DocumentDB.Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
Default:
false- Parameters:
autoMinorVersionUpgrade- This parameter does not apply to Amazon DocumentDB. This parameter is required.- Returns:
this- See Also:
-
availabilityZone
The Amazon EC2 Availability Zone that the instance is created in.Default: A random, system-chosen Availability Zone in the endpoint's AWS Region .
Example:
us-east-1d- Parameters:
availabilityZone- The Amazon EC2 Availability Zone that the instance is created in. This parameter is required.- Returns:
this- See Also:
-
caCertificateIdentifier
@Stability(Stable) public CfnDBInstancePropsMixin.Builder caCertificateIdentifier(String caCertificateIdentifier) The identifier of the CA certificate for this DB instance.- Parameters:
caCertificateIdentifier- The identifier of the CA certificate for this DB instance. This parameter is required.- Returns:
this- See Also:
-
certificateRotationRestart
@Stability(Stable) public CfnDBInstancePropsMixin.Builder certificateRotationRestart(Boolean certificateRotationRestart) Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate.By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted.
Set this parameter only if you are not using SSL/TLS to connect to the DB instance.
If you are using SSL/TLS to connect to the DB instance, see Updating Your Amazon DocumentDB TLS Certificates and Encrypting Data in Transit in the Amazon DocumentDB Developer Guide .
- Parameters:
certificateRotationRestart- Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. This parameter is required.- Returns:
this- See Also:
-
certificateRotationRestart
@Stability(Stable) public CfnDBInstancePropsMixin.Builder certificateRotationRestart(IResolvable certificateRotationRestart) Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate.By default, the DB instance is restarted when you rotate your SSL/TLS certificate. The certificate is not updated until the DB instance is restarted.
Set this parameter only if you are not using SSL/TLS to connect to the DB instance.
If you are using SSL/TLS to connect to the DB instance, see Updating Your Amazon DocumentDB TLS Certificates and Encrypting Data in Transit in the Amazon DocumentDB Developer Guide .
- Parameters:
certificateRotationRestart- Specifies whether the DB instance is restarted when you rotate your SSL/TLS certificate. This parameter is required.- Returns:
this- See Also:
-
dbClusterIdentifier
@Stability(Stable) public CfnDBInstancePropsMixin.Builder dbClusterIdentifier(String dbClusterIdentifier) The identifier of the cluster that the instance will belong to.- Parameters:
dbClusterIdentifier- The identifier of the cluster that the instance will belong to. This parameter is required.- Returns:
this- See Also:
-
dbInstanceClass
The compute and memory capacity of the instance;for example,
db.m4.large. If you change the class of an instance there can be some interruption in the cluster's service.- Parameters:
dbInstanceClass- The compute and memory capacity of the instance;. This parameter is required.- Returns:
this- See Also:
-
dbInstanceIdentifier
@Stability(Stable) public CfnDBInstancePropsMixin.Builder dbInstanceIdentifier(String dbInstanceIdentifier) The instance identifier. This parameter is stored as a lowercase string.Constraints:
- Must contain from 1 to 63 letters, numbers, or hyphens.
- The first character must be a letter.
- Cannot end with a hyphen or contain two consecutive hyphens.
Example:
mydbinstance- Parameters:
dbInstanceIdentifier- The instance identifier. This parameter is stored as a lowercase string. This parameter is required.- Returns:
this- See Also:
-
enablePerformanceInsights
@Stability(Stable) public CfnDBInstancePropsMixin.Builder enablePerformanceInsights(Boolean enablePerformanceInsights) A value that indicates whether to enable Performance Insights for the DB Instance.For more information, see Using Amazon Performance Insights .
- Parameters:
enablePerformanceInsights- A value that indicates whether to enable Performance Insights for the DB Instance. This parameter is required.- Returns:
this- See Also:
-
enablePerformanceInsights
@Stability(Stable) public CfnDBInstancePropsMixin.Builder enablePerformanceInsights(IResolvable enablePerformanceInsights) A value that indicates whether to enable Performance Insights for the DB Instance.For more information, see Using Amazon Performance Insights .
- Parameters:
enablePerformanceInsights- A value that indicates whether to enable Performance Insights for the DB Instance. This parameter is required.- Returns:
this- See Also:
-
preferredMaintenanceWindow
@Stability(Stable) public CfnDBInstancePropsMixin.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow) The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).Format:
ddd:hh24:mi-ddd:hh24:miThe default is a 30-minute window selected at random from an 8-hour block of time for each AWS Region , occurring on a random day of the week.
Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Constraints: Minimum 30-minute window.
- Parameters:
preferredMaintenanceWindow- The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). This parameter is required.- Returns:
this- See Also:
-
tags
The tags to be assigned to the instance.You can assign up to 10 tags to an instance.
- Parameters:
tags- The tags to be assigned to the instance. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDBInstancePropsMixin>- Returns:
- a newly built instance of
CfnDBInstancePropsMixin.
-