All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::ALB::AdditionalCertificateAssociation

Last Updated:Jun 04, 2026

ALIYUN::ALB::AdditionalCertificateAssociation adds additional certificates to a listener.

Syntax

{
  "Type": "ALIYUN::ALB::AdditionalCertificateAssociation",
  "Properties": {
    "Certificates": List,
    "ListenerId": String
  }
}

Properties

Property

Type

Required

Editable

Description

Constraint

Certificates

List

Yes

Yes

The additional certificates to add to the listener.

Up to 25 certificates per listener. Certificates property.

ListenerId

String

Yes

No

The listener ID.

Only HTTPS and QUIC listeners are supported.

Certificates syntax

"Certificates": [
  {
    "CertificateId": String
  }
]

Certificates property

Property

Type

Required

Editable

Description

Constraint

CertificateId

String

Yes

No

The certificate ID.

Only server certificates are supported.

Return values

Fn::GetAtt

ListenerId: the listener ID.

Examples

YAML format

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Certificates:
    Type: Json
    Description: The list of the additional certificates.
    MinLength: 1
    MaxLength: 25
    Default:
      - '***'
  ListenerId:
    Type: String
    Description: The ID of the listener.
    Default: '***'
Resources:
  AdditionalCertificateAssociation:
    Type: ALIYUN::ALB::AdditionalCertificateAssociation
    Properties:
      Certificates:
        Ref: Certificates
      ListenerId:
        Ref: ListenerId
Outputs:
  ListenerId:
    Description: The ID of the listener.
    Value:
      Fn::GetAtt:
        - AdditionalCertificateAssociation
        - ListenerId

JSON format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Certificates": {
      "Type": "Json",
      "Description": "The list of the additional certificates.",
      "MinLength": 1,
      "MaxLength": 25,
      "Default": ["***"]
    },
    "ListenerId": {
      "Type": "String",
      "Description": "The ID of the listener.",
      "Default": "***"
    }
  },
  "Resources": {
    "AdditionalCertificateAssociation": {
      "Type": "ALIYUN::ALB::AdditionalCertificateAssociation",
      "Properties": {
        "Certificates": {
          "Ref": "Certificates"
        },
        "ListenerId": {
          "Ref": "ListenerId"
        }
      }
    }
  },
  "Outputs": {
    "ListenerId": {
      "Description": "The ID of the listener.",
      "Value": {
        "Fn::GetAtt": [
          "AdditionalCertificateAssociation",
          "ListenerId"
        ]
      }
    }
  }
}