EIPAssociationProps
Properties for defining a EIPAssociation
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-vpc-eipassociation
Initializer
import ros_cdk_vpc
ros_cdk_vpc.EIPAssociationProps(
allocation_id: typing.Union[str, IResolvable],
instance_id: typing.Union[str, IResolvable],
mode: typing.Union[str, IResolvable] = None,
private_ip_address: typing.Union[str, IResolvable] = None
)
Properties
Name | Type | Description |
---|---|---|
allocation_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property allocationId: EIP instance id to bind. |
instance_id |
typing.Union[str, ros_cdk_core.IResolvable] |
Property instanceId: ECS\/SLB\/NAT\/HaVip\/ENI instance id to bid the EIP. |
mode |
typing.Union[str, ros_cdk_core.IResolvable] |
Property mode: The mode of association. |
private_ip_address |
typing.Union[str, ros_cdk_core.IResolvable] |
Property privateIpAddress: An IP address in the CIDR block of the VSwitch. |
allocation_id
Required
allocation_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property allocationId: EIP instance id to bind.
instance_id
Required
instance_id: typing.Union[str, IResolvable]
- Type: typing.Union[str, ros_cdk_core.IResolvable]
Property instanceId: ECS\/SLB\/NAT\/HaVip\/ENI instance id to bid the EIP.
mode
Optional
mode: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.
private_ip_address
Optional
private_ip_address: typing.Union[str, IResolvable]
- Type: typing.Union[str, 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.