Skip to content

AcceleratorProps

Properties for defining a Accelerator.

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

Initializer

import { AcceleratorProps } from '@alicloud/ros-cdk-ga'
const acceleratorProps: AcceleratorProps = { ... }

Properties

Name Type Description
acceleratorName string | @alicloud/ros-cdk-core.IResolvable Property acceleratorName: The Name of the GA instance.
autoPay boolean | @alicloud/ros-cdk-core.IResolvable Property autoPay: Whether to pay automatically.
autoUseCoupon string | @alicloud/ros-cdk-core.IResolvable Property autoUseCoupon: The AutoUseCoupon of the GA instance.
bandwidth number | @alicloud/ros-cdk-core.IResolvable Property bandwidth: The bandwidth of the global acceleration instance.
bandwidthBillingType string | @alicloud/ros-cdk-core.IResolvable Property bandwidthBillingType: Bandwidth billing method.
crossBorderMode string | @alicloud/ros-cdk-core.IResolvable Property crossBorderMode: The cross-border mode of the global acceleration instance.
ddosConfigList @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | DdosConfigListProperty[] Property ddosConfigList: The DDoS configuration list of the global acceleration instance.
duration string | @alicloud/ros-cdk-core.IResolvable Property duration: Length of purchase.
enableCrossBorder boolean | @alicloud/ros-cdk-core.IResolvable Property enableCrossBorder: Whether the global acceleration instance enables the cross-border line function.
instanceChargeType string | @alicloud/ros-cdk-core.IResolvable Property instanceChargeType: Global acceleration instance payment type, the default value is PREPAY (prepaid).
ipSetConfig @alicloud/ros-cdk-core.IResolvable | IpSetConfigProperty Property ipSetConfig: Accelerate zone configuration.
pricingCycle string | @alicloud/ros-cdk-core.IResolvable Property pricingCycle: Billing cycle.
resourceGroupId string | @alicloud/ros-cdk-core.IResolvable Property resourceGroupId: The ResourceGroup Id.
spec string | @alicloud/ros-cdk-core.IResolvable Property spec: Specifications of Global Acceleration Instances.
tags TagsProperty[] Property tags: Tags to attach to acceleration instance.

acceleratorNameOptional

public readonly acceleratorName: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property acceleratorName: The Name of the GA instance.


autoPayOptional

public readonly autoPay: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

Property autoPay: Whether to pay automatically.


autoUseCouponOptional

public readonly autoUseCoupon: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property autoUseCoupon: The AutoUseCoupon of the GA instance.


bandwidthOptional

public readonly bandwidth: number | IResolvable;
  • Type: number | @alicloud/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.


bandwidthBillingTypeOptional

public readonly bandwidthBillingType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property bandwidthBillingType: Bandwidth billing method.


crossBorderModeOptional

public readonly crossBorderMode: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


ddosConfigListOptional

public readonly ddosConfigList: IResolvable | IResolvable | DdosConfigListProperty[];

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


durationOptional

public readonly duration: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property duration: Length of purchase.


enableCrossBorderOptional

public readonly enableCrossBorder: boolean | IResolvable;
  • Type: boolean | @alicloud/ros-cdk-core.IResolvable

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


instanceChargeTypeOptional

public readonly instanceChargeType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


ipSetConfigOptional

public readonly ipSetConfig: IResolvable | IpSetConfigProperty;

Property ipSetConfig: Accelerate zone configuration.


pricingCycleOptional

public readonly pricingCycle: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property pricingCycle: Billing cycle.


resourceGroupIdOptional

public readonly resourceGroupId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property resourceGroupId: The ResourceGroup Id.


specOptional

public readonly spec: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property spec: Specifications of Global Acceleration Instances.


tagsOptional

public readonly tags: 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.