Interface CfnHostProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnHostProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-08-02T00:29:09.461Z")
@Stability(Stable)
public interface CfnHostProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnHost
.
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 .assetId("assetId") .autoPlacement("autoPlacement") .hostMaintenance("hostMaintenance") .hostRecovery("hostRecovery") .instanceFamily("instanceFamily") .instanceType("instanceType") .outpostArn("outpostArn") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnHostProps
static final class
An implementation forCfnHostProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnHostProps.Builder
builder()
default String
The ID of the Outpost hardware asset on which the Dedicated Host is allocated.default String
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.The Availability Zone in which to allocate the Dedicated Host.default String
Indicates whether host maintenance is enabled or disabled for the Dedicated Host.default String
Indicates whether to enable or disable host recovery for the Dedicated Host.default String
The instance family supported by the Dedicated Host.default String
Specifies the instance type to be supported by the Dedicated Hosts.default String
The Amazon Resource Name (ARN) of the AWS Outpost on which the Dedicated Host is allocated.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAvailabilityZone
The Availability Zone in which to allocate the Dedicated Host.- See Also:
-
getAssetId
The ID of the Outpost hardware asset on which the Dedicated Host is allocated.- See Also:
-
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.For more information, see Understanding auto-placement and affinity in the Amazon EC2 User Guide .
Default:
off
- See Also:
-
getHostMaintenance
Indicates whether host maintenance is enabled or disabled for the Dedicated Host.- See Also:
-
getHostRecovery
Indicates whether to enable or disable host recovery for the Dedicated Host.Host recovery is disabled by default. For more information, see Host recovery in the Amazon EC2 User Guide .
Default:
off
- See Also:
-
getInstanceFamily
The instance family supported by the Dedicated Host.For example,
m5
.- See Also:
-
getInstanceType
Specifies the instance type to be supported by the Dedicated Hosts.If you specify an instance type, the Dedicated Hosts support instances of the specified instance type only.
- See Also:
-
getOutpostArn
The Amazon Resource Name (ARN) of the AWS Outpost on which the Dedicated Host is allocated.- See Also:
-
builder
- Returns:
- a
CfnHostProps.Builder
ofCfnHostProps
-