DomainExtension

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.

NOTE: Available in 1.60.0+

NOTE: The instance with shared loadBalancerSpec doesn’t support domainExtension.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var instance = new AliCloud.Slb.LoadBalancer("instance", new AliCloud.Slb.LoadBalancerArgs
        {
            Internet = true,
            InternetChargeType = "PayByTraffic",
        });
        var foo = new AliCloud.Slb.ServerCertificate("foo", new AliCloud.Slb.ServerCertificateArgs
        {
            PrivateKey = @"-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAyjCheapjf7qDI3R9w/Gj0XFDgNLPK2aWIRvM25BdY/IB2KAf
xQ7zOxu3X1bMo2zMCzsSrwIVrxx0qRM/7e4AfkHcKwDIjCcBprQp164dhFol4GpT
HtcuGv0+Ue6vpuE9cxQE3/pG5x1n5EhheFu2+lAaGh/vUrUPeQp6szX/9qfzn+/k
tF8wsRV8PBiFc2ZNMRXupRyc2qtOn95r86w/uK6TuerU1L64E2P5+tYLBWT+39Ai
diUIenjURThFEn8Srvw8v/iLEMaKwiWNkOfWQH96166gzddOI8PT5cJy5an2c90T
DgzegVo8RPK70bU9KjH7gH79YIwXVmTdIVGAUQIDAQABAoIBAE1J4a/8biR5S3/W
G+03BYQeY8tuyjqw8FqfoeOcf9agwAvqybouSNQjeCk9qOQfxq/UWQQFK/zQR9gJ
v7pX7GBXFK5rkj3g+0SaQhRsPmRFgY0Tl8qGPt2aSKRRNVv5ZeADmwlzRn86QmiF
Mp0rkfqFfDTYWEepZszCML0ouzuxsW/9tq7rvtSjsgATNt31B3vFa3D3JBi31jUh
5nfR9A3bATze7mQw3byEDiVl5ASRDgYyur403P1fDnMy9DBHZ8NaPOsFF6OBpJal
BJsG5z00hll5PFN2jfmBQKlvAeU7wfwqdaSnGHOfqf2DeTTaFjIQ4gUhRn/m6pLo
6kXttLEC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q9XgthAiFFjl1S9ZgdA6Zc=
-----END CERTIFICATE-----
",
        });
        var https = new AliCloud.Slb.Listener("https", new AliCloud.Slb.ListenerArgs
        {
            BackendPort = 80,
            Bandwidth = 10,
            Cookie = "testslblistenercookie",
            CookieTimeout = 86400,
            FrontendPort = 443,
            HealthCheck = "on",
            HealthCheckConnectPort = 20,
            HealthCheckHttpCode = "http_2xx,http_3xx",
            HealthCheckInterval = 5,
            HealthCheckTimeout = 8,
            HealthCheckUri = "/cons",
            HealthyThreshold = 8,
            LoadBalancerId = instance.Id,
            Protocol = "https",
            SslCertificateId = foo.Id,
            StickySession = "on",
            StickySessionType = "insert",
            UnhealthyThreshold = 8,
        });
        var example1 = new AliCloud.Slb.DomainExtension("example1", new AliCloud.Slb.DomainExtensionArgs
        {
            Domain = "www.test.com",
            FrontendPort = https.FrontendPort,
            LoadBalancerId = instance.Id,
            ServerCertificateId = foo.Id,
        });
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

instance = alicloud.slb.LoadBalancer("instance",
    internet="true",
    internet_charge_type="PayByTraffic")
