Class ClusterInstanceType
The type of Aurora Cluster Instance.
Namespace: Amazon.CDK.AWS.RDS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ClusterInstanceType : DeputyBase
Syntax (vb)
Public Class ClusterInstanceType Inherits DeputyBase
Remarks
Can be either serverless v2 or provisioned
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var clusterInstanceType = new ClusterInstanceType("instanceType", InstanceType.PROVISIONED);
Synopsis
Constructors
| ClusterInstanceType(string, InstanceType) | The type of Aurora Cluster Instance. |
Properties
| Type | The type of Aurora Cluster Instance. |
Methods
| Provisioned(InstanceType?) | Aurora Provisioned instance type. |
| ServerlessV2() | Aurora Serverless V2 instance type. |
| ToString() | String representation of the instance type that can be used in the CloudFormation resource. |
Constructors
ClusterInstanceType(string, InstanceType)
The type of Aurora Cluster Instance.
public ClusterInstanceType(string instanceType, InstanceType type)
Parameters
- instanceType string
- type InstanceType
Remarks
Can be either serverless v2 or provisioned
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var clusterInstanceType = new ClusterInstanceType("instanceType", InstanceType.PROVISIONED);
Properties
Type
The type of Aurora Cluster Instance.
public virtual InstanceType Type { get; }
Property Value
Remarks
Can be either serverless v2 or provisioned
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.RDS;
var clusterInstanceType = new ClusterInstanceType("instanceType", InstanceType.PROVISIONED);
Methods
Provisioned(InstanceType?)
Aurora Provisioned instance type.
public static ClusterInstanceType Provisioned(InstanceType? instanceType = null)
Parameters
- instanceType InstanceType
Returns
Remarks
Can be either serverless v2 or provisioned
ExampleMetadata: fixture=_generated
ServerlessV2()
Aurora Serverless V2 instance type.
public static ClusterInstanceType ServerlessV2()
Returns
Remarks
ToString()
String representation of the instance type that can be used in the CloudFormation resource.
public override string ToString()
Returns
Remarks
Can be either serverless v2 or provisioned
ExampleMetadata: fixture=_generated