InstanceSize
- class aws_cdk.aws_ec2.InstanceSize(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)
Bases:
Enum
What size of instance to use.
- ExampleMetadata:
infused
Example:
# vpc: ec2.Vpc cluster = rds.DatabaseCluster(self, "Database", engine=rds.DatabaseClusterEngine.aurora_mysql(version=rds.AuroraMysqlEngineVersion.VER_3_01_0), writer=rds.ClusterInstance.provisioned("Instance", instance_type=ec2.InstanceType.of(ec2.InstanceClass.BURSTABLE3, ec2.InstanceSize.SMALL) ), readers=[rds.ClusterInstance.provisioned("reader")], instance_update_behaviour=rds.InstanceUpdateBehaviour.ROLLING, # Optional - defaults to rds.InstanceUpdateBehaviour.BULK vpc=vpc )
Attributes
- LARGE
Instance size LARGE (large).
- MEDIUM
Instance size MEDIUM (medium).
- METAL
Instance size METAL (metal).
- MICRO
Instance size MICRO (micro).
- NANO
Instance size NANO (nano).
- SMALL
Instance size SMALL (small).
- XLARGE
Instance size XLARGE (xlarge).
- XLARGE10
Instance size XLARGE10 (10xlarge).
- XLARGE112
Instance size XLARGE112 (112xlarge).
- XLARGE12
Instance size XLARGE12 (12xlarge).
- XLARGE16
Instance size XLARGE16 (16xlarge).
- XLARGE16METAL
Instance size XLARGE16METAL (metal-16xl).
- XLARGE18
Instance size XLARGE18 (18xlarge).
- XLARGE2
Instance size XLARGE2 (2xlarge).
- XLARGE24
Instance size XLARGE24 (24xlarge).
- XLARGE24METAL
Instance size XLARGE24METAL (metal-24xl).
- XLARGE3
Instance size XLARGE3 (3xlarge).
- XLARGE32
Instance size XLARGE32 (32xlarge).
- XLARGE32METAL
Instance size XLARGE32METAL (metal-32xl).
- XLARGE4
Instance size XLARGE4 (4xlarge).
- XLARGE48
Instance size XLARGE48 (48xlarge).
- XLARGE48METAL
Instance size XLARGE48METAL (metal-48xl).
- XLARGE56
Instance size XLARGE56 (56xlarge).
- XLARGE6
Instance size XLARGE6 (6xlarge).
- XLARGE8
Instance size XLARGE8 (8xlarge).
- XLARGE9
Instance size XLARGE9 (9xlarge).
- XLARGE96
Instance size XLARGE96 (96xlarge).