interface IClusterInstance
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.RDS.IClusterInstance |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsrds#IClusterInstance |
Java | software.amazon.awscdk.services.rds.IClusterInstance |
Python | aws_cdk.aws_rds.IClusterInstance |
TypeScript (source) | aws-cdk-lib » aws_rds » IClusterInstance |
Implemented by
Cluster
Obtainable from
Cluster
.provisioned()
, Cluster
.serverlessV2()
Represents an Aurora cluster instance This can be either a provisioned instance or a serverless v2 instance.
Methods
Name | Description |
---|---|
bind(scope, cluster, options) | Create the database instance within the provided cluster. |
bind(scope, cluster, options)
public bind(scope: Construct, cluster: IDatabaseCluster, options: ClusterInstanceBindOptions): IAuroraClusterInstance
Parameters
- scope
Construct
- cluster
IDatabase
Cluster - options
Cluster
Instance Bind Options
Returns
Create the database instance within the provided cluster.