Class ClusterInstanceType
The type of Aurora Cluster Instance.
Inheritance
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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ClusterInstanceType(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ClusterInstanceType(String, InstanceType) |
Properties
Type |
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(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ClusterInstanceType(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ClusterInstanceType(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ClusterInstanceType(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ClusterInstanceType(String, InstanceType)
public ClusterInstanceType(string instanceType, InstanceType type)
Parameters
- instanceType System.String
- type InstanceType
Properties
Type
Methods
Provisioned(InstanceType)
Aurora Provisioned instance type.
public static ClusterInstanceType Provisioned(InstanceType instanceType = null)
Parameters
- instanceType InstanceType
Returns
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
System.String