Crea un pedido de certificado SSL.
Sintaxis
{
"Type": "ALIYUN::CAS::Order",
"Properties": {
"DomainCnt": Integer,
"DomainType": String,
"Service": String,
"Period": Integer,
"CertType": String,
"CertBrand": String
}
}
Propiedades
|
Propiedad |
Tipo |
Obligatorio |
Editable |
Descripción |
Restricción |
|
CertBrand |
String |
Sí |
No |
Marca del certificado SSL. |
Valores válidos:
|
|
CertType |
String |
Sí |
No |
Tipo de certificado. |
Valores válidos:
|
|
DomainCnt |
Integer |
No |
No |
Número de nombres de dominio vinculados al certificado. |
Valores válidos: de 1 a 500. |
|
DomainType |
String |
No |
No |
Tipo de nombre de dominio. |
Valores válidos:
|
|
Period |
Integer |
No |
No |
Periodo de validez del certificado. |
Unidad: año. Valores válidos: de 1 a 3. |
Valores de retorno
Fn::GetAtt
Ninguna.
Ejemplos
Formato YAML
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
CertType:
Type: String
Description:
en: 'Certificate type. Valid values: DV, OV, EV.'
AllowedValues:
- DV
- OV
- EV
Required: true
CertBrand:
Type: String
Description:
en: 'Certificate brand. Valid values: Rapid, Globalsign, vTrus, Wosign, Digicert, Digicert pro, Geotrust, CFCA.'
AllowedValues:
- Rapid
- Globalsign
- vTrus
- Wosign
- Digicert
- Digicert pro
- Geotrust
- CFCA
Required: true
Resources:
SslOrder:
Type: ALIYUN::CAS::Order
Properties:
CertType:
Ref: CertType
CertBrand:
Ref: CertBrand
Formato JSON
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
"CertType": {
"Type": "String",
"Description": {
"en": "Certificate type. Valid values: DV, OV, EV.\n**Note:** This parameter must be specified along with or without the DomainType and CertBrand parameters."
},
"AllowedValues": [
"DV",
"OV",
"EV"
],
"Required": false
},
"CertBrand": {
"Type": "String",
"Description": {
"en": "Certificate brand. Valid values: Rapid, Globalsign, vTrus, Wosign, Digicert, Digicert pro, Geotrust, CFCA.\n**Note:** This parameter must be specified along with or without the CertType and DomainTyp parameters."
},
"AllowedValues": [
"Rapid",
"Globalsign",
"vTrus",
"Wosign",
"Digicert",
"Digicert pro",
"Geotrust",
"CFCA"
],
"Required": false
}
},
"Resources": {
"SslCertificate": {
"Type": "ALIYUN::CAS::SslCertificate",
"Properties": {
"CertType": {
"Ref": "CertType"
},
"CertBrand": {
"Ref": "CertBrand"
}
}
}
},
"Outputs": {
"CertificateId": {
"Description": "The ID of the certificate issued to you.",
"Value": {
"Fn::GetAtt": [
"SslCertificate",
"CertificateId"
]
}
},
"OrderId": {
"Description": "The ID of the certificate order.",
"Value": {
"Fn::GetAtt": [
"SslCertificate",
"OrderId"
]
}
}
}
}