Interface IDatabaseInstance.Jsii$Default
- All Superinterfaces:
IConnectable,IConnectable.Jsii$Default,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,IDatabaseInstance,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,IResource,IResource.Jsii$Default,ISecretAttachmentTarget,ISecretAttachmentTarget.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IDatabaseInstance.Jsii$Proxy
- Enclosing interface:
IDatabaseInstance
@Internal
public static interface IDatabaseInstance.Jsii$Default
extends IDatabaseInstance, IResource.Jsii$Default, IConnectable.Jsii$Default, ISecretAttachmentTarget.Jsii$Default
Internal default implementation for
IDatabaseInstance.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IConnectable
IConnectable.Jsii$Default, IConnectable.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.rds.IDatabaseInstance
IDatabaseInstance.Jsii$Default, IDatabaseInstance.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.secretsmanager.ISecretAttachmentTarget
ISecretAttachmentTarget.Jsii$Default, ISecretAttachmentTarget.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault DatabaseProxyaddProxy(String id, DatabaseProxyOptions options) Add a new db proxy to this instance.default StringThe instance endpoint address.default StringThe instance endpoint port.default IInstanceEngineThe engine of this database Instance.default StringThe instance arn.default EndpointThe instance endpoint.default StringThe instance identifier.default StringThe AWS Region-unique, immutable identifier for the DB instance.default GrantgrantConnect(IGrantable grantee) Grant the given identity connection access to the database.default GrantgrantConnect(IGrantable grantee, String dbUser) Grant the given identity connection access to the database.default MetricReturn the given named metric for this DBInstance.default Metricmetric(String metricName, MetricOptions props) Return the given named metric for this DBInstance.default MetricThe percentage of CPU utilization.default MetricThe percentage of CPU utilization.default MetricThe number of database connections in use.default MetricThe number of database connections in use.default MetricThe amount of available random access memory.default MetricThe amount of available random access memory.default MetricThe amount of available storage space.default MetricThe amount of available storage space.default MetricThe average number of disk write I/O operations per second.default MetricmetricReadIOPS(MetricOptions props) The average number of disk write I/O operations per second.default MetricThe average number of disk read I/O operations per second.default MetricmetricWriteIOPS(MetricOptions props) The average number of disk read I/O operations per second.default RuleDefines a CloudWatch event rule which triggers for instance events.default RuleonEvent(String id, OnEventOptions options) Defines a CloudWatch event rule which triggers for instance events.Methods inherited from interface software.amazon.awscdk.services.ec2.IConnectable.Jsii$Default
getConnectionsMethods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.awscdk.services.secretsmanager.ISecretAttachmentTarget.Jsii$Default
asSecretAttachmentTargetMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDbInstanceEndpointAddress
The instance endpoint address.- Specified by:
getDbInstanceEndpointAddressin interfaceIDatabaseInstance
-
getDbInstanceEndpointPort
The instance endpoint port.- Specified by:
getDbInstanceEndpointPortin interfaceIDatabaseInstance
-
getInstanceArn
The instance arn.- Specified by:
getInstanceArnin interfaceIDatabaseInstance
-
getInstanceEndpoint
The instance endpoint.- Specified by:
getInstanceEndpointin interfaceIDatabaseInstance
-
getInstanceIdentifier
The instance identifier.- Specified by:
getInstanceIdentifierin interfaceIDatabaseInstance
-
getEngine
The engine of this database Instance.May be not known for imported Instances if it wasn't provided explicitly, or for read replicas.
- Specified by:
getEnginein interfaceIDatabaseInstance
-
getInstanceResourceId
The AWS Region-unique, immutable identifier for the DB instance.This identifier is found in AWS CloudTrail log entries whenever the AWS KMS key for the DB instance is accessed.
- Specified by:
getInstanceResourceIdin interfaceIDatabaseInstance- See Also:
-
addProxy
@Stability(Stable) @NotNull default DatabaseProxy addProxy(@NotNull String id, @NotNull DatabaseProxyOptions options) Add a new db proxy to this instance.- Specified by:
addProxyin interfaceIDatabaseInstance- Parameters:
id- This parameter is required.options- This parameter is required.
-
grantConnect
@Stability(Stable) @NotNull default Grant grantConnect(@NotNull IGrantable grantee, @Nullable String dbUser) Grant the given identity connection access to the database.- Specified by:
grantConnectin interfaceIDatabaseInstance- Parameters:
grantee- the Principal to grant the permissions to. This parameter is required.dbUser- the name of the database user to allow connecting as to the db instance.
-
grantConnect
Grant the given identity connection access to the database.- Specified by:
grantConnectin interfaceIDatabaseInstance- Parameters:
grantee- the Principal to grant the permissions to. This parameter is required.
-
metric
@Stability(Stable) @NotNull default Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Return the given named metric for this DBInstance.- Specified by:
metricin interfaceIDatabaseInstance- Parameters:
metricName- This parameter is required.props-
-
metric
Return the given named metric for this DBInstance.- Specified by:
metricin interfaceIDatabaseInstance- Parameters:
metricName- This parameter is required.
-
metricCPUUtilization
The percentage of CPU utilization.Average over 5 minutes
- Specified by:
metricCPUUtilizationin interfaceIDatabaseInstance- Parameters:
props-
-
metricCPUUtilization
The percentage of CPU utilization.Average over 5 minutes
- Specified by:
metricCPUUtilizationin interfaceIDatabaseInstance
-
metricDatabaseConnections
The number of database connections in use.Average over 5 minutes
- Specified by:
metricDatabaseConnectionsin interfaceIDatabaseInstance- Parameters:
props-
-
metricDatabaseConnections
The number of database connections in use.Average over 5 minutes
- Specified by:
metricDatabaseConnectionsin interfaceIDatabaseInstance
-
metricFreeableMemory
The amount of available random access memory.Average over 5 minutes
- Specified by:
metricFreeableMemoryin interfaceIDatabaseInstance- Parameters:
props-
-
metricFreeableMemory
The amount of available random access memory.Average over 5 minutes
- Specified by:
metricFreeableMemoryin interfaceIDatabaseInstance
-
metricFreeStorageSpace
The amount of available storage space.Average over 5 minutes
- Specified by:
metricFreeStorageSpacein interfaceIDatabaseInstance- Parameters:
props-
-
metricFreeStorageSpace
The amount of available storage space.Average over 5 minutes
- Specified by:
metricFreeStorageSpacein interfaceIDatabaseInstance
-
metricReadIOPS
The average number of disk write I/O operations per second.Average over 5 minutes
- Specified by:
metricReadIOPSin interfaceIDatabaseInstance- Parameters:
props-
-
metricReadIOPS
The average number of disk write I/O operations per second.Average over 5 minutes
- Specified by:
metricReadIOPSin interfaceIDatabaseInstance
-
metricWriteIOPS
The average number of disk read I/O operations per second.Average over 5 minutes
- Specified by:
metricWriteIOPSin interfaceIDatabaseInstance- Parameters:
props-
-
metricWriteIOPS
The average number of disk read I/O operations per second.Average over 5 minutes
- Specified by:
metricWriteIOPSin interfaceIDatabaseInstance
-
onEvent
@Stability(Stable) @NotNull default Rule onEvent(@NotNull String id, @Nullable OnEventOptions options) Defines a CloudWatch event rule which triggers for instance events.Use
rule.addEventPattern(pattern)to specify a filter.- Specified by:
onEventin interfaceIDatabaseInstance- Parameters:
id- This parameter is required.options-
-
onEvent
Defines a CloudWatch event rule which triggers for instance events.Use
rule.addEventPattern(pattern)to specify a filter.- Specified by:
onEventin interfaceIDatabaseInstance- Parameters:
id- This parameter is required.
-