ALIYUN::PAIPlugin::Signature类型用于注册签名。
语法
{
  "Type": "ALIYUN::PAIPlugin::Signature",
  "Properties": {
    "Name": String,
    "Description": String
  }
}属性
| 属性名称 | 类型 | 必须 | 允许更新 | 描述 | 约束 | 
| Name | String | 是 | 否 | 签名名称。 | 无 | 
| Description | String | 否 | 否 | 申请说明。 | 无 | 
返回值
Fn::GetAtt
- CreatedTime:创建时间 (UTC+8)。 
- Description:申请说明。 
- Id:签名 ID。 
- Reason:审阅建议。 
- Name:签名名称。 
示例
ROSTemplateFormatVersion: '2015-09-01'
Parameters:
  Name:
    Type: String
    Description:
      en: The name of the Signature.
    Required: true
Resources:
  ExtensionResource:
    Type: ALIYUN::PAIPlugin::Signature
    Properties:
      Name:
        Ref: Name
Outputs:
  CreatedTime:
    Description: The creation time of the Signature.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - CreatedTime
  Description:
    Description: Application instructions.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Description
  Id:
    Description: The ID of the Signature.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Id
  Reason:
    Description: Review recommendations.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Reason
  Name:
    Description: The name of the Signature.
    Value:
      Fn::GetAtt:
        - ExtensionResource
        - Name{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "Name": {
      "Type": "String",
      "Description": {
        "en": "The name of the Signature."
      },
      "Required": true
    }
  },
  "Resources": {
    "ExtensionResource": {
      "Type": "ALIYUN::PAIPlugin::Signature",
      "Properties": {
        "Name": {
          "Ref": "Name"
        }
      }
    }
  },
  "Outputs": {
    "CreatedTime": {
      "Description": "The creation time of the Signature.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "CreatedTime"
        ]
      }
    },
    "Description": {
      "Description": "Application instructions.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Description"
        ]
      }
    },
    "Id": {
      "Description": "The ID of the Signature.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Id"
        ]
      }
    },
    "Reason": {
      "Description": "Review recommendations.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Reason"
        ]
      }
    },
    "Name": {
      "Description": "The name of the Signature.",
      "Value": {
        "Fn::GetAtt": [
          "ExtensionResource",
          "Name"
        ]
      }
    }
  }
}
                        该文章对您有帮助吗?