ALIYUN::CLOUDFW::AllFwSwitch

更新时间:2024-07-18 05:25:46

ALIYUN::CLOUDFW::AllFwSwitch类型用于开启所有防火墙开关。

语法

{
  "Type": "ALIYUN::CLOUDFW::AllFwSwitch",
  "Properties": {
    "InstanceId": String
  }
}

属性

属性名称

类型

必须

允许更新

描述

约束

属性名称

类型

必须

允许更新

描述

约束

InstanceId

String

云防火墙ID。

返回值

Fn::GetAtt

示例

YAML格式
JSON格式
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
                        
{
  "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"
        }
      }
    }
  }
}
                        
  • 本页导读 (1)
  • 语法
  • 属性
  • 返回值
  • 示例
AI助理

点击开启售前

在线咨询服务

你好,我是AI助理

可以解答问题、推荐解决方案等