Skip to content

HaVipAssociationProps

Properties for defining a HaVipAssociation.

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

Initializer

import com.aliyun.ros.cdk.vpc.HaVipAssociationProps;
HaVipAssociationProps.builder()
    .haVipId(java.lang.String)
    .haVipId(IResolvable)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
//  .instanceType(java.lang.String)
//  .instanceType(IResolvable)
    .build();

Properties

Name Type Description
haVipId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property haVipId: The ID of the HAVIP.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the ECS instance to be associated with the HAVIP.
instanceType java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceType: The type of the instance to be associated with the HAVIP.

haVipIdRequired

public java.lang.Object getHaVipId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property haVipId: The ID of the HAVIP.


instanceIdRequired

public java.lang.Object getInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

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


instanceTypeOptional

public java.lang.Object getInstanceType();
  • Type: java.lang.String OR com.aliyun.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.