interface HostInfoForCreateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.aws_evs.CfnEnvironment.HostInfoForCreateProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsevs#CfnEnvironment_HostInfoForCreateProperty |
Java | software.amazon.awscdk.services.evs.CfnEnvironment.HostInfoForCreateProperty |
Python | aws_cdk.aws_evs.CfnEnvironment.HostInfoForCreateProperty |
TypeScript | aws-cdk-lib » aws_evs » CfnEnvironment » HostInfoForCreateProperty |
An object that represents a host.
You cannot use
dedicatedHostIdandplacementGroupIdtogether in the sameHostInfoForCreateobject. This results in aValidationExceptionresponse.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_evs as evs } from 'aws-cdk-lib';
const hostInfoForCreateProperty: evs.CfnEnvironment.HostInfoForCreateProperty = {
hostName: 'hostName',
instanceType: 'instanceType',
keyName: 'keyName',
// the properties below are optional
dedicatedHostId: 'dedicatedHostId',
placementGroupId: 'placementGroupId',
};
Properties
| Name | Type | Description |
|---|---|---|
| host | string | The DNS hostname of the host. |
| instance | string | The EC2 instance type that represents the host. |
| key | string | The name of the SSH key that is used to access the host. |
| dedicated | string | The unique ID of the Amazon EC2 Dedicated Host. |
| placement | string | The unique ID of the placement group where the host is placed. |
hostName
Type:
string
The DNS hostname of the host.
DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF.
instanceType
Type:
string
The EC2 instance type that represents the host.
keyName
Type:
string
The name of the SSH key that is used to access the host.
dedicatedHostId?
Type:
string
(optional)
The unique ID of the Amazon EC2 Dedicated Host.
placementGroupId?
Type:
string
(optional)
The unique ID of the placement group where the host is placed.

.NET
Go
Java
Python
TypeScript