foo = alicloud.slb.ServerCertificate("foo",
    private_key="""-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAyjCheapjf7qDI3R9w/Gj0XFDgNLPK2aWIRvM25BdY/IB2KAf
xQ7zOxu3X1bMo2zMCzsSrwIVrxx0qRM/7e4AfkHcKwDIjCcBprQp164dhFol4GpT
HtcuGv0+Ue6vpuE9cxQE3/pG5x1n5EhheFu2+lAaGh/vUrUPeQp6szX/9qfzn+/k
tF8wsRV8PBiFc2ZNMRXupRyc2qtOn95r86w/uK6TuerU1L64E2P5+tYLBWT+39Ai
diUIenjURThFEn8Srvw8v/iLEMaKwiWNkOfWQH96166gzddOI8PT5cJy5an2c90T
DgzegVo8RPK70bU9KjH7gH79YIwXVmTdIVGAUQIDAQABAoIBAE1J4a/8biR5S3/W
G+03BYQeY8tuyjqw8FqfoeOcf9agwAvqybouSNQjeCk9qOQfxq/UWQQF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sQXh
2aG0hQAe1mU61C9konsl/GTW8umJQ4M4lYEztXXwMf5PlBMGwebM0ZbSGg6jKtZg
WCgJ3eP/FMmyXGL5Jji5+e09eObhUDVle4tdi0On97zBoz85W02rgWFAqZJwiEAP
t+c7jX7uOSBq2/38iGStlrX5yB1at/gJXXiA5CL5OtlR3Okvb0/QH37efO1Nu39m
lFi0ODPAVyXjVypAiLguDxPn6AtDTdk9Iw9B19OD4NrzNRWgSSX5vuxo/VcRcgWk
3gEe9Ca0ZKN20q9XgthAiFFjl1S9ZgdA6Zc=
-----END CERTIFICATE-----
""")
https = alicloud.slb.Listener("https",
    backend_port=80,
    bandwidth=10,
    cookie="testslblistenercookie",
    cookie_timeout=86400,
    frontend_port=443,
    health_check="on",
    health_check_connect_port=20,
    health_check_http_code="http_2xx,http_3xx",
    health_check_interval=5,
    health_check_timeout=8,
    health_check_uri="/cons",
    healthy_threshold=8,
    load_balancer_id=instance.id,
    protocol="https",
    ssl_certificate_id=foo.id,
    sticky_session="on",
    sticky_session_type="insert",
    unhealthy_threshold=8)
