O recurso ALIYUN::VPC::SslVpnClientCert chama a operação CreateSslVpnClientCert para crie um certificado de cliente SSL-VPN.
Sintaxe
{
"Type": "ALIYUN::VPC::SslVpnClientCert",
"Properties": {
"Name": String,
"SslVpnServerId": String
}
}
Propriedades
|
Nome |
Tipo |
Obrigatório |
Editável |
Descrição |
Validade |
|
Name |
String |
Não |
Sim |
Nome do certificado de cliente. Deve ter de 2 a 128 caracteres e pode conter letras, dígitos, pontos (.), sublinhados (_) e hifens (-). Deve começar com uma letra e não pode iniciar com http:// ou https://. |
Nenhuma. |
|
SslVpnServerId |
String |
Sim |
Não |
ID do servidor SSL-VPN. |
Nenhuma. |
Parâmetros de resposta
Fn::GetAtt
SslVpnClientCertId: o ID do certificado de cliente.
Exemplos
{
"ROSTemplateFormatVersion": "2015-09-01",
"Resources": {
"SslVpnClientCert": {
"Type": "ALIYUN::VPC::SslVpnClientCert",
"Properties": {
"Name": {
"Ref": "Name"
},
"SslVpnServerId": {
"Ref": "SslVpnServerId"
}
}
}
},
"Parameters": {
"Name": {
"MinLength": 2,
"Type": "String",
"Description": "The name of the client certificate.\nThe length is 2-128 characters and must start with a letter or Chinese. It can contain numbers, periods (.), underscores (_), and dashes (-). But it can't start with http:// or https://.",
"MaxLength": 128
},
"SslVpnServerId": {
"Type": "String",
"Description": "ID of the SSL-VPN server."
}
},
"Outputs": {
"SslVpnClientCertId": {
"Description": "The ID of the client certificate.",
"Value": {
"Fn::GetAtt": [
"SslVpnClientCert",
"SslVpnClientCertId"
]
}
}
}
}