ALIYUN::CLOUDFW::AllFwSwitch类型用于开启所有防火墙开关。
{ "Type": "ALIYUN::CLOUDFW::AllFwSwitch", "Properties": { "InstanceId": String } }
属性名称
类型
必须
允许更新
描述
约束
InstanceId
String
否
云防火墙ID。
无
Fn::GetAtt
YAML格式
YAML
ROSTemplateFormatVersion: '2015-09-01' Parameters: InstanceId: Description: en: The ID of the cloud firewall instance. Required: false Type: String Resources: AllFwSwitch: Properties: InstanceId: Ref: InstanceId Type: ALIYUN::CLOUDFW::AllFwSwitch
JSON格式
JSON
{ "ROSTemplateFormatVersion": "2015-09-01", "Parameters": { "InstanceId": { "Type": "String", "Description": { "en": "The ID of the cloud firewall instance." }, "Required": false } }, "Resources": { "AllFwSwitch": { "Type": "ALIYUN::CLOUDFW::AllFwSwitch", "Properties": { "InstanceId": { "Ref": "InstanceId" } } } } }