HostInfoForCreateProperty Struct
An object that represents a host.
You cannot use
dedicatedHostIdandplacementGroupIdtogether in the sameHostInfoForCreateobject. This results in aValidationExceptionresponse.
Example
ts
// 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
dedicatedHostIdoptionalstringdedicated_host_idoptionalstrdedicatedHostIdoptionalStringDedicatedHostIdoptionalstringDedicatedHostIdoptional*string#The unique ID of the Amazon EC2 Dedicated Host.
The DNS hostname of the host.
DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF.
The EC2 instance type that represents the host.
The name of the SSH key that is used to access the host.
placementGroupIdoptionalstringplacement_group_idoptionalstrplacementGroupIdoptionalStringPlacementGroupIdoptionalstringPlacementGroupIdoptional*string#The unique ID of the placement group where the host is placed.