All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::SLB::CaCertificate

更新時間:Jul 05, 2026

The ALIYUN::SLB::CaCertificate resource type uploads a CA certificate.

Syntax

{
  "Type": "ALIYUN::SLB::CaCertificate",
  "Properties": {
    "CaCertificate": String,
    "CaCertificateName": String,
    "ResourceGroupId": String,
    "Tags": List
  }
}

Properties

Parameter

Type

Required

Update allowed

Description

Constraint

CaCertificate

String

Yes

No

The content of the CA certificate.

None

CaCertificateName

String

No

Yes

The name of the CA certificate.

None

ResourceGroupId

String

No

Yes

The ID of the resource group.

None

Tags

List

No

Yes

The tags of the CA certificate.

The maximum number of tags is 20. For more information, see Tags properties.

Tags syntax

"Tags": [
  {
    "Value": String,
    "Key": String
  }
]

Tags properties

Parameter

Type

Required

Update allowed

Description

Constraint

Key

String

Yes

No

The tag key.

None

Value

String

No

No

The tag value.

None

Return values

Fn::GetAtt

  • Fingerprint: The fingerprint of the CA certificate.

  • CreatedTimestamp: The CA certificate's creation timestamp.

  • ExpiredTimestamp: The CA certificate's expiration timestamp.

  • ResourceGroupId: The ID of the resource group.

  • ExpiredTime: The CA certificate's expiration time.

  • CreateTime: The CA certificate's creation time.

  • CaCertificateName: The CA certificate's name.

  • Tags: The CA certificate's tags.

  • CaCertificateId: The CA certificate's ID.

  • CommonName: The common name of the CA certificate.

Examples

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  CaCertificate:
    Type: String
    Description:
      en: The content of the CA certificate.
    Required: true
  ResourceGroupId:
    Type: String
    Description:
      en: The ID of the resource group.
    AssociationProperty: ALIYUN::ECS::ResourceGroup::ResourceGroupId
    Default: Null
    Required: false
  CaCertificateName:
    Type: String
    Description:
      en: The name of the CA certificate.
    Default: Null
    Required: false
  Tags:
    Description:
      en: The tags of the CA certificate.
    Required: false
    Default: Null
    Type: Json
    MaxLength: 20
    AssociationProperty: List[Parameters]
    AssociationPropertyMetadata:
      Parameters:
        Key:
          Type: String
          Required: true
        Value:
          Type: String
          Default: Null
          Required: false
      ListMetadata:
        Order:
          - Key
          - Value
Resources:
  ExtensionResource:
    Type: ALIYUN::SLB::CaCertificate
    Properties:
      CaCertificate:
        Ref: CaCertificate
      ResourceGroupId:
        Ref: ResourceGroupId
      CaCertificateName:
        Ref: CaCertificateName
      Tags:
        Ref: Tags
Outputs:
  Tags:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Tags
    Description: The tags of the CA certificate.
  CommonName:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CommonName
    Description: The common name of the CA certificate.
  CreatedTimestamp:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CreatedTimestamp
    Description: The creation timestamp of the CA certificate.
  ResourceGroupId:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ResourceGroupId
    Description: The ID of the resource group.
  ExpiredTime:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ExpiredTime
    Description: The expiration time of the CA certificate.
  CaCertificateName:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CaCertificateName
    Description: The name of the CA certificate.
  Fingerprint:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Fingerprint
    Description: The fingerprint of the CA certificate.
  CaCertificateId:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CaCertificateId
    Description: The ID of the CA certificate.
  CreateTime:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CreateTime
    Description: The creation time of the CA certificate.
  ExpiredTimestamp:
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - ExpiredTimestamp
    Description: The expiration timestamp of the CA certificate.
{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "CaCertificate": {
      "Type": "String",
      "Description": {
        "en": "The content of the CA certificate."
      },
      "Required": true
    },
    "ResourceGroupId": {
      "Type": "String",
      "Description": {
        "en": "The ID of the resource group."
      },
      "AssociationProperty": "ALIYUN::ECS::ResourceGroup::ResourceGroupId",
      "Default": null,
      "Required": false
    },
    "CaCertificateName": {
      "Type": "String",
      "Description": {
        "en": "The name of the CA certificate."
      },
      "Default": null,
      "Required": false
    },
    "Tags": {
      "Description": {
        "en": "The tags of the CA certificate."
      },
      "Required": false,
      "Default": null,
      "Type": "Json",
      "MaxLength": 20,
      "AssociationProperty": "List[Parameters]",
      "AssociationPropertyMetadata": {
        "Parameters": {
          "Key": {
            "Type": "String",
            "Required": true
          },
          "Value": {
            "Type": "String",
            "Default": null,
            "Required": false
          }
        },
        "ListMetadata": {
          "Order": [
            "Key",
            "Value"
          ]
        }
      }
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::SLB::CaCertificate",
      "Properties": {
        "CaCertificate": {
          "Ref": "CaCertificate"
        },
        "ResourceGroupId": {
          "Ref": "ResourceGroupId"
        },
        "CaCertificateName": {
          "Ref": "CaCertificateName"
        },
        "Tags": {
          "Ref": "Tags"
        }
      }
    }
  },
  "Outputs": {
    "Tags": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Tags"
        ]
      },
      "Description": "The tags of the CA certificate."
    },
    "CommonName": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CommonName"
        ]
      },
      "Description": "The common name of the CA certificate."
    },
    "CreatedTimestamp": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CreatedTimestamp"
        ]
      },
      "Description": "The creation timestamp of the CA certificate."
    },
    "ResourceGroupId": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ResourceGroupId"
        ]
      },
      "Description": "The ID of the resource group."
    },
    "ExpiredTime": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ExpiredTime"
        ]
      },
      "Description": "The expiration time of the CA certificate."
    },
    "CaCertificateName": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CaCertificateName"
        ]
      },
      "Description": "The name of the CA certificate."
    },
    "Fingerprint": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Fingerprint"
        ]
      },
      "Description": "The fingerprint of the CA certificate."
    },
    "CaCertificateId": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CaCertificateId"
        ]
      },
      "Description": "The ID of the CA certificate."
    },
    "CreateTime": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CreateTime"
        ]
      },
      "Description": "The creation time of the CA certificate."
    },
    "ExpiredTimestamp": {
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "ExpiredTimestamp"
        ]
      },
      "Description": "The expiration timestamp of the CA certificate."
    }
  }
}