@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.173Z") @Stability(value=Stable) public interface CfnHostProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.ec2.*;
CfnHostProps cfnHostProps = CfnHostProps.builder()
.availabilityZone("availabilityZone")
// the properties below are optional
.autoPlacement("autoPlacement")
.hostRecovery("hostRecovery")
.instanceFamily("instanceFamily")
.instanceType("instanceType")
.outpostArn("outpostArn")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnHostProps.Builder
A builder for
CfnHostProps |
static class |
CfnHostProps.Jsii$Proxy
An implementation for
CfnHostProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnHostProps.Builder |
builder() |
default String |
getAutoPlacement()
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.
|
String |
getAvailabilityZone()
The Availability Zone in which to allocate the Dedicated Host.
|
default String |
getHostRecovery()
Indicates whether to enable or disable host recovery for the Dedicated Host.
|
default String |
getInstanceFamily()
`AWS::EC2::Host.InstanceFamily`.
|
default String |
getInstanceType()
Specifies the instance type to be supported by the Dedicated Hosts.
|
default String |
getOutpostArn()
`AWS::EC2::Host.OutpostArn`.
|
@Stability(value=Stable) @NotNull String getAvailabilityZone()
@Stability(value=Stable) @Nullable default String getAutoPlacement()
For more information, see Understanding auto-placement and affinity in the Amazon EC2 User Guide .
Default: on
@Stability(value=Stable) @Nullable default String getHostRecovery()
Host recovery is disabled by default. For more information, see Host recovery in the Amazon EC2 User Guide .
Default: off
@Stability(value=Stable) @Nullable default String getInstanceFamily()
@Stability(value=Stable) @Nullable default String getInstanceType()
If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
@Stability(value=Stable) @Nullable default String getOutpostArn()
@Stability(value=Stable) static CfnHostProps.Builder builder()
CfnHostProps.Builder of CfnHostPropsCopyright © 2022. All rights reserved.