ALIYUN::VPC::SslVpnClientCert is used to call the CreateSslVpnClientCert operation to create an SSL-VPN client certificate.

Syntax

{
  "Type": "ALIYUN::VPC::SslVpnClientCert",
  "Properties": {
    "Name": String,
    "SslVpnServerId": String
  }
}

Properties

Name Type Required Editable Description Validity
Name String No Yes The name of the client certificate. The name must be 2 to 128 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). It must start with a letter and cannot start with http:// or https://. None.
SslVpnServerId String Yes No The ID of the SSL-VPN server. None.

Response parameters

Fn::GetAtt

  • SslVpnClientCertId: the ID of the client certificate.

Examples

{
  "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"
        ]
      }
    }
  }
}