EIPAssociationProps
Properties for defining a EIPAssociation
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-eipassociation
Initializer
import { EIPAssociationProps } from '@alicloud/ros-cdk-vpc'
const eIPAssociationProps: EIPAssociationProps = { ... }
Properties
Name | Type | Description |
---|---|---|
allocationId |
string | @alicloud/ros-cdk-core.IResolvable |
Property allocationId: EIP instance id to bind. |
instanceId |
string | @alicloud/ros-cdk-core.IResolvable |
Property instanceId: ECS\/SLB\/NAT\/HaVip\/ENI instance id to bid the EIP. |
mode |
string | @alicloud/ros-cdk-core.IResolvable |
Property mode: The mode of association. |
privateIpAddress |
string | @alicloud/ros-cdk-core.IResolvable |
Property privateIpAddress: An IP address in the CIDR block of the VSwitch. |
allocationId
Required
public readonly allocationId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property allocationId: EIP instance id to bind.
instanceId
Required
public readonly instanceId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property instanceId: ECS\/SLB\/NAT\/HaVip\/ENI instance id to bid the EIP.
mode
Optional
public readonly mode: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property mode: The mode of association.
Valid values: NAT(Default): NAT mode. BINDED: Cut-through mode. MULTI_BINDED: Multi-EIP to ENI mode. This is required only when the value of InstanceType is NetworkInterface.
privateIpAddress
Optional
public readonly privateIpAddress: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property privateIpAddress: An IP address in the CIDR block of the VSwitch.
If you leave the option empty, the system allocates a private IP address according to the VPC ID and VSwitch ID.