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. |
scope
Required
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
id
Required
- Type: *string
props
Required
enableResourcePropertyConstraint
Optional
- 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.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- 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.
- 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. |
Node
Required
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
Ref
Required
func Ref() *string
- Type: *string
Stack
Required
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
Resource
Optional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrAclId
Required
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.
AttrAclIds
Required
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.
AttrAclStatus
Required
func AttrAclStatus() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AclStatus: Indicates whether access control is enabled.
AttrAclType
Required
func AttrAclType() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute AclType: The type of the ACL.
AttrBackendServerPort
Required
func AttrBackendServerPort() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute BackendServerPort: The backend port used by the CLB instance.
AttrBandwidth
Required
func AttrBandwidth() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Bandwidth: The maximum bandwidth of the listener.
Unit: Mbit/s.
AttrConnectionDrain
Required
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.
AttrConnectionDrainTimeout
Required
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.
AttrDescription
Required
func AttrDescription() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Description: The description of the listener.
AttrEstablishedTimeout
Required
func AttrEstablishedTimeout() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute EstablishedTimeout: The timeout period of a connection.
AttrHealthCheck
Required
func AttrHealthCheck() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HealthCheck: Indicates whether the health check feature is enabled.
AttrHealthCheckConnectPort
Required
func AttrHealthCheckConnectPort() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HealthCheckConnectPort: The port that is used for health checks.
AttrHealthCheckConnectTimeout
Required
func AttrHealthCheckConnectTimeout() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HealthCheckConnectTimeout: The timeout period.
Unit: seconds.
AttrHealthCheckDomain
Required
func AttrHealthCheckDomain() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HealthCheckDomain: The domain name that is used for health checks.
AttrHealthCheckHttpCode
Required
func AttrHealthCheckHttpCode() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HealthCheckHttpCode: The HTTP status code for a successful health check.
AttrHealthCheckInterval
Required
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.
AttrHealthCheckMethod
Required
func AttrHealthCheckMethod() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HealthCheckMethod: The health check method.
AttrHealthCheckType
Required
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.
AttrHealthCheckUri
Required
func AttrHealthCheckUri() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute HealthCheckUri: The URL that is used for health checks.
AttrHealthyThreshold
Required
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.
AttrListenerPort
Required
func AttrListenerPort() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute ListenerPort: The frontend port used by the CLB instance.
AttrLoadBalancerId
Required
func AttrLoadBalancerId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute LoadBalancerId: The ID of the CLB instance.
AttrMasterSlaveServerGroupId
Required
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.
AttrPersistenceTimeout
Required
func AttrPersistenceTimeout() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute PersistenceTimeout: The timeout period of session persistence.
AttrProxyProtocolV2Enabled
Required
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.
AttrScheduler
Required
func AttrScheduler() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute Scheduler: The scheduling algorithm.
AttrSynProxy
Required
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.
AttrUnhealthyThreshold
Required
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.
AttrVServerGroupId
Required
func AttrVServerGroupId() IResolvable
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResolvable
Attribute VServerGroupId: The ID of the associated server group.