All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::SLB::DomainExtension

Last Updated:Aug 20, 2026

The ALIYUN::SLB::DomainExtension resource creates an additional domain name.

Syntax

{
  "Type": "ALIYUN::SLB::DomainExtension",
  "Properties": {
    "Domain": String,
    "ListenerPort": Integer,
    "ServerCertificateId": String,
    "LoadBalancerId": String
  }
}

Properties

Property nameTypeRequiredUpdate allowedDescriptionConstraints
DomainStringYesNoThe domain name.None.
ListenerPortIntegerYesNoThe frontend port of the HTTPS listener for the Server Load Balancer (SLB) instance.Valid values: 1 to 65535.
ServerCertificateIdStringYesYesThe ID of the certificate that corresponds to the domain name.None.
LoadBalancerIdStringYesNoThe ID of the SLB instance.None.

Return values

Fn::GetAtt

  • DomainExtensionId: The ID of the additional domain name.
  • ListenerPort: The frontend port used by the SLB instance.

Example

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Resources": {
    "DomainExtension": {
      "Type": "ALIYUN::SLB::DomainExtension",
      "Properties": {
        "Domain": "*.example.com",
        "ListenerPort": "443",
        "ServerCertificateId": "123157908552****_166f8204689_1714763408_70998****",
        "LoadBalancerId": "lb-bp1o94dp5i6earr9g****"
      }
    }
  },
  "Outputs": {
    "DomainExtensionId": {
      "Value": {
        "Fn::GetAtt": [
          "DomainExtension",
          "DomainExtensionId"
        ]
      }
    },
    "ListenerPort": {
      "Value": {
        "Fn::GetAtt": [
          "DomainExtension",
          "ListenerPort"
        ]
      }
    }
  }
}