Package-level declarations

Types

Link copied to clipboard
class Acl : KotlinCustomResource

An access control list contains multiple IP addresses or CIDR blocks. The access control list can help you to define multiple instance listening dimension, and to meet the multiple usage for single access control list. Server Load Balancer allows you to configure access control for listeners. You can configure different whitelists or blacklists for different listeners. You can configure access control when you create a listener or change access control configuration after a listener is created.

Link copied to clipboard
data class AclArgs(val entryLists: Output<List<AclEntryListArgs>>? = null, val ipVersion: Output<String>? = null, val name: Output<String>? = null, val resourceGroupId: Output<String>? = null, val tags: Output<Map<String, Any>>? = null) : ConvertibleToJava<AclArgs>

An access control list contains multiple IP addresses or CIDR blocks. The access control list can help you to define multiple instance listening dimension, and to meet the multiple usage for single access control list. Server Load Balancer allows you to configure access control for listeners. You can configure different whitelists or blacklists for different listeners. You can configure access control when you create a listener or change access control configuration after a listener is created.

Link copied to clipboard

Builder for AclArgs.

Link copied to clipboard
class AclEntryAttachment : KotlinCustomResource

Acl entry attachment can be imported using the id, e.g.

Link copied to clipboard
data class AclEntryAttachmentArgs(val aclId: Output<String>? = null, val comment: Output<String>? = null, val entry: Output<String>? = null) : ConvertibleToJava<AclEntryAttachmentArgs>

Acl entry attachment can be imported using the id, e.g.

Link copied to clipboard
Link copied to clipboard
object AclMapper : ResourceMapper<Acl>
Link copied to clipboard

Builder for Acl.

Link copied to clipboard
class ApplicationLoadBalancer : KotlinCustomResource

Load balancer can be imported using the id, e.g.

