Registra uma assinatura para o PAIPlugin.
Sintaxe
{
"Type": "ALIYUN::PAIPlugin::Signature",
"Properties": {
"Name": String,
"Description": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
Name |
String |
Sim |
Não |
Nome da assinatura. |
Nenhuma. |
|
Description |
String |
Não |
Não |
Descrição do aplicativo enviado. |
Nenhuma. |
Valores de retorno
Fn::GetAtt
CreatedTime: data e hora de criação, exibidas no fuso horário UTC+8.
Description: descrição do aplicativo enviado.
Id: ID da assinatura.
Reason: sugestão da revisão.
Name: nome da assinatura.
Exemplos
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"
]
}
}
}
}