@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:21.851Z") @Stability(value=Experimental) public class DatabaseInstance extends DatabaseInstanceBase implements IDatabaseInstance
| Modifier and Type | Class and Description |
|---|---|
static class |
DatabaseInstance.Builder
(experimental) A fluent builder for
DatabaseInstance. |
software.amazon.jsii.JsiiObject.InitializationModeIDatabaseInstance.Jsii$Default, IDatabaseInstance.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
DatabaseInstance(software.constructs.Construct scope,
String id,
DatabaseInstanceProps props) |
protected |
DatabaseInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
DatabaseInstance(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
SecretRotation |
addRotationMultiUser(String id,
RotationMultiUserOptions options)
(experimental) Adds the multi user rotation to this instance.
|
SecretRotation |
addRotationSingleUser()
(experimental) Adds the single user rotation of the master password to this instance.
|
SecretRotation |
addRotationSingleUser(RotationSingleUserOptions options)
(experimental) Adds the single user rotation of the master password to this instance.
|
Connections |
getConnections()
(experimental) Access to network connections.
|
String |
getDbInstanceEndpointAddress()
(experimental) The instance endpoint address.
|
String |
getDbInstanceEndpointPort()
(experimental) The instance endpoint port.
|
protected Boolean |
getEnableIamAuthentication() |
IInstanceEngine |
getEngine()
(experimental) The engine of this database Instance.
|
Endpoint |
getInstanceEndpoint()
(experimental) The instance endpoint.
|
String |
getInstanceIdentifier()
(experimental) The instance identifier.
|
protected InstanceType |
getInstanceType() |
protected CfnDBInstanceProps |
getNewCfnProps() |
ISecret |
getSecret()
(experimental) The AWS Secrets Manager secret attached to the instance.
|
protected CfnDBInstanceProps |
getSourceCfnProps() |
IVpc |
getVpc()
(experimental) The VPC where this database instance is deployed.
|
protected SubnetSelection |
getVpcPlacement() |
protected void |
setEnableIamAuthentication(Boolean value) |
protected void |
setLogRetention() |
addProxy, asSecretAttachmentTarget, fromDatabaseInstanceAttributes, getInstanceArn, grantConnect, metric, metric, metricCPUUtilization, metricCPUUtilization, metricDatabaseConnections, metricDatabaseConnections, metricFreeableMemory, metricFreeableMemory, metricFreeStorageSpace, metricFreeStorageSpace, metricReadIOPS, metricReadIOPS, metricWriteIOPS, metricWriteIOPS, onEvent, onEventapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddProxy, getInstanceArn, grantConnect, metric, metric, metricCPUUtilization, metricCPUUtilization, metricDatabaseConnections, metricDatabaseConnections, metricFreeableMemory, metricFreeableMemory, metricFreeStorageSpace, metricFreeStorageSpace, metricReadIOPS, metricReadIOPS, metricWriteIOPS, metricWriteIOPS, onEvent, onEventasSecretAttachmentTargetprotected DatabaseInstance(software.amazon.jsii.JsiiObjectRef objRef)
protected DatabaseInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public DatabaseInstance(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
DatabaseInstanceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public SecretRotation addRotationMultiUser(@NotNull String id, @NotNull RotationMultiUserOptions options)
id - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull public SecretRotation addRotationSingleUser(@Nullable RotationSingleUserOptions options)
options - the options for the rotation, if you want to override the defaults.@Stability(value=Experimental) @NotNull public SecretRotation addRotationSingleUser()
@Stability(value=Experimental) protected void setLogRetention()
@Stability(value=Experimental) @NotNull public Connections getConnections()
getConnections in interface IConnectablegetConnections in class DatabaseInstanceBase@Stability(value=Experimental) @NotNull public String getDbInstanceEndpointAddress()
getDbInstanceEndpointAddress in interface IDatabaseInstancegetDbInstanceEndpointAddress in class DatabaseInstanceBase@Stability(value=Experimental) @NotNull public String getDbInstanceEndpointPort()
getDbInstanceEndpointPort in interface IDatabaseInstancegetDbInstanceEndpointPort in class DatabaseInstanceBase@Stability(value=Experimental) @NotNull public Endpoint getInstanceEndpoint()
getInstanceEndpoint in interface IDatabaseInstancegetInstanceEndpoint in class DatabaseInstanceBase@Stability(value=Experimental) @NotNull public String getInstanceIdentifier()
getInstanceIdentifier in interface IDatabaseInstancegetInstanceIdentifier in class DatabaseInstanceBase@Stability(value=Experimental) @NotNull protected InstanceType getInstanceType()
@Stability(value=Experimental) @NotNull protected CfnDBInstanceProps getNewCfnProps()
@Stability(value=Experimental) @NotNull protected CfnDBInstanceProps getSourceCfnProps()
@Stability(value=Experimental) @NotNull public IVpc getVpc()
@Stability(value=Experimental) @Nullable public IInstanceEngine getEngine()
May be not known for imported Instances if it wasn't provided explicitly, or for read replicas.
getEngine in interface IDatabaseInstancegetEngine in class DatabaseInstanceBase@Stability(value=Experimental) @Nullable public ISecret getSecret()
@Stability(value=Experimental) @Nullable protected SubnetSelection getVpcPlacement()
@Stability(value=Experimental) @Nullable protected Boolean getEnableIamAuthentication()
getEnableIamAuthentication in class DatabaseInstanceBase@Stability(value=Experimental)
protected void setEnableIamAuthentication(@Nullable
Boolean value)
setEnableIamAuthentication in class DatabaseInstanceBaseCopyright © 2021. All rights reserved.