Interface IDatabaseCluster.Jsii$Default
- All Superinterfaces:
IConnectable
,IConnectable.Jsii$Default
,software.constructs.IConstruct
,software.constructs.IConstruct.Jsii$Default
,IDatabaseCluster
,software.constructs.IDependable
,software.constructs.IDependable.Jsii$Default
,IResource
,IResource.Jsii$Default
,ISecretAttachmentTarget
,ISecretAttachmentTarget.Jsii$Default
,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IDatabaseCluster.Jsii$Proxy
- Enclosing interface:
IDatabaseCluster
IDatabaseCluster
.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IConnectable
IConnectable.Jsii$Default, IConnectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.rds.IDatabaseCluster
IDatabaseCluster.Jsii$Default, IDatabaseCluster.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.secretsmanager.ISecretAttachmentTarget
ISecretAttachmentTarget.Jsii$Default, ISecretAttachmentTarget.Jsii$Proxy
-
Method Summary
Modifier and TypeMethodDescriptiondefault DatabaseProxy
addProxy
(String id, DatabaseProxyOptions options) Add a new db proxy to this cluster.default void
applyRemovalPolicy
(RemovalPolicy policy) Apply the given removal policy to this resource.default SecretAttachmentTargetProps
Renders the target specifications.default String
The ARN of the database cluster.default Endpoint
The endpoint to use for read/write operations.default String
Identifier of the cluster.default Endpoint
Endpoint to use for load-balanced read-only operations.default String
The immutable identifier for the cluster; for example: cluster-ABCD1234EFGH5678IJKL90MNOP.default Connections
The network connections associated with this resource.default IClusterEngine
The engine of this Cluster.default ResourceEnvironment
getEnv()
The environment this resource belongs to.Endpoints which address each individual replica.Identifiers of the replicas.default software.constructs.Node
getNode()
The tree node.default Stack
getStack()
The stack in which this resource is defined.default Grant
grantConnect
(IGrantable grantee, String dbUser) Grant the given identity connection access to the Cluster.default Grant
grantDataApiAccess
(IGrantable grantee) Grant the given identity to access to the Data API.default Metric
metric
(String metricName, MetricOptions props) Return the given named metric for this DBCluster.default Metric
The percentage of CPU utilization.default Metric
The number of database connections in use.default Metric
metricDeadlocks
(MetricOptions props) The average number of deadlocks in the database per second.default Metric
metricEngineUptime
(MetricOptions props) The amount of time that the instance has been running, in seconds.default Metric
The amount of available random access memory, in bytes.default Metric
The amount of local storage available, in bytes.default Metric
The amount of network throughput received from clients by each instance, in bytes per second.default Metric
The amount of network throughput both received from and transmitted to clients by each instance, in bytes per second.default Metric
The amount of network throughput sent to clients by each instance, in bytes per second.default Metric
The total amount of backup storage in bytes consumed by all Aurora snapshots outside its backup retention window.default Metric
The total amount of backup storage in bytes for which you are billed.default Metric
The amount of storage used by your Aurora DB instance, in bytes.default Metric
The number of billed read I/O operations from a cluster volume, reported at 5-minute intervals.default Metric
The number of write disk I/O operations to the cluster volume, reported at 5-minute intervals.Methods inherited from interface software.amazon.awscdk.services.rds.IDatabaseCluster
metric, metricCPUUtilization, metricDatabaseConnections, metricDeadlocks, metricEngineUptime, metricFreeableMemory, metricFreeLocalStorage, metricNetworkReceiveThroughput, metricNetworkThroughput, metricNetworkTransmitThroughput, metricSnapshotStorageUsed, metricTotalBackupStorageBilled, metricVolumeBytesUsed, metricVolumeReadIOPs, metricVolumeWriteIOPs
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()The tree node.- Specified by:
getNode
in interfacesoftware.constructs.IConstruct
- Specified by:
getNode
in interfacesoftware.constructs.IConstruct.Jsii$Default
- Specified by:
getNode
in interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
- Specified by:
getEnv
in interfaceIResource
- Specified by:
getEnv
in interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStack
in interfaceIResource
- Specified by:
getStack
in interfaceIResource.Jsii$Default
-
getConnections
The network connections associated with this resource.- Specified by:
getConnections
in interfaceIConnectable
- Specified by:
getConnections
in interfaceIConnectable.Jsii$Default
-
getClusterArn
The ARN of the database cluster.- Specified by:
getClusterArn
in interfaceIDatabaseCluster
-
getClusterEndpoint
The endpoint to use for read/write operations.- Specified by:
getClusterEndpoint
in interfaceIDatabaseCluster
-
getClusterIdentifier
Identifier of the cluster.- Specified by:
getClusterIdentifier
in interfaceIDatabaseCluster
-
getClusterReadEndpoint
Endpoint to use for load-balanced read-only operations.- Specified by:
getClusterReadEndpoint
in interfaceIDatabaseCluster
-
getClusterResourceIdentifier
The immutable identifier for the cluster; for example: cluster-ABCD1234EFGH5678IJKL90MNOP.This AWS Region-unique identifier is used in things like IAM authentication policies.
- Specified by:
getClusterResourceIdentifier
in interfaceIDatabaseCluster
-
getInstanceEndpoints
Endpoints which address each individual replica.- Specified by:
getInstanceEndpoints
in interfaceIDatabaseCluster
-
getInstanceIdentifiers
Identifiers of the replicas.- Specified by:
getInstanceIdentifiers
in interfaceIDatabaseCluster
-
getEngine
The engine of this Cluster.May be not known for imported Clusters if it wasn't provided explicitly.
- Specified by:
getEngine
in interfaceIDatabaseCluster
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY
), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN
).- Specified by:
applyRemovalPolicy
in interfaceIResource
- Specified by:
applyRemovalPolicy
in interfaceIResource.Jsii$Default
- Parameters:
policy
- This parameter is required.
-
asSecretAttachmentTarget
Renders the target specifications.- Specified by:
asSecretAttachmentTarget
in interfaceISecretAttachmentTarget
- Specified by:
asSecretAttachmentTarget
in interfaceISecretAttachmentTarget.Jsii$Default
-
addProxy
@Stability(Stable) @NotNull default DatabaseProxy addProxy(@NotNull String id, @NotNull DatabaseProxyOptions options) Add a new db proxy to this cluster.- Specified by:
addProxy
in interfaceIDatabaseCluster
- Parameters:
id
- This parameter is required.options
- This parameter is required.
-
grantConnect
@Stability(Stable) @NotNull default Grant grantConnect(@NotNull IGrantable grantee, @NotNull String dbUser) Grant the given identity connection access to the Cluster.- Specified by:
grantConnect
in interfaceIDatabaseCluster
- Parameters:
grantee
- the Principal to grant the permissions to. This parameter is required.dbUser
- the name of the database user to allow connecting. This parameter is required.
-
grantDataApiAccess
Grant the given identity to access to the Data API.- Specified by:
grantDataApiAccess
in interfaceIDatabaseCluster
- Parameters:
grantee
- The principal to grant access 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 DBCluster.- Specified by:
metric
in interfaceIDatabaseCluster
- Parameters:
metricName
- This parameter is required.props
-
-
metricCPUUtilization
The percentage of CPU utilization.Average over 5 minutes
- Specified by:
metricCPUUtilization
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricDatabaseConnections
The number of database connections in use.Average over 5 minutes
- Specified by:
metricDatabaseConnections
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricDeadlocks
The average number of deadlocks in the database per second.Average over 5 minutes
- Specified by:
metricDeadlocks
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricEngineUptime
The amount of time that the instance has been running, in seconds.Average over 5 minutes
- Specified by:
metricEngineUptime
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricFreeableMemory
The amount of available random access memory, in bytes.Average over 5 minutes
- Specified by:
metricFreeableMemory
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricFreeLocalStorage
The amount of local storage available, in bytes.Average over 5 minutes
- Specified by:
metricFreeLocalStorage
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricNetworkReceiveThroughput
@Stability(Stable) @NotNull default Metric metricNetworkReceiveThroughput(@Nullable MetricOptions props) The amount of network throughput received from clients by each instance, in bytes per second.Average over 5 minutes
- Specified by:
metricNetworkReceiveThroughput
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricNetworkThroughput
The amount of network throughput both received from and transmitted to clients by each instance, in bytes per second.Average over 5 minutes
- Specified by:
metricNetworkThroughput
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricNetworkTransmitThroughput
@Stability(Stable) @NotNull default Metric metricNetworkTransmitThroughput(@Nullable MetricOptions props) The amount of network throughput sent to clients by each instance, in bytes per second.Average over 5 minutes
- Specified by:
metricNetworkTransmitThroughput
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricSnapshotStorageUsed
The total amount of backup storage in bytes consumed by all Aurora snapshots outside its backup retention window.Average over 5 minutes
- Specified by:
metricSnapshotStorageUsed
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricTotalBackupStorageBilled
@Stability(Stable) @NotNull default Metric metricTotalBackupStorageBilled(@Nullable MetricOptions props) The total amount of backup storage in bytes for which you are billed.Average over 5 minutes
- Specified by:
metricTotalBackupStorageBilled
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricVolumeBytesUsed
The amount of storage used by your Aurora DB instance, in bytes.Average over 5 minutes
- Specified by:
metricVolumeBytesUsed
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricVolumeReadIOPs
The number of billed read I/O operations from a cluster volume, reported at 5-minute intervals.Average over 5 minutes
- Specified by:
metricVolumeReadIOPs
in interfaceIDatabaseCluster
- Parameters:
props
-
-
metricVolumeWriteIOPs
The number of write disk I/O operations to the cluster volume, reported at 5-minute intervals.Average over 5 minutes
- Specified by:
metricVolumeWriteIOPs
in interfaceIDatabaseCluster
- Parameters:
props
-
-