Link copied to clipboard
data class ApplicationLoadBalancerArgs(val address: Output<String>? = null, val addressIpVersion: Output<String>? = null, val addressType: Output<String>? = null, val bandwidth: Output<Int>? = null, val deleteProtection: Output<String>? = null, val instanceChargeType: Output<String>? = null, val internetChargeType: Output<String>? = null, val loadBalancerName: Output<String>? = null, val loadBalancerSpec: Output<String>? = null, val masterZoneId: Output<String>? = null, val modificationProtectionReason: Output<String>? = null, val modificationProtectionStatus: Output<String>? = null, val name: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val resourceGroupId: Output<String>? = null, val slaveZoneId: Output<String>? = null, val specification: Output<String>? = null, val status: Output<String>? = null, val tags: Output<Map<String, Any>>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<ApplicationLoadBalancerArgs>

Load balancer can be imported using the id, e.g.

Link copied to clipboard
Link copied to clipboard
class Attachment : KotlinCustomResource

Load balancer attachment can be imported using the id or load balancer id, e.g.

Link copied to clipboard
data class AttachmentArgs(val backendServers: Output<String>? = null, val deleteProtectionValidation: Output<Boolean>? = null, val instanceIds: Output<List<String>>? = null, val loadBalancerId: Output<String>? = null, val serverType: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<AttachmentArgs>

Load balancer attachment can be imported using the id or load balancer id, e.g.

Link copied to clipboard
Link copied to clipboard
object AttachmentMapper : ResourceMapper<Attachment>
Link copied to clipboard
Link copied to clipboard
class BackendServer : KotlinCustomResource

Add a group of backend servers (ECS or ENI instance) to the Server Load Balancer or remove them from it.

Link copied to clipboard
data class BackendServerArgs(val backendServers: Output<List<BackendServerBackendServerArgs>>? = null, val deleteProtectionValidation: Output<Boolean>? = null, val loadBalancerId: Output<String>? = null) : ConvertibleToJava<BackendServerArgs>

Add a group of backend servers (ECS or ENI instance) to the Server Load Balancer or remove them from it.

Link copied to clipboard
Link copied to clipboard
object BackendServerMapper : ResourceMapper<BackendServer>
Link copied to clipboard
Link copied to clipboard
class CaCertificate : KotlinCustomResource

A Load Balancer CA Certificate is used by the listener of the protocol https. For information about slb and how to use it, see What is Server Load Balancer. For information about CA Certificate and how to use it, see Configure CA Certificate.

Link copied to clipboard
data class CaCertificateArgs(val caCertificate: Output<String>? = null, val caCertificateName: Output<String>? = null, val name: Output<String>? = null, val resourceGroupId: Output<String>? = null, val tags: Output<Map<String, Any>>? = null) : ConvertibleToJava<CaCertificateArgs>

A Load Balancer CA Certificate is used by the listener of the protocol https. For information about slb and how to use it, see What is Server Load Balancer. For information about CA Certificate and how to use it, see Configure CA Certificate.

Link copied to clipboard
Link copied to clipboard
object CaCertificateMapper : ResourceMapper<CaCertificate>
Link copied to clipboard
Link copied to clipboard
class DomainExtension : KotlinCustomResource

HTTPS listeners of guaranteed-performance SLB support configuring multiple certificates, allowing you to forward requests with different domain names to different backend servers. Please refer to the documentation for details.

Link copied to clipboard
data class DomainExtensionArgs(val deleteProtectionValidation: Output<Boolean>? = null, val domain: Output<String>? = null, val frontendPort: Output<Int>? = null, val loadBalancerId: Output<String>? = null, val serverCertificateId: Output<String>? = null) : ConvertibleToJava<DomainExtensionArgs>

HTTPS listeners of guaranteed-performance SLB support configuring multiple certificates, allowing you to forward requests with different domain names to different backend servers. Please refer to the documentation for details.

Link copied to clipboard
object DomainExtensionMapper : ResourceMapper<DomainExtension>
Link copied to clipboard
class Listener : KotlinCustomResource

Provides an Application Load Balancer Listener resource. For information about slb and how to use it, see What is Server Load Balancer. For information about listener and how to use it, to see the following:

Link copied to clipboard
data class ListenerArgs(val aclId: Output<String>? = null, val aclStatus: Output<String>? = null, val aclType: Output<String>? = null, val backendPort: Output<Int>? = null, val bandwidth: Output<Int>? = null, val caCertificateId: Output<String>? = null, val cookie: Output<String>? = null, val cookieTimeout: Output<Int>? = null, val deleteProtectionValidation: Output<Boolean>? = null, val description: Output<String>? = null, val enableHttp2: Output<String>? = null, val establishedTimeout: Output<Int>? = null, val forwardPort: Output<Int>? = null, val frontendPort: Output<Int>? = null, val gzip: Output<Boolean>? = null, val healthCheck: Output<String>? = null, val healthCheckConnectPort: Output<Int>? = null, val healthCheckDomain: Output<String>? = null, val healthCheckHttpCode: Output<String>? = null, val healthCheckInterval: Output<Int>? = null, val healthCheckMethod: Output<String>? = null, val healthCheckTimeout: Output<Int>? = null, val healthCheckType: Output<String>? = null, val healthCheckUri: Output<String>? = null, val healthyThreshold: Output<Int>? = null, val idleTimeout: Output<Int>? = null, val lbPort: Output<Int>? = null, val lbProtocol: Output<String>? = null, val listenerForward: Output<String>? = null, val loadBalancerId: Output<String>? = null, val masterSlaveServerGroupId: Output<String>? = null, val persistenceTimeout: Output<Int>? = null, val protocol: Output<String>? = null, val proxyProtocolV2Enabled: Output<Boolean>? = null, val requestTimeout: Output<Int>? = null, val scheduler: Output<String>? = null, val serverCertificateId: Output<String>? = null, val serverGroupId: Output<String>? = null, val sslCertificateId: Output<String>? = null, val stickySession: Output<String>? = null, val stickySessionType: Output<String>? = null, val tlsCipherPolicy: Output<String>? = null, val unhealthyThreshold: Output<Int>? = null, val xForwardedFor: Output<ListenerXForwardedForArgs>? = null) : ConvertibleToJava<ListenerArgs>

Provides an Application Load Balancer Listener resource. For information about slb and how to use it, see What is Server Load Balancer. For information about listener and how to use it, to see the following:

Link copied to clipboard
Link copied to clipboard
object ListenerMapper : ResourceMapper<Listener>
Link copied to clipboard
Link copied to clipboard
class LoadBalancer : KotlinCustomResource

Load balancer can be imported using the id, e.g.

Link copied to clipboard
data class LoadBalancerArgs constructor(val address: Output<String>? = null, val addressIpVersion: Output<String>? = null, val addressType: Output<String>? = null, val bandwidth: Output<Int>? = null, val deleteProtection: Output<String>? = null, val instanceChargeType: Output<String>? = null, val internetChargeType: Output<String>? = null, val loadBalancerName: Output<String>? = null, val loadBalancerSpec: Output<String>? = null, val masterZoneId: Output<String>? = null, val modificationProtectionReason: Output<String>? = null, val modificationProtectionStatus: Output<String>? = null, val name: Output<String>? = null, val paymentType: Output<String>? = null, val period: Output<Int>? = null, val resourceGroupId: Output<String>? = null, val slaveZoneId: Output<String>? = null, val specification: Output<String>? = null, val status: Output<String>? = null, val tags: Output<Map<String, Any>>? = null, val vswitchId: Output<String>? = null) : ConvertibleToJava<LoadBalancerArgs>

Load balancer can be imported using the id, e.g.

Link copied to clipboard
Link copied to clipboard
object LoadBalancerMapper : ResourceMapper<LoadBalancer>
Link copied to clipboard
Link copied to clipboard
class MasterSlaveServerGroup : KotlinCustomResource

A master slave server group contains two ECS instances. The master slave server group can help you to define multiple listening dimension.

Link copied to clipboard
data class MasterSlaveServerGroupArgs(val deleteProtectionValidation: Output<Boolean>? = null, val loadBalancerId: Output<String>? = null, val name: Output<String>? = null, val servers: Output<List<MasterSlaveServerGroupServerArgs>>? = null) : ConvertibleToJava<MasterSlaveServerGroupArgs>

A master slave server group contains two ECS instances. The master slave server group can help you to define multiple listening dimension.

Link copied to clipboard
Link copied to clipboard
class Rule : KotlinCustomResource

A forwarding rule is configured in HTTP/HTTPS listener and it used to listen a list of backend servers which in one specified virtual backend server group. You can add forwarding rules to a listener to forward requests based on the domain names or the URL in the request.

Link copied to clipboard
data class RuleArgs(val cookie: Output<String>? = null, val cookieTimeout: Output<Int>? = null, val deleteProtectionValidation: Output<Boolean>? = null, val domain: Output<String>? = null, val frontendPort: Output<Int>? = null, val healthCheck: Output<String>? = null, val healthCheckConnectPort: Output<Int>? = null, val healthCheckDomain: Output<String>? = null, val healthCheckHttpCode: Output<String>? = null, val healthCheckInterval: Output<Int>? = null, val healthCheckTimeout: Output<Int>? = null, val healthCheckUri: Output<String>? = null, val healthyThreshold: Output<Int>? = null, val listenerSync: Output<String>? = null, val loadBalancerId: Output<String>? = null, val name: Output<String>? = null, val scheduler: Output<String>? = null, val serverGroupId: Output<String>? = null, val stickySession: Output<String>? = null, val stickySessionType: Output<String>? = null, val unhealthyThreshold: Output<Int>? = null, val url: Output<String>? = null) : ConvertibleToJava<RuleArgs>

A forwarding rule is configured in HTTP/HTTPS listener and it used to listen a list of backend servers which in one specified virtual backend server group. You can add forwarding rules to a listener to forward requests based on the domain names or the URL in the request.

Link copied to clipboard

Builder for RuleArgs.

Link copied to clipboard
object RuleMapper : ResourceMapper<Rule>
Link copied to clipboard

Builder for Rule.

Link copied to clipboard
class ServerCertificate : KotlinCustomResource

A Load Balancer Server Certificate is an ssl Certificate used by the listener of the protocol https. For information about slb and how to use it, see What is Server Load Balancer. For information about Server Certificate and how to use it, see Configure Server Certificate.

Link copied to clipboard
data class ServerCertificateArgs(val alicloudCertifacteId: Output<String>? = null, val alicloudCertifacteName: Output<String>? = null, val alicloudCertificateId: Output<String>? = null, val alicloudCertificateName: Output<String>? = null, val alicloudCertificateRegionId: Output<String>? = null, val name: Output<String>? = null, val privateKey: Output<String>? = null, val resourceGroupId: Output<String>? = null, val serverCertificate: Output<String>? = null, val tags: Output<Map<String, Any>>? = null) : ConvertibleToJava<ServerCertificateArgs>

A Load Balancer Server Certificate is an ssl Certificate used by the listener of the protocol https. For information about slb and how to use it, see What is Server Load Balancer. For information about Server Certificate and how to use it, see Configure Server Certificate.

Link copied to clipboard
object ServerCertificateMapper : ResourceMapper<ServerCertificate>
Link copied to clipboard
class ServerGroup : KotlinCustomResource

A virtual server group contains several ECS instances. The virtual server group can help you to define multiple listening dimension, and to meet the personalized requirements of domain name and URL forwarding.

Link copied to clipboard
data class ServerGroupArgs(val deleteProtectionValidation: Output<Boolean>? = null, val loadBalancerId: Output<String>? = null, val name: Output<String>? = null, val servers: Output<List<ServerGroupServerArgs>>? = null) : ConvertibleToJava<ServerGroupArgs>

A virtual server group contains several ECS instances. The virtual server group can help you to define multiple listening dimension, and to meet the personalized requirements of domain name and URL forwarding.

Link copied to clipboard
Link copied to clipboard
object ServerGroupMapper : ResourceMapper<ServerGroup>
Link copied to clipboard
Link copied to clipboard
class ServerGroupServerAttachment : KotlinCustomResource

Load balancer backend server group server attachment can be imported using the id, e.g.

Link copied to clipboard
data class ServerGroupServerAttachmentArgs(val description: Output<String>? = null, val port: Output<Int>? = null, val serverGroupId: Output<String>? = null, val serverId: Output<String>? = null, val type: Output<String>? = null, val weight: Output<Int>? = null) : ConvertibleToJava<ServerGroupServerAttachmentArgs>

Load balancer backend server group server attachment can be imported using the id, e.g.

Link copied to clipboard
Link copied to clipboard
class TlsCipherPolicy : KotlinCustomResource

Provides a SLB Tls Cipher Policy resource. For information about SLB Tls Cipher Policy and how to use it, see What is Tls Cipher Policy.

Link copied to clipboard
data class TlsCipherPolicyArgs(val ciphers: Output<List<String>>? = null, val tlsCipherPolicyName: Output<String>? = null, val tlsVersions: Output<List<String>>? = null) : ConvertibleToJava<TlsCipherPolicyArgs>

Provides a SLB Tls Cipher Policy resource. For information about SLB Tls Cipher Policy and how to use it, see What is Tls Cipher Policy.

Link copied to clipboard
object TlsCipherPolicyMapper : ResourceMapper<TlsCipherPolicy>

Functions

Link copied to clipboard
fun acl(name: String): Acl
suspend fun acl(name: String, block: suspend AclResourceBuilder.() -> Unit): Acl
Link copied to clipboard
suspend fun attachment(name: String, block: suspend AttachmentResourceBuilder.() -> Unit): Attachment
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun listener(name: String, block: suspend ListenerResourceBuilder.() -> Unit): Listener
Link copied to clipboard
Link copied to clipboard
fun rule(name: String): Rule
suspend fun rule(name: String, block: suspend RuleResourceBuilder.() -> Unit): Rule
Link copied to clipboard
suspend fun serverGroup(name: String, block: suspend ServerGroupResourceBuilder.() -> Unit): ServerGroup
Link copied to clipboard