@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.018Z") @Stability(value=Stable) public interface CfnDBInstanceProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.docdb.*;
CfnDBInstanceProps cfnDBInstanceProps = CfnDBInstanceProps.builder()
.dbClusterIdentifier("dbClusterIdentifier")
.dbInstanceClass("dbInstanceClass")
// the properties below are optional
.autoMinorVersionUpgrade(false)
.availabilityZone("availabilityZone")
.dbInstanceIdentifier("dbInstanceIdentifier")
.enablePerformanceInsights(false)
.preferredMaintenanceWindow("preferredMaintenanceWindow")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnDBInstanceProps.Builder
A builder for
CfnDBInstanceProps |
static class |
CfnDBInstanceProps.Jsii$Proxy
An implementation for
CfnDBInstanceProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnDBInstanceProps.Builder |
builder() |
default Object |
getAutoMinorVersionUpgrade()
This parameter does not apply to Amazon DocumentDB.
|
default String |
getAvailabilityZone()
The Amazon EC2 Availability Zone that the instance is created in.
|
String |
getDbClusterIdentifier()
The identifier of the cluster that the instance will belong to.
|
String |
getDbInstanceClass()
The compute and memory capacity of the instance;
|
default String |
getDbInstanceIdentifier()
The instance identifier.
|
default Object |
getEnablePerformanceInsights()
`AWS::DocDB::DBInstance.EnablePerformanceInsights`.
|
default String |
getPreferredMaintenanceWindow()
The time range each week during which system maintenance can occur, in Universal Coordinated Time (UTC).
|
default List<CfnTag> |
getTags()
The tags to be assigned to the instance.
|
@Stability(value=Stable) @NotNull String getDbClusterIdentifier()
@Stability(value=Stable) @NotNull String getDbInstanceClass()
for example, db.m4.large . If you change the class of an instance there can be some interruption in the cluster's service.
@Stability(value=Stable) @Nullable default Object getAutoMinorVersionUpgrade()
Amazon DocumentDB does not perform minor version upgrades regardless of the value set.
Default: false
@Stability(value=Stable) @Nullable default String getAvailabilityZone()
Default: A random, system-chosen Availability Zone in the endpoint's AWS Region .
Example: us-east-1d
@Stability(value=Stable) @Nullable default String getDbInstanceIdentifier()
Constraints:
Example: mydbinstance
@Stability(value=Stable) @Nullable default Object getEnablePerformanceInsights()
@Stability(value=Stable) @Nullable default String getPreferredMaintenanceWindow()
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.
@Stability(value=Stable) @Nullable default List<CfnTag> getTags()
You can assign up to 10 tags to an instance.
@Stability(value=Stable) static CfnDBInstanceProps.Builder builder()
CfnDBInstanceProps.Builder of CfnDBInstancePropsCopyright © 2022. All rights reserved.