example1 = alicloud.slb.DomainExtension("example1",
    domain="www.test.com",
    frontend_port=https.frontend_port,
    load_balancer_id=instance.id,
    server_certificate_id=foo.id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const instance = new alicloud.slb.LoadBalancer("instance", {
    internet: true,
    internetChargeType: "PayByTraffic",
});
const foo = new alicloud.slb.ServerCertificate("foo", {
    privateKey: `-----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEAyjCheapjf7qDI3R9w/Gj0XFDgNLPK2aWIRvM25BdY/IB2KAf
xQ7zOxu3X1bMo2zMCzsSrwIVrxx0qRM/7e4AfkHcKwDIjCcBprQp164dhFol4GpT
HtcuGv0+Ue6vpuE9cxQE3/pG5x1n5EhheFu2+lAaGh/vUrUPeQp6szX/9qfzn+/k
tF8wsRV8PBiFc2ZNMRXupRyc2qtOn95r86w/uK6TuerU1L64E2P5+tYLBWT+39Ai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OEUSfxKu/Dy/+IsQxorCJY2Q59ZAf3rXrqDN104jw9PlwnLl
qfZz3RMODN6BWjxE8rvRtT0qMfuAfv1gjBdWZN0hUYBRAgMBAAEwDQYJKoZIhvcN
AQELBQADggEBAABzo82TxGp5poVkd5pLWj5ACgcBv8Cs6oH9D+4Jz9BmyuBUsQXh
2aG0hQAe1mU61C9konsl/GTW8umJQ4M4lYEztXXwMf5PlBMGwebM0ZbSGg6jKtZg
WCgJ3eP/FMmyXGL5Jji5+e09eObhUDVle4tdi0On97zBoz85W02rgWFAqZJwiEAP
t+c7jX7uOSBq2/38iGStlrX5yB1at/gJXXiA5CL5OtlR3Okvb0/QH37efO1Nu39m
lFi0ODPAVyXjVypAiLguDxPn6AtDTdk9Iw9B19OD4NrzNRWgSSX5vuxo/VcRcgWk
3gEe9Ca0ZKN20q9XgthAiFFjl1S9ZgdA6Zc=
-----END CERTIFICATE-----`,
});
const https = new alicloud.slb.Listener("https", {
    backendPort: 80,
    bandwidth: 10,
    cookie: "testslblistenercookie",
    cookieTimeout: 86400,
    frontendPort: 443,
    healthCheck: "on",
    healthCheckConnectPort: 20,
    healthCheckHttpCode: "http_2xx,http_3xx",
    healthCheckInterval: 5,
    healthCheckTimeout: 8,
    healthCheckUri: "/cons",
    healthyThreshold: 8,
    loadBalancerId: instance.id,
    protocol: "https",
    sslCertificateId: foo.id,
    stickySession: "on",
    stickySessionType: "insert",
    unhealthyThreshold: 8,
});
const example1 = new alicloud.slb.DomainExtension("example1", {
    domain: "www.test.com",
    frontendPort: https.frontendPort,
    loadBalancerId: instance.id,
    serverCertificateId: foo.id,
});

Create a DomainExtension Resource

def DomainExtension(resource_name, opts=None, delete_protection_validation=None, domain=None, frontend_port=None, load_balancer_id=None, server_certificate_id=None, __props__=None);
name string
The unique name of the resource.
args DomainExtensionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DomainExtensionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DomainExtensionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

DomainExtension Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The DomainExtension resource accepts the following input properties:

Domain string

The domain name,

FrontendPort int

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

LoadBalancerId string

The ID of the SLB instance.

ServerCertificateId string

The ID of the certificate used by the domain name.

DeleteProtectionValidation bool

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

Domain string

The domain name,

FrontendPort int

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

LoadBalancerId string

The ID of the SLB instance.

ServerCertificateId string

The ID of the certificate used by the domain name.

DeleteProtectionValidation bool

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

domain string

The domain name,

frontendPort number

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

loadBalancerId string

The ID of the SLB instance.

serverCertificateId string

The ID of the certificate used by the domain name.

deleteProtectionValidation boolean

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

domain str

The domain name,

frontend_port float

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

load_balancer_id str

The ID of the SLB instance.

server_certificate_id str

The ID of the certificate used by the domain name.

delete_protection_validation bool

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

Outputs

All input properties are implicitly available as output properties. Additionally, the DomainExtension resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing DomainExtension Resource

Get an existing DomainExtension resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DomainExtensionState, opts?: CustomResourceOptions): DomainExtension
static get(resource_name, id, opts=None, delete_protection_validation=None, domain=None, frontend_port=None, load_balancer_id=None, server_certificate_id=None, __props__=None);
func GetDomainExtension(ctx *Context, name string, id IDInput, state *DomainExtensionState, opts ...ResourceOption) (*DomainExtension, error)
public static DomainExtension Get(string name, Input<string> id, DomainExtensionState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

DeleteProtectionValidation bool

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

Domain string

The domain name,

FrontendPort int

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

LoadBalancerId string

The ID of the SLB instance.

ServerCertificateId string

The ID of the certificate used by the domain name.

DeleteProtectionValidation bool

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

Domain string

The domain name,

FrontendPort int

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

LoadBalancerId string

The ID of the SLB instance.

ServerCertificateId string

The ID of the certificate used by the domain name.

deleteProtectionValidation boolean

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

domain string

The domain name,

frontendPort number

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

loadBalancerId string

The ID of the SLB instance.

serverCertificateId string

The ID of the certificate used by the domain name.

delete_protection_validation bool

Checking DeleteProtection of SLB instance before deleting. If true, this resource will not be deleted when its SLB instance enabled DeleteProtection. Default to false.

domain str

The domain name,

frontend_port float

The frontend port used by the HTTPS listener of the SLB instance. Valid values: 1–65535.

load_balancer_id str

The ID of the SLB instance.

server_certificate_id str

The ID of the certificate used by the domain name.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.