Skip to content

HaVipAssociationProps

Properties for defining a HaVipAssociation.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-havipassociation

Initializer

import { HaVipAssociationProps } from '@alicloud/ros-cdk-vpc'
const haVipAssociationProps: HaVipAssociationProps = { ... }

Properties

Name Type Description
haVipId string | @alicloud/ros-cdk-core.IResolvable Property haVipId: The ID of the HAVIP.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The ID of the ECS instance to be associated with the HAVIP.
instanceType string | @alicloud/ros-cdk-core.IResolvable Property instanceType: The type of the instance to be associated with the HAVIP.

haVipIdRequired

public readonly haVipId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property haVipId: The ID of the HAVIP.


instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: The ID of the ECS instance to be associated with the HAVIP.


instanceTypeOptional

public readonly instanceType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceType: The type of the instance to be associated with the HAVIP.

Valid values: EcsInstance: an ECS instance NetworkInterface: an ENI. If you want to associate the HAVIP with an ENI, this parameter is required.