enum DefaultInstanceTenancy
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EC2.DefaultInstanceTenancy |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsec2#DefaultInstanceTenancy |
Java | software.amazon.awscdk.services.ec2.DefaultInstanceTenancy |
Python | aws_cdk.aws_ec2.DefaultInstanceTenancy |
TypeScript (source) | aws-cdk-lib » aws_ec2 » DefaultInstanceTenancy |
The default tenancy of instances launched into the VPC.
Members
| Name | Description |
|---|---|
| DEFAULT | Instances can be launched with any tenancy. |
| DEDICATED | Any instance launched into the VPC automatically has dedicated tenancy, unless you launch it with the default tenancy. |
| HOST | Instances must be launched on dedicated hosts. |
DEFAULT
Instances can be launched with any tenancy.
DEDICATED
Any instance launched into the VPC automatically has dedicated tenancy, unless you launch it with the default tenancy.
HOST
Instances must be launched on dedicated hosts.
This provides additional visibility and control over instance placement at the physical host level.

.NET
Go
Java
Python
TypeScript (