HostInfoForCreate - Amazon Elastic VMware Service

HostInfoForCreate

An object that represents a host.

Note

You cannot use dedicatedHostId and placementGroupId together in the same HostInfoForCreateobject. This results in a ValidationException response.

Contents

Note

In the following list, the required parameters are described first.

hostName

The DNS hostname of the host. DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF.

Type: String

Pattern: ([a-zA-Z0-9\-]*)

Required: Yes

instanceType

The EC2 instance type that represents the host.

Type: String

Valid Values: i4i.metal

Required: Yes

keyName

The name of the SSH key that is used to access the host.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 255.

Pattern: [a-zA-Z0-9_-]+

Required: Yes

dedicatedHostId

The unique ID of the Amazon EC2 Dedicated Host.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 25.

Pattern: h-[a-f0-9]{8}([a-f0-9]{9})?

Required: No

placementGroupId

The unique ID of the placement group where the host is placed.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 25.

Pattern: pg-[a-f0-9]{8}([a-f0-9]{9})?

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: