O recurso ALIYUN::ALB::AdditionalCertificateAssociation adiciona certificados adicionais a um listener.
Sintaxe
{
"Type": "ALIYUN::ALB::AdditionalCertificateAssociation",
"Properties": {
"Certificates": List,
"ListenerId": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
Certificates |
List |
Sim |
Sim |
Certificados adicionais a serem associados ao listener. |
Máximo de 25 certificados por listener. Consulte a propriedade Certificates. |
|
ListenerId |
String |
Sim |
Não |
ID do listener. |
Compatível apenas com listeners HTTPS e QUIC. |
Sintaxe de Certificates
"Certificates": [
{
"CertificateId": String
}
]
Propriedade Certificates
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
CertificateId |
String |
Sim |
Não |
ID do certificado. |
Compatível apenas com certificados de servidor. |
Valores de retorno
Fn::GetAtt
ListenerId: o ID do listener.
Exemplos
Formato YAML
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
Formato JSON
{
"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"
]
}
}
}
}