Skip to content

HaVipAssociationProps

Properties for defining a HaVipAssociation.

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

Initializer

import ros_cdk_vpc
ros_cdk_vpc.HaVipAssociationProps(
  ha_vip_id: typing.Union[str, IResolvable],
  instance_id: typing.Union[str, IResolvable],
  instance_type: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
ha_vip_id typing.Union[str, ros_cdk_core.IResolvable] Property haVipId: The ID of the HAVIP.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the ECS instance to be associated with the HAVIP.
instance_type typing.Union[str, ros_cdk_core.IResolvable] Property instanceType: The type of the instance to be associated with the HAVIP.

ha_vip_idRequired

ha_vip_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property haVipId: The ID of the HAVIP.


instance_idRequired

instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

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


instance_typeOptional

instance_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.