Skip to content

ILoadBalancer

Represents a LoadBalancer.

Properties

Name Type Description
node @alicloud/ros-cdk-core.ConstructNode The construct tree node for this construct.
env @alicloud/ros-cdk-core.IResourceEnvironment The environment this resource belongs to.
stack @alicloud/ros-cdk-core.Stack The stack in which this resource is defined.
attrAddressIpVersion string | @alicloud/ros-cdk-core.IResolvable Attribute AddressIpVersion: The protocol version.
attrBusinessStatus string | @alicloud/ros-cdk-core.IResolvable Attribute BusinessStatus: The business status of Gateway Load Balancing.
attrCreateTime string | @alicloud/ros-cdk-core.IResolvable Attribute CreateTime: The resource creation time, in Greenwich Mean Time, in the format of yyyy-MM-ddTHH:mm:ssZ.
attrLoadBalancerId string | @alicloud/ros-cdk-core.IResolvable Attribute LoadBalancerId: The ID of the Gateway Load Balancer instance.
attrLoadBalancerName string | @alicloud/ros-cdk-core.IResolvable Attribute LoadBalancerName: The name of the Gateway Load Balancer instance.
attrResourceGroupId string | @alicloud/ros-cdk-core.IResolvable Attribute ResourceGroupId: The ID of the resource group.
attrTags string | @alicloud/ros-cdk-core.IResolvable Attribute Tags: The list of tags.
attrVpcId string | @alicloud/ros-cdk-core.IResolvable Attribute VpcId: The ID of the VPC which the Gateway Load Balancer instance belongs.
attrZoneMappings string | @alicloud/ros-cdk-core.IResolvable Attribute ZoneMappings: The List of zones and vSwitches mapped.
props LoadBalancerProps No description.

nodeRequired

public readonly node: ConstructNode;
  • Type: @alicloud/ros-cdk-core.ConstructNode

The construct tree node for this construct.


envRequired

public readonly env: IResourceEnvironment;
  • Type: @alicloud/ros-cdk-core.IResourceEnvironment

The environment this resource belongs to.

For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.


stackRequired

public readonly stack: Stack;
  • Type: @alicloud/ros-cdk-core.Stack

The stack in which this resource is defined.


attrAddressIpVersionRequired

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

Attribute AddressIpVersion: The protocol version.


attrBusinessStatusRequired

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

Attribute BusinessStatus: The business status of Gateway Load Balancing.


attrCreateTimeRequired

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

Attribute CreateTime: The resource creation time, in Greenwich Mean Time, in the format of yyyy-MM-ddTHH:mm:ssZ.


attrLoadBalancerIdRequired

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

Attribute LoadBalancerId: The ID of the Gateway Load Balancer instance.


attrLoadBalancerNameRequired

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

Attribute LoadBalancerName: The name of the Gateway Load Balancer instance.


attrResourceGroupIdRequired

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

Attribute ResourceGroupId: The ID of the resource group.


attrTagsRequired

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

Attribute Tags: The list of tags.


attrVpcIdRequired

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

Attribute VpcId: The ID of the VPC which the Gateway Load Balancer instance belongs.


attrZoneMappingsRequired

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

Attribute 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.


propsRequired

public readonly props: LoadBalancerProps;