Show / Hide Table of Contents

Class ClusterInstanceType

The type of Aurora Cluster Instance.

Inheritance
object
ClusterInstanceType
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

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);

Methods

Provisioned(InstanceType?)

Aurora Provisioned instance type.

public static ClusterInstanceType Provisioned(InstanceType? instanceType = null)
Parameters
instanceType InstanceType
Returns

ClusterInstanceType

Remarks

Can be either serverless v2 or provisioned

ExampleMetadata: fixture=_generated

ServerlessV2()

Aurora Serverless V2 instance type.

public static ClusterInstanceType ServerlessV2()
Returns

ClusterInstanceType

Remarks

See: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html

ToString()

String representation of the instance type that can be used in the CloudFormation resource.

public override string ToString()
Returns

string

Remarks

Can be either serverless v2 or provisioned

ExampleMetadata: fixture=_generated

Back to top Generated by DocFX