| Modifier and Type | Method and Description |
|---|---|
CfnHost.Builder |
autoPlacement(String autoPlacement)
Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID.
|
CfnHost.Builder |
availabilityZone(String availabilityZone)
The Availability Zone in which to allocate the Dedicated Host.
|
CfnHost |
build() |
static CfnHost.Builder |
create(software.constructs.Construct scope,
String id) |
CfnHost.Builder |
hostRecovery(String hostRecovery)
Indicates whether to enable or disable host recovery for the Dedicated Host.
|
CfnHost.Builder |
instanceFamily(String instanceFamily)
`AWS::EC2::Host.InstanceFamily`.
|
CfnHost.Builder |
instanceType(String instanceType)
Specifies the instance type to be supported by the Dedicated Hosts.
|
CfnHost.Builder |
outpostArn(String outpostArn)
`AWS::EC2::Host.OutpostArn`.
|
@Stability(value=Stable) public static CfnHost.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnHost.Builder.@Stability(value=Stable) public CfnHost.Builder availabilityZone(String availabilityZone)
availabilityZone - The Availability Zone in which to allocate the Dedicated Host. This parameter is required.this@Stability(value=Stable) public CfnHost.Builder autoPlacement(String autoPlacement)
For more information, see Understanding auto-placement and affinity in the Amazon EC2 User Guide .
Default: on
autoPlacement - Indicates whether the host accepts any untargeted instance launches that match its instance type configuration, or if it only accepts Host tenancy instance launches that specify its unique host ID. This parameter is required.this@Stability(value=Stable) public CfnHost.Builder hostRecovery(String hostRecovery)
Host recovery is disabled by default. For more information, see Host recovery in the Amazon EC2 User Guide .
Default: off
hostRecovery - Indicates whether to enable or disable host recovery for the Dedicated Host. This parameter is required.this@Stability(value=Stable) public CfnHost.Builder instanceFamily(String instanceFamily)
instanceFamily - `AWS::EC2::Host.InstanceFamily`. This parameter is required.this@Stability(value=Stable) public CfnHost.Builder instanceType(String instanceType)
If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
instanceType - Specifies the instance type to be supported by the Dedicated Hosts. This parameter is required.this@Stability(value=Stable) public CfnHost.Builder outpostArn(String outpostArn)
outpostArn - `AWS::EC2::Host.OutpostArn`. This parameter is required.thisCopyright © 2022. All rights reserved.