@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:32.026Z") @Stability(value=Experimental) public interface InstanceProps extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
InstanceProps.Builder
A builder for
InstanceProps |
static class |
InstanceProps.Jsii$Proxy
An implementation for
InstanceProps |
| Modifier and Type | Method and Description |
|---|---|
static InstanceProps.Builder |
builder() |
default Boolean |
getAllowMajorVersionUpgrade()
(experimental) Whether to allow upgrade of major version for the DB instance.
|
default Boolean |
getAutoMinorVersionUpgrade()
(experimental) Whether to enable automatic upgrade of minor version for the DB instance.
|
default Boolean |
getDeleteAutomatedBackups()
(experimental) Whether to remove automated backups immediately after the DB instance is deleted for the DB instance.
|
default Boolean |
getEnablePerformanceInsights()
(experimental) Whether to enable Performance Insights for the DB instance.
|
default InstanceType |
getInstanceType()
(experimental) What type of instance to start for the replicas.
|
default IParameterGroup |
getParameterGroup()
(experimental) The DB parameter group to associate with the instance.
|
default IKey |
getPerformanceInsightEncryptionKey()
(experimental) The AWS KMS key for encryption of Performance Insights data.
|
default PerformanceInsightRetention |
getPerformanceInsightRetention()
(experimental) The amount of time, in days, to retain Performance Insights data.
|
default Boolean |
getPubliclyAccessible()
(experimental) Indicates whether the DB instance is an internet-facing instance.
|
default List<ISecurityGroup> |
getSecurityGroups()
(experimental) Security group.
|
IVpc |
getVpc()
(experimental) What subnets to run the RDS instances in.
|
default SubnetSelection |
getVpcSubnets()
(experimental) Where to place the instances within the VPC.
|
@Stability(value=Experimental) @NotNull IVpc getVpc()
Must be at least 2 subnets in two different AZs.
@Stability(value=Experimental) @Nullable default Boolean getAllowMajorVersionUpgrade()
Default: - false
@Stability(value=Experimental) @Nullable default Boolean getAutoMinorVersionUpgrade()
Default: - true
@Stability(value=Experimental) @Nullable default Boolean getDeleteAutomatedBackups()
Default: - true
@Stability(value=Experimental) @Nullable default Boolean getEnablePerformanceInsights()
Default: - false, unless ``performanceInsightRentention`` or ``performanceInsightEncryptionKey`` is set.
@Stability(value=Experimental) @Nullable default InstanceType getInstanceType()
Default: - t3.medium (or, more precisely, db.t3.medium)
@Stability(value=Experimental) @Nullable default IParameterGroup getParameterGroup()
Default: no parameter group
@Stability(value=Experimental) @Nullable default IKey getPerformanceInsightEncryptionKey()
Default: - default master key
@Stability(value=Experimental) @Nullable default PerformanceInsightRetention getPerformanceInsightRetention()
Default: 7
@Stability(value=Experimental) @Nullable default Boolean getPubliclyAccessible()
Default: - `true` if `vpcSubnets` is `subnetType: SubnetType.PUBLIC`, `false` otherwise
@Stability(value=Experimental) @Nullable default List<ISecurityGroup> getSecurityGroups()
Default: a new security group is created.
@Stability(value=Experimental) @Nullable default SubnetSelection getVpcSubnets()
Default: - the Vpc default strategy if not specified.
@Stability(value=Experimental) static InstanceProps.Builder builder()
InstanceProps.Builder of InstancePropsCopyright © 2021. All rights reserved.