Skip to content

AnycastEIPProps

Properties for defining a AnycastEIP.

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

Initializer

import ros_cdk_vpc
ros_cdk_vpc.AnycastEIPProps(
  bandwidth: typing.Union[typing.Union[int, float], IResolvable] = None,
  description: typing.Union[str, IResolvable] = None,
  instance_charge_type: typing.Union[str, IResolvable] = None,
  internet_charge_type: typing.Union[str, IResolvable] = None,
  name: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  service_location: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
bandwidth typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property bandwidth: The peak bandwidth of the Anycast EIP instance.
description typing.Union[str, ros_cdk_core.IResolvable] Property description: The description of the Anycast EIP instance.
instance_charge_type typing.Union[str, ros_cdk_core.IResolvable] Property instanceChargeType: The billing method of the Anycast EIP instance.
internet_charge_type typing.Union[str, ros_cdk_core.IResolvable] Property internetChargeType: The metering method for Internet data transfer.
name typing.Union[str, ros_cdk_core.IResolvable] Property name: The name of the Anycast EIP instance.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ID of the resource group.
service_location typing.Union[str, ros_cdk_core.IResolvable] Property serviceLocation: Anycast EIP instance access area.

bandwidthOptional

bandwidth: typing.Union[typing.Union[int, float], IResolvable]
  • Type: typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable]

Property bandwidth: The peak bandwidth of the Anycast EIP instance.

Unit: Mbps. Valid values: 200 to 1000. Default value: 1000.

The peak bandwidth is for reference only and is not a guaranteed value. It serves as the upper limit for bandwidth.


descriptionOptional

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

Property description: The description of the Anycast EIP instance.

The description must be 0 to 256 characters in length and cannot start with http:\/\/ or https:\/\/.


instance_charge_typeOptional

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

Property instanceChargeType: The billing method of the Anycast EIP instance.

Set the value to PostPaid. This value specifies the pay-as-you-go billing method.


internet_charge_typeOptional

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

Property internetChargeType: The metering method for Internet data transfer.

Set the value to PayByTraffic. This value specifies the pay-by-data-transfer metering method.


nameOptional

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

Property name: The name of the Anycast EIP instance.

The name must be 0 to 128 characters in length. It must start with a letter or a Chinese character and can contain digits, underscores (_), and hyphens (-).


resource_group_idOptional

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

Property resourceGroupId: The ID of the resource group.


service_locationOptional

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

Property serviceLocation: Anycast EIP instance access area.