Cria uma atividade operacional.
Sintaxe
{
"Type": "ALIYUN::PAIPlugin::Campaign",
"Properties": {
"Name": String,
"Remark": String
}
}
Propriedades
|
Propriedade |
Tipo |
Obrigatória |
Editável |
Descrição |
Restrição |
|
Name |
String |
Sim |
Sim |
Nome da atividade operacional. |
Nenhuma. |
|
Remark |
String |
Não |
Sim |
Observações da atividade operacional. |
Nenhuma. |
Valores de retorno
Fn::GetAtt
CampaignId: ID da atividade operacional.
Exemplos
Formato YAML
ROSTemplateFormatVersion: '2015-09-01'
Parameters: {}
Resources:
Campaign:
Type: ALIYUN::PAIPlugin::Campaign
Properties:
Name: VIP customer marketing
Outputs:
CampaignId:
Description: The Campaign ID created this time.
Value:
Fn::GetAtt:
- Campaign
- CampaignId
Formato JSON
{
"ROSTemplateFormatVersion": "2015-09-01",
"Parameters": {
},
"Resources": {
"Campaign": {
"Type": "ALIYUN::PAIPlugin::Campaign",
"Properties": {
"Name": "VIP customer marketing"
}
}
},
"Outputs": {
"CampaignId": {
"Description": "The Campaign ID created this time.",
"Value": {
"Fn::GetAtt": [
"Campaign",
"CampaignId"
]
}
}
}
}