Skip to content

LoadBalancerTCPListener

This class encapsulates and extends the ROS resource type DATASOURCE::SLB::LoadBalancerTCPListener.

Initializers

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb/datasource"
datasource.NewLoadBalancerTCPListener(scope Construct, id *string, props LoadBalancerTCPListenerProps, enableResourcePropertyConstraint *bool) LoadBalancerTCPListener
Name Type Description
scope github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct No description.
id *string No description.
props LoadBalancerTCPListenerProps No description.
enableResourcePropertyConstraint *bool No description.

scopeRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct

idRequired

  • Type: *string

propsRequired


enableResourcePropertyConstraintOptional

  • Type: *bool

Methods

Name Description
ToString Returns a string representation of this construct.
Synthesize Allows this construct to emit artifacts into the cloud assembly during synthesis.
AddCondition No description.
AddCount No description.
AddDependency No description.
AddResourceDesc No description.
ApplyRemovalPolicy No description.
GetAtt No description.
SetMetadata No description.

ToString

func ToString() *string

Returns a string representation of this construct.

Synthesize

func Synthesize(session ISynthesisSession)

Allows this construct to emit artifacts into the cloud assembly during synthesis.

This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.

sessionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession

The synthesis session.


AddCondition

func AddCondition(condition RosCondition)

conditionRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition

AddCount

func AddCount(count interface{})

countRequired

  • Type: interface{}

AddDependency

func AddDependency(resource Resource)

resourceRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource

AddResourceDesc

func AddResourceDesc(desc *string)

descRequired

  • Type: *string

ApplyRemovalPolicy

func ApplyRemovalPolicy(policy RemovalPolicy)

policyRequired

  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy

GetAtt

func GetAtt(name *string) IResolvable

nameRequired

  • Type: *string

SetMetadata

func SetMetadata(key *string, value interface{})

keyRequired

  • Type: *string

valueRequired

  • Type: interface{}

Static Functions

Name Description
IsConstruct Return whether the given object is a Construct.

IsConstruct

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkslb/datasource"
datasource.LoadBalancerTCPListener_IsConstruct(x interface{}) *bool

Return whether the given object is a Construct.

xRequired

  • Type: interface{}

Properties

Name Type Description
Node github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode The construct tree node associated with this construct.
Ref *string No description.
Stack github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack The stack in which this resource is defined.
Resource github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource No description.
AttrAclId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute AclId: The ID of the network ACL that is associated with the listener.
AttrAclIds github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute AclIds: The ID list of the network ACL that is associated with the listener.
AttrAclStatus github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute AclStatus: Indicates whether access control is enabled.
AttrAclType github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute AclType: The type of the ACL.
AttrBackendServerPort github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute BackendServerPort: The backend port used by the CLB instance.
AttrBandwidth github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Bandwidth: The maximum bandwidth of the listener.
AttrConnectionDrain github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ConnectionDrain: Indicates whether connection draining is enabled.
AttrConnectionDrainTimeout github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ConnectionDrainTimeout: The timeout period of connection draining.
AttrDescription github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Description: The description of the listener.
AttrEstablishedTimeout github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute EstablishedTimeout: The timeout period of a connection.
AttrHealthCheck github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthCheck: Indicates whether the health check feature is enabled.
AttrHealthCheckConnectPort github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthCheckConnectPort: The port that is used for health checks.
AttrHealthCheckConnectTimeout github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthCheckConnectTimeout: The timeout period.
AttrHealthCheckDomain github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthCheckDomain: The domain name that is used for health checks.
AttrHealthCheckHttpCode github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthCheckHttpCode: The HTTP status code for a successful health check.
AttrHealthCheckInterval github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthCheckInterval: The interval between two consecutive health checks.
AttrHealthCheckMethod github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthCheckMethod: The health check method.
AttrHealthCheckType github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthCheckType: The health check method that is used by the TCP listener.
AttrHealthCheckUri github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthCheckUri: The URL that is used for health checks.
AttrHealthyThreshold github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute HealthyThreshold: The healthy threshold.
AttrListenerPort github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ListenerPort: The frontend port used by the CLB instance.
AttrLoadBalancerId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute LoadBalancerId: The ID of the CLB instance.
AttrMasterSlaveServerGroupId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute MasterSlaveServerGroupId: The ID of the primary/secondary server group that is associated with the listener.
AttrPersistenceTimeout github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute PersistenceTimeout: The timeout period of session persistence.
AttrProxyProtocolV2Enabled github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute ProxyProtocolV2Enabled: Indicates whether the Proxy protocol is used to pass client IP addresses to backend servers.
AttrScheduler github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute Scheduler: The scheduling algorithm.
AttrSynProxy github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute SynProxy: Indicates whether the SynProxy feature of CLB is enabled for protection.
AttrUnhealthyThreshold github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute UnhealthyThreshold: The unhealthy threshold.
AttrVServerGroupId github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable Attribute VServerGroupId: The ID of the associated server group.

