LoadBalancerProps
Properties for defining a LoadBalancer.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-gwlb-loadbalancer
Initializer
import { LoadBalancerProps } from '@alicloud/ros-cdk-gwlb'
const loadBalancerProps: LoadBalancerProps = { ... }
Properties
| Name | Type | Description |
|---|---|---|
vpcId | string | @alicloud/ros-cdk-core.IResolvable | Property vpcId: The ID of the VPC which the Gateway Load Balancer instance belongs. |
zoneMappings | @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ZoneMappingsProperty[] | Property zoneMappings: The List of zones and vSwitches mapped. |
addressIpVersion | string | @alicloud/ros-cdk-core.IResolvable | Property addressIpVersion: The protocol version. |
loadBalancerName | string | @alicloud/ros-cdk-core.IResolvable | Property loadBalancerName: The name of the Gateway Load Balancer instance. |
resourceGroupId | string | @alicloud/ros-cdk-core.IResolvable | Property resourceGroupId: The ID of the resource group. |
tags | TagsProperty[] | Property tags: Tags of load balancer. |
vpcIdRequired
public readonly vpcId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property vpcId: The ID of the VPC which the Gateway Load Balancer instance belongs.
zoneMappingsRequired
public readonly zoneMappings: IResolvable | IResolvable | ZoneMappingsProperty[];
- Type: @alicloud/ros-cdk-core.IResolvable | @alicloud/ros-cdk-core.IResolvable | ZoneMappingsProperty[]
Property zoneMappings: The List of zones and vSwitches mapped.
You must add at least one zone and a maximum of 20 zones. If the current region supports two or more zones, we recommend that you add two or more zones.
addressIpVersionOptional
public readonly addressIpVersion: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property addressIpVersion: The protocol version.
Value: - Ipv4: Ipv4 type.
loadBalancerNameOptional
public readonly loadBalancerName: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property loadBalancerName: The name of the Gateway Load Balancer instance.
It must be 2 to 128 English or Chinese characters in length. It must start with a letter or a Chinese character and can contain digits, half-width periods (.), underscores (_), and dashes (-).
resourceGroupIdOptional
public readonly resourceGroupId: string | IResolvable;
- Type: string | @alicloud/ros-cdk-core.IResolvable
Property resourceGroupId: The ID of the resource group.
tagsOptional
public readonly tags: TagsProperty[];
- Type: TagsProperty[]
Property tags: Tags of load balancer.