AnycastEIPAssociationProps
Properties for defining a AnycastEIPAssociation.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-anycasteipassociation
Initializer
import { AnycastEIPAssociationProps } from '@alicloud/ros-cdk-vpc'
const anycastEIPAssociationProps: AnycastEIPAssociationProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
anycastId | string | @alicloud/ros-cdk-core.IResolvable | Property anycastId: Anycast EIP instance ID. |
bindInstanceId | string | @alicloud/ros-cdk-core.IResolvable | Property bindInstanceId: The ID of the cloud resource instance to be bound. |
bindInstanceRegionId | string | @alicloud/ros-cdk-core.IResolvable | Property bindInstanceRegionId: The region ID of the cloud resource instance to be bound. |
bindInstanceType | string | @alicloud/ros-cdk-core.IResolvable | Property bindInstanceType: The type of the cloud resource with which you want to associate the Anycast EIP. |
associationMode | string | @alicloud/ros-cdk-core.IResolvable | Property associationMode: The association mode. |
popLocations | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | PopLocationsProperty[] | Property popLocations: The pop locations. |
privateIpAddress | string | @alicloud/ros-cdk-core.IResolvable | Property privateIpAddress: The secondary private IP address of the ENI. |
anycastIdRequired
public readonly anycastId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property anycastId: Anycast EIP instance ID.
bindInstanceIdRequired
public readonly bindInstanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property bindInstanceId: The ID of the cloud resource instance to be bound.
bindInstanceRegionIdRequired
public readonly bindInstanceRegionId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property bindInstanceRegionId: The region ID of the cloud resource instance to be bound.
bindInstanceTypeRequired
public readonly bindInstanceType: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property bindInstanceType: The type of the cloud resource with which you want to associate the Anycast EIP.
Valid values: - SlbInstance: CLB instance in a virtual private cloud (VPC). - NetworkInterface: ENI.
associationModeOptional
public readonly associationMode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property associationMode: The association mode.
Valid values: - Default: the default mode. In this mode, the associated cloud resource is the default origin server. - Normal: the normal mode. In this mode, the associated cloud resource is a normal origin server.
An Anycast EIP can be associated with cloud resources in multiple regions. However, you can specify only one default origin server and multiple normal origin servers. When you do not specify an access point or add a new access point, requests are forwarded to the default origin server by default.
If this is your first time to associate a cloud resource with the Anycast EIP, the association mode is Default by default.
If this is not your first time to associate a cloud resource with the Anycast EIP, you can set the association mode to Default. This makes the new cloud resource the default origin server, and the original default origin server becomes a normal origin server.
popLocationsOptional
public readonly popLocations: IResolvable | IResolvable | PopLocationsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | PopLocationsProperty[]
Property popLocations: The pop locations.
privateIpAddressOptional
public readonly privateIpAddress: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property privateIpAddress: The secondary private IP address of the ENI.
This parameter is required when BindInstanceType is set to NetworkInterface. If you do not specify this parameter, the primary private IP address of the ENI is used.