NodeRequired

func Node() ConstructNode
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode

The construct tree node associated with this construct.


RefRequired

func Ref() *string
  • Type: *string

StackRequired

func Stack() Stack
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack

The stack in which this resource is defined.


ResourceOptional

func Resource() RosResource
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource

AttrAclIdRequired

func AttrAclId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute AclId: The ID of the network ACL that is associated with the listener.


AttrAclIdsRequired

func AttrAclIds() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute AclIds: The ID list of the network ACL that is associated with the listener.


AttrAclStatusRequired

func AttrAclStatus() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute AclStatus: Indicates whether access control is enabled.


AttrAclTypeRequired

func AttrAclType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute AclType: The type of the ACL.


AttrBackendServerPortRequired

func AttrBackendServerPort() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute BackendServerPort: The backend port used by the CLB instance.


AttrBandwidthRequired

func AttrBandwidth() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Bandwidth: The maximum bandwidth of the listener.

Unit: Mbit/s.


AttrConnectionDrainRequired

func AttrConnectionDrain() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ConnectionDrain: Indicates whether connection draining is enabled.

If ConnectionDrain is set to on, the parameter is returned.


AttrConnectionDrainTimeoutRequired

func AttrConnectionDrainTimeout() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ConnectionDrainTimeout: The timeout period of connection draining.

If ConnectionDrain is set to on, the parameter is returned.


AttrDescriptionRequired

func AttrDescription() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Description: The description of the listener.


AttrEstablishedTimeoutRequired

func AttrEstablishedTimeout() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute EstablishedTimeout: The timeout period of a connection.


AttrHealthCheckRequired

func AttrHealthCheck() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthCheck: Indicates whether the health check feature is enabled.


AttrHealthCheckConnectPortRequired

func AttrHealthCheckConnectPort() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthCheckConnectPort: The port that is used for health checks.


AttrHealthCheckConnectTimeoutRequired

func AttrHealthCheckConnectTimeout() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthCheckConnectTimeout: The timeout period.

Unit: seconds.


AttrHealthCheckDomainRequired

func AttrHealthCheckDomain() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthCheckDomain: The domain name that is used for health checks.


AttrHealthCheckHttpCodeRequired

func AttrHealthCheckHttpCode() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthCheckHttpCode: The HTTP status code for a successful health check.


AttrHealthCheckIntervalRequired

func AttrHealthCheckInterval() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthCheckInterval: The interval between two consecutive health checks.

Valid values: 1 to 50. Unit: seconds.


AttrHealthCheckMethodRequired

func AttrHealthCheckMethod() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthCheckMethod: The health check method.


AttrHealthCheckTypeRequired

func AttrHealthCheckType() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthCheckType: The health check method that is used by the TCP listener.


AttrHealthCheckUriRequired

func AttrHealthCheckUri() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthCheckUri: The URL that is used for health checks.


AttrHealthyThresholdRequired

func AttrHealthyThreshold() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute HealthyThreshold: The healthy threshold.

The number of times that an unhealthy backend server must consecutively pass health checks before it is declared healthy. In this case, the health status is changed from fail to success. Valid values: 2 to 10.


AttrListenerPortRequired

func AttrListenerPort() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ListenerPort: The frontend port used by the CLB instance.


AttrLoadBalancerIdRequired

func AttrLoadBalancerId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute LoadBalancerId: The ID of the CLB instance.


AttrMasterSlaveServerGroupIdRequired

func AttrMasterSlaveServerGroupId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute MasterSlaveServerGroupId: The ID of the primary/secondary server group that is associated with the listener.


AttrPersistenceTimeoutRequired

func AttrPersistenceTimeout() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute PersistenceTimeout: The timeout period of session persistence.


AttrProxyProtocolV2EnabledRequired

func AttrProxyProtocolV2Enabled() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute ProxyProtocolV2Enabled: Indicates whether the Proxy protocol is used to pass client IP addresses to backend servers.


AttrSchedulerRequired

func AttrScheduler() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute Scheduler: The scheduling algorithm.


AttrSynProxyRequired

func AttrSynProxy() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute SynProxy: Indicates whether the SynProxy feature of CLB is enabled for protection.


AttrUnhealthyThresholdRequired

func AttrUnhealthyThreshold() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute UnhealthyThreshold: The unhealthy threshold.

The number of times that a healthy backend server must consecutively fail health checks before it is declared unhealthy. In this case, the health status is changed from success to fail. Valid values: 2 to 10.


AttrVServerGroupIdRequired

func AttrVServerGroupId() IResolvable
  • Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable

Attribute VServerGroupId: The ID of the associated server group.