ALIYUN::CLOUDFW::AllFwSwitch类型用于开启所有防火墙开关。
语法
{
  "Type": "ALIYUN::CLOUDFW::AllFwSwitch",
  "Properties": {
    "InstanceId": String
  }
}属性
属性名称  | 类型  | 必须  | 允许更新  | 描述  | 约束  | 
InstanceId  | String  | 否  | 否  | 云防火墙ID。  | 无  | 
返回值
Fn::GetAtt
无
示例
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格式
{
  "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"
        }
      }
    }
  }
}
                        该文章对您有帮助吗?