@Stability(value=Stable) public static final class CfnDBInstance.Builder extends Object implements software.amazon.jsii.Builder<CfnDBInstance>
CfnDBInstance.| Modifier and Type | Method and Description |
|---|---|
CfnDBInstance.Builder |
autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
This parameter does not apply to Amazon DocumentDB.
|
CfnDBInstance.Builder |
autoMinorVersionUpgrade(IResolvable autoMinorVersionUpgrade)
This parameter does not apply to Amazon DocumentDB.
|
CfnDBInstance.Builder |
availabilityZone(String availabilityZone)
The Amazon EC2 Availability Zone that the instance is created in.
|
CfnDBInstance |
build() |
static CfnDBInstance.Builder |
create(software.constructs.Construct scope,
String id) |
CfnDBInstance.Builder |
dbClusterIdentifier(String dbClusterIdentifier)
The identifier of the cluster that the instance will belong to.
|
CfnDBInstance.Builder |
dbInstanceClass(String dbInstanceClass)
The compute and memory capacity of the instance;
|
CfnDBInstance.Builder |
dbInstanceIdentifier(String dbInstanceIdentifier)
The instance identifier.
|
CfnDBInstance.Builder |
enablePerformanceInsights(Boolean enablePerformanceInsights)
`AWS::DocDB::DBInstance.EnablePerformanceInsights`.
|
CfnDBInstance.Builder |
enablePerformanceInsights(IResolvable enablePerformanceInsights)
`AWS::DocDB::DBInstance.EnablePerformanceInsights`.
|
CfnDBInstance.Builder |
preferredMaintenanceWindow(String preferredMaintenanceWindow)
The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
CfnDBInstance.Builder |
tags(List<? extends CfnTag> tags)
The tags to be assigned to the instance.
|
@Stability(value=Stable) public static CfnDBInstance.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnDBInstance.Builder.@Stability(value=Stable) public CfnDBInstance.Builder dbClusterIdentifier(String dbClusterIdentifier)
dbClusterIdentifier - The identifier of the cluster that the instance will belong to. This parameter is required.this@Stability(value=Stable) public CfnDBInstance.Builder dbInstanceClass(String dbInstanceClass)
for example, db.m4.large . If you change the class of an instance there can be some interruption in the cluster's service.
dbInstanceClass - The compute and memory capacity of the instance;. This parameter is required.this@Stability(value=Stable) public CfnDBInstance.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
Default: false
autoMinorVersionUpgrade - This parameter does not apply to Amazon DocumentDB. This parameter is required.this@Stability(value=Stable) public CfnDBInstance.Builder autoMinorVersionUpgrade(IResolvable autoMinorVersionUpgrade)
Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
Default: false
autoMinorVersionUpgrade - This parameter does not apply to Amazon DocumentDB. This parameter is required.this@Stability(value=Stable) public CfnDBInstance.Builder availabilityZone(String availabilityZone)
Default: A random, system-chosen Availability Zone in the endpoint's AWS Region .
Example: us-east-1d
availabilityZone - The Amazon EC2 Availability Zone that the instance is created in. This parameter is required.this@Stability(value=Stable) public CfnDBInstance.Builder dbInstanceIdentifier(String dbInstanceIdentifier)
Constraints:
Example: mydbinstance
dbInstanceIdentifier - The instance identifier. This parameter is stored as a lowercase string. This parameter is required.this@Stability(value=Stable) public CfnDBInstance.Builder enablePerformanceInsights(Boolean enablePerformanceInsights)
enablePerformanceInsights - `AWS::DocDB::DBInstance.EnablePerformanceInsights`. This parameter is required.this@Stability(value=Stable) public CfnDBInstance.Builder enablePerformanceInsights(IResolvable enablePerformanceInsights)
enablePerformanceInsights - `AWS::DocDB::DBInstance.EnablePerformanceInsights`. This parameter is required.this@Stability(value=Stable) public CfnDBInstance.Builder preferredMaintenanceWindow(String preferredMaintenanceWindow)
Format: ddd:hh24:mi-ddd:hh24:mi
The 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.
preferredMaintenanceWindow - The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC). This parameter is required.this@Stability(value=Stable) public CfnDBInstance.Builder tags(List<? extends CfnTag> tags)
You can assign up to 10 tags to an instance.
tags - The tags to be assigned to the instance. This parameter is required.this@Stability(value=Stable) public CfnDBInstance build()
build in interface software.amazon.jsii.Builder<CfnDBInstance>Copyright © 2022. All rights reserved.