Skip to content

ILoadBalancer

  • Extends: ros_cdk_core.IResource

  • Implemented By: ros_cdk_slb.datasource.LoadBalancer, ros_cdk_slb.datasource.ILoadBalancer

Represents a LoadBalancer.

Properties

Name Type Description
node ros_cdk_core.ConstructNode The construct tree node for this construct.
env ros_cdk_core.IResourceEnvironment The environment this resource belongs to.
stack ros_cdk_core.Stack The stack in which this resource is defined.
attr_address typing.Union[str, ros_cdk_core.IResolvable] Attribute Address: The service IP address of the CLB instance.
attr_address_ip_version typing.Union[str, ros_cdk_core.IResolvable] Attribute AddressIpVersion: The version of the IP address.
attr_address_type typing.Union[str, ros_cdk_core.IResolvable] Attribute AddressType: The address type of the CLB instance.
attr_auto_release_time typing.Union[str, ros_cdk_core.IResolvable] Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released.
attr_backend_servers typing.Union[str, ros_cdk_core.IResolvable] Attribute BackendServers: The backend servers of the CLB instance.
attr_bandwidth typing.Union[str, ros_cdk_core.IResolvable] Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis.
attr_create_time typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTime: The time when the CLB instance was created.
attr_create_time_stamp typing.Union[str, ros_cdk_core.IResolvable] Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded.
attr_delete_protection typing.Union[str, ros_cdk_core.IResolvable] Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance.
attr_end_time typing.Union[str, ros_cdk_core.IResolvable] Attribute EndTime: The time when the CLB instance expires.
attr_end_time_stamp typing.Union[str, ros_cdk_core.IResolvable] Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance.
attr_instance_charge_type typing.Union[str, ros_cdk_core.IResolvable] Attribute InstanceChargeType: Instance billing method.
attr_internet_charge_type typing.Union[str, ros_cdk_core.IResolvable] Attribute InternetChargeType: The metering method of the Internet-facing CLB instance.
attr_listener_ports_and_protocal typing.Union[str, ros_cdk_core.IResolvable] Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners.
attr_listener_ports_and_protocol typing.Union[str, ros_cdk_core.IResolvable] Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners.
attr_load_balancer_id typing.Union[str, ros_cdk_core.IResolvable] Attribute LoadBalancerId: The CLB instance ID.
attr_load_balancer_name typing.Union[str, ros_cdk_core.IResolvable] Attribute LoadBalancerName: The name of the CLB instance.
attr_load_balancer_spec typing.Union[str, ros_cdk_core.IResolvable] Attribute LoadBalancerSpec: The specification of the CLB instance.
attr_master_zone_id typing.Union[str, ros_cdk_core.IResolvable] Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs.
attr_modification_protection_reason typing.Union[str, ros_cdk_core.IResolvable] Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled.
attr_modification_protection_status typing.Union[str, ros_cdk_core.IResolvable] Attribute ModificationProtectionStatus: Load balancing modifies the protection state.
attr_network_type typing.Union[str, ros_cdk_core.IResolvable] Attribute NetworkType: The network type of the CLB instance.
attr_payment_type typing.Union[str, ros_cdk_core.IResolvable] Attribute PaymentType: Load balancing instance payment type.
attr_region_id_alias typing.Union[str, ros_cdk_core.IResolvable] Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs.
attr_renewal_cyc_unit typing.Union[str, ros_cdk_core.IResolvable] Attribute RenewalCycUnit: The auto-renewal cycle.
attr_renewal_duration typing.Union[str, ros_cdk_core.IResolvable] Attribute RenewalDuration: The auto-renewal duration.
attr_renewal_status typing.Union[str, ros_cdk_core.IResolvable] Attribute RenewalStatus: Indicates whether auto-renewal is enabled.
attr_resource_group_id typing.Union[str, ros_cdk_core.IResolvable] Attribute ResourceGroupId: The resource group ID.
attr_slave_zone_id typing.Union[str, ros_cdk_core.IResolvable] Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs.
attr_tags typing.Union[str, ros_cdk_core.IResolvable] Attribute Tags: The tags of the CLB instance.
attr_vpc_id typing.Union[str, ros_cdk_core.IResolvable] Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed.
attr_v_switch_id typing.Union[str, ros_cdk_core.IResolvable] Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs.
props LoadBalancerProps No description.

nodeRequired

node: ConstructNode
  • Type: ros_cdk_core.ConstructNode

The construct tree node for this construct.


envRequired

env: IResourceEnvironment
  • Type: 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

stack: Stack
  • Type: ros_cdk_core.Stack

The stack in which this resource is defined.


attr_addressRequired

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

Attribute Address: The service IP address of the CLB instance.


attr_address_ip_versionRequired

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

Attribute AddressIpVersion: The version of the IP address.

Valid values: ipv4 and ipv6.


attr_address_typeRequired

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

Attribute AddressType: The address type of the CLB instance.


attr_auto_release_timeRequired

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

Attribute AutoReleaseTime: The timestamp generated when the CLB instance is released.


attr_backend_serversRequired

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

Attribute BackendServers: The backend servers of the CLB instance.


attr_bandwidthRequired

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

Attribute Bandwidth: The maximum bandwidth of the Internet-facing CLB instance that is billed on a pay-by-bandwidth basis.


attr_create_timeRequired

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

Attribute CreateTime: The time when the CLB instance was created.


attr_create_time_stampRequired

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

Attribute CreateTimeStamp: The timestamp generated when the CA certificate is uploaded.


attr_delete_protectionRequired

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

Attribute DeleteProtection: Indicates whether deletion protection is enabled for the CLB instance.


attr_end_timeRequired

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

Attribute EndTime: The time when the CLB instance expires.


attr_end_time_stampRequired

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

Attribute EndTimeStamp: The timestamp that indicates the expiration time of the CLB instance.


attr_instance_charge_typeRequired

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

Attribute InstanceChargeType: Instance billing method.


attr_internet_charge_typeRequired

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

Attribute InternetChargeType: The metering method of the Internet-facing CLB instance.


attr_listener_ports_and_protocalRequired

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

Attribute ListenerPortsAndProtocal: The ports or protocols of the listeners.


attr_listener_ports_and_protocolRequired

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

Attribute ListenerPortsAndProtocol: The ports or protocols of the listeners.


attr_load_balancer_idRequired

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

Attribute LoadBalancerId: The CLB instance ID.


attr_load_balancer_nameRequired

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

Attribute LoadBalancerName: The name of the CLB instance.


attr_load_balancer_specRequired

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

Attribute LoadBalancerSpec: The specification of the CLB instance.


attr_master_zone_idRequired

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

Attribute MasterZoneId: The ID of the primary zone to which the CLB instance belongs.


attr_modification_protection_reasonRequired

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

Attribute ModificationProtectionReason: The reason why the configuration read-only mode is enabled.


attr_modification_protection_statusRequired

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

Attribute ModificationProtectionStatus: Load balancing modifies the protection state.


attr_network_typeRequired

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

Attribute NetworkType: The network type of the CLB instance.


attr_payment_typeRequired

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

Attribute PaymentType: Load balancing instance payment type.


attr_region_id_aliasRequired

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

Attribute RegionIdAlias: The alias of the region to which the CLB instance belongs.


attr_renewal_cyc_unitRequired

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

Attribute RenewalCycUnit: The auto-renewal cycle.

Valid values: Year and Month. Default value: Month.


attr_renewal_durationRequired

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

Attribute RenewalDuration: The auto-renewal duration.

This parameter is valid only if RenewalStatus is set to AutoRenewal.


attr_renewal_statusRequired

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

Attribute RenewalStatus: Indicates whether auto-renewal is enabled.


attr_resource_group_idRequired

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

Attribute ResourceGroupId: The resource group ID.


attr_slave_zone_idRequired

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

Attribute SlaveZoneId: The ID of the secondary zone to which the CLB instance belongs.


attr_tagsRequired

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

Attribute Tags: The tags of the CLB instance.


attr_vpc_idRequired

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

Attribute VpcId: The ID of the virtual private cloud (VPC) where the internal-facing CLB instance is deployed.


attr_v_switch_idRequired

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

Attribute VSwitchId: The ID of the vSwitch to which the internal-facing CLB instance belongs.


propsRequired

props: LoadBalancerProps