Skip to content

AcceleratorProps

Properties for defining a Accelerator.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ga-accelerator

Initializer

import ros_cdk_ga
ros_cdk_ga.AcceleratorProps(
  accelerator_name: typing.Union[str, IResolvable] = None,
  auto_pay: typing.Union[bool, IResolvable] = None,
  auto_use_coupon: typing.Union[str, IResolvable] = None,
  bandwidth: typing.Union[typing.Union[int, float], IResolvable] = None,
  bandwidth_billing_type: typing.Union[str, IResolvable] = None,
  cross_border_mode: typing.Union[str, IResolvable] = None,
  ddos_config_list: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DdosConfigListProperty]]] = None,
  duration: typing.Union[str, IResolvable] = None,
  enable_cross_border: typing.Union[bool, IResolvable] = None,
  instance_charge_type: typing.Union[str, IResolvable] = None,
  ip_set_config: typing.Union[IResolvable, IpSetConfigProperty] = None,
  pricing_cycle: typing.Union[str, IResolvable] = None,
  resource_group_id: typing.Union[str, IResolvable] = None,
  spec: typing.Union[str, IResolvable] = None,
  tags: typing.List[TagsProperty] = None
)

Properties

Name Type Description
accelerator_name typing.Union[str, ros_cdk_core.IResolvable] Property acceleratorName: The Name of the GA instance.
auto_pay typing.Union[bool, ros_cdk_core.IResolvable] Property autoPay: Whether to pay automatically.
auto_use_coupon typing.Union[str, ros_cdk_core.IResolvable] Property autoUseCoupon: The AutoUseCoupon of the GA instance.
bandwidth typing.Union[typing.Union[int, float], ros_cdk_core.IResolvable] Property bandwidth: The bandwidth of the global acceleration instance.
bandwidth_billing_type typing.Union[str, ros_cdk_core.IResolvable] Property bandwidthBillingType: Bandwidth billing method.
cross_border_mode typing.Union[str, ros_cdk_core.IResolvable] Property crossBorderMode: The cross-border mode of the global acceleration instance.
ddos_config_list typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DdosConfigListProperty]]] Property ddosConfigList: The DDoS configuration list of the global acceleration instance.
duration typing.Union[str, ros_cdk_core.IResolvable] Property duration: Length of purchase.
enable_cross_border typing.Union[bool, ros_cdk_core.IResolvable] Property enableCrossBorder: Whether the global acceleration instance enables the cross-border line function.
instance_charge_type typing.Union[str, ros_cdk_core.IResolvable] Property instanceChargeType: Global acceleration instance payment type, the default value is PREPAY (prepaid).
ip_set_config typing.Union[ros_cdk_core.IResolvable, IpSetConfigProperty] Property ipSetConfig: Accelerate zone configuration.
pricing_cycle typing.Union[str, ros_cdk_core.IResolvable] Property pricingCycle: Billing cycle.
resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Property resourceGroupId: The ResourceGroup Id.
spec typing.Union[str, ros_cdk_core.IResolvable] Property spec: Specifications of Global Acceleration Instances.
tags typing.List[TagsProperty] Property tags: Tags to attach to acceleration instance.

accelerator_nameOptional

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

Property acceleratorName: The Name of the GA instance.


auto_payOptional

auto_pay: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property autoPay: Whether to pay automatically.


auto_use_couponOptional

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

Property autoUseCoupon: The AutoUseCoupon of the GA instance.


bandwidthOptional

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

Property bandwidth: The bandwidth of the global acceleration instance.

Unit: Mbps. Valid values: 200 to 5000. This parameter is required when the access mode is set to Anycast.


bandwidth_billing_typeOptional

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

Property bandwidthBillingType: Bandwidth billing method.


cross_border_modeOptional

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

Property crossBorderMode: The cross-border mode of the global acceleration instance.


ddos_config_listOptional

ddos_config_list: typing.Union[IResolvable, typing.List[typing.Union[IResolvable, DdosConfigListProperty]]]
  • Type: typing.Union[ros_cdk_core.IResolvable, typing.List[typing.Union[ros_cdk_core.IResolvable, DdosConfigListProperty]]]

Property ddosConfigList: The DDoS configuration list of the global acceleration instance.


durationOptional

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

Property duration: Length of purchase.


enable_cross_borderOptional

enable_cross_border: typing.Union[bool, IResolvable]
  • Type: typing.Union[bool, ros_cdk_core.IResolvable]

Property enableCrossBorder: Whether the global acceleration instance enables the cross-border line function.


instance_charge_typeOptional

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

Property instanceChargeType: Global acceleration instance payment type, the default value is PREPAY (prepaid).


ip_set_configOptional

ip_set_config: typing.Union[IResolvable, IpSetConfigProperty]

Property ipSetConfig: Accelerate zone configuration.


pricing_cycleOptional

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

Property pricingCycle: Billing cycle.


resource_group_idOptional

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

Property resourceGroupId: The ResourceGroup Id.


specOptional

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

Property spec: Specifications of Global Acceleration Instances.


tagsOptional

tags: typing.List[TagsProperty]

Property tags: Tags to attach to acceleration instance.

Max support 20 tags to add during create acceleration instance. Each tag with two properties Key and Value, and Key is required.