ClusterInstanceType

class aws_cdk.aws_rds.ClusterInstanceType(instance_type, type)

Bases: object

The type of Aurora Cluster Instance.

Can be either serverless v2 or provisioned

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_rds as rds

cluster_instance_type = rds.ClusterInstanceType("instanceType", rds.InstanceType.PROVISIONED)
Parameters:

Methods

to_string()

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

Return type:

str

Attributes

type

Static Methods

classmethod provisioned(instance_type=None)

Aurora Provisioned instance type.

Parameters:

instance_type (Optional[InstanceType]) –

Return type:

ClusterInstanceType

classmethod serverless_v2()

Aurora Serverless V2 instance type.

See:

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

Return type:

ClusterInstanceType