interface HostInfoForCreateProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.EVS.Mixins.CfnEnvironmentPropsMixin.HostInfoForCreateProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsevs/mixins#CfnEnvironmentPropsMixin_HostInfoForCreateProperty |
Java | software.amazon.awscdk.mixins.preview.services.evs.mixins.CfnEnvironmentPropsMixin.HostInfoForCreateProperty |
Python | aws_cdk.mixins_preview.aws_evs.mixins.CfnEnvironmentPropsMixin.HostInfoForCreateProperty |
TypeScript | @aws-cdk/mixins-preview » aws_evs » mixins » CfnEnvironmentPropsMixin » 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 { mixins as evs_mixins } from '@aws-cdk/mixins-preview/aws-evs';
const hostInfoForCreateProperty: evs_mixins.CfnEnvironmentPropsMixin.HostInfoForCreateProperty = {
dedicatedHostId: 'dedicatedHostId',
hostName: 'hostName',
instanceType: 'instanceType',
keyName: 'keyName',
placementGroupId: 'placementGroupId',
};
Properties
| Name | Type | Description |
|---|---|---|
| dedicated | string | The unique ID of the Amazon EC2 Dedicated Host. |
| 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. |
| placement | string | The unique ID of the placement group where the host is placed. |
dedicatedHostId?
Type:
string
(optional)
The unique ID of the Amazon EC2 Dedicated Host.
hostName?
Type:
string
(optional)
The DNS hostname of the host.
DNS hostnames for hosts must be unique across Amazon EVS environments and within VCF.
instanceType?
Type:
string
(optional)
The EC2 instance type that represents the host.
keyName?
Type:
string
(optional)
The name of the SSH key that is used to access the host.
placementGroupId?
Type:
string
(optional)
The unique ID of the placement group where the host is placed.

.NET
Go
Java
Python
TypeScript