ALIYUN::PAIPlugin::Campaign is used to create an operational activity.
Syntax
{
"Type": "ALIYUN::PAIPlugin::Campaign",
"Properties": {
"Name": String,
"Remark": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
Name | String | Yes | Yes | The name of the operational activity. | None. |
Remark | String | No | Yes | The remarks. | None. |
Return values
Fn::GetAtt
CampaignId: the ID of the operational activity.
Examples
YAML
format
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
JSON
format
{
"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"
]
}
}
}
}