All Products
Search
Document Center

Resource Orchestration Service:ALIYUN::WAF::Instance

Last Updated:Jun 17, 2026

Membuat instans Web Application Firewall (WAF) 2.0.

Catatan

Resource ini didukung di wilayah Asia-Pacific SE 1 (Singapura) (ap-southeast-1).

Sintaks

{
  "Type": "ALIYUN::WAF::Instance",
  "Properties": {
    "BigScreen": String,
    "PrefessionalService": String,
    "ExtDomainPackage": String,
    "LogTime": String,
    "RenewalStatus": String,
    "RenewPeriod": String,
    "Period": String,
    "ExclusiveIpPackage": String,
    "LogStorage": String,
    "SubscriptionType": String,
    "ExtBandwidth": String,
    "WafLog": String,
    "PackageCode": String
  }
}

Properti

Nama properti

Type

Wajib

Pembaruan diizinkan

Deskripsi

Batasan

BigScreen

String

Ya

Tidak

Layanan visualisasi data.

Nilai yang valid:

  • 0: Layanan dinonaktifkan.

  • 1: Layanan layar tunggal.

  • all: Layanan multi-layar.

PrefessionalService

String

Ya

Tidak

Apakah akan menggunakan layanan ahli.

Catatan

Layanan ahli: Memberikan dukungan melalui grup DingTalk untuk konfigurasi produk, optimalisasi kebijakan, dan pemantauan harian.

Nilai yang valid:

  • false: Layanan tidak digunakan.

  • true: Layanan digunakan.

ExtDomainPackage

String

Ya

Tidak

Jumlah paket domain tambahan.

Nilai yang valid: 0 hingga 1000.

LogTime

String

Ya

Tidak

Durasi penyimpanan log.

Nilai yang valid:

  • 180

  • 360

Unit: hari.

RenewalStatus

String

Tidak

Tidak

Status perpanjangan otomatis.

Nilai yang valid:

  • AutoRenewal: Perpanjangan otomatis diaktifkan.

  • ManualRenewal (default): Perpanjangan manual diaktifkan.

RenewPeriod

String

Tidak

Tidak

Periode perpanjangan otomatis.

Parameter ini wajib ditentukan jika Anda mengatur RenewalStatus ke AutoRenewal.

Unit: bulan.

Period

String

Tidak

Tidak

Periode langganan.

Unit: bulan.

ExclusiveIpPackage

String

Ya

Tidak

Jumlah paket IP eksklusif untuk nama domain.

Nilai yang valid: 0 hingga 100.

LogStorage

String

Ya

Tidak

Kapasitas penyimpanan log.

Nilai yang valid:

  • 3

  • 5

  • 10

  • 20

  • 50

  • 100

Unit: TiB.

SubscriptionType

String

Ya

Tidak

Metode penagihan.

Nilai yang valid:

Subscription: Diperlukan pembayaran di muka.

ExtBandwidth

String

Ya

Tidak

Paket bandwidth tambahan.

Nilai yang valid: 0 hingga 20.000.

Unit: Mbps.

WafLog

String

Ya

Tidak

Apakah akan mengaktifkan Simple Log Service.

Nilai yang valid:

  • true

  • false

PackageCode

String

Ya

Tidak

Edisi WAF.

Nilai yang valid:

  • version_pro_asia: Pro.

  • version_business_asia: Enterprise Edition.

  • version_enterprise_asia: Ultimate.

  • version_exclusive_cluster_asia: Exclusive.

Nilai kembalian

Fn::GetAtt

  • SubscriptionType: Metode penagihan.

  • InstanceId: ID instans WAF.

  • EndDate: Tanggal kedaluwarsa instans.

Contoh

JSON format

{
  "ROSTemplateFormatVersion": "2015-09-01",
  "Parameters": {
    "PrefessionalService": {
      "Type": "String",
      "Description": ""
    },
    "BigScreen": {
      "Type": "String",
      "Description": ""
    },
    "ExtDomainPackage": {
      "Type": "String",
      "Description": ""
    },
    "LogTime": {
      "Type": "String",
      "Description": ""
    },
    "RenewalStatus": {
      "Type": "String",
      "Description": ""
    },
    "RenewPeriod": {
      "Type": "String",
      "Description": ""
    },
    "Period": {
      "Type": "String",
      "Description": ""
    },
    "ExclusiveIpPackage": {
      "Type": "String",
      "Description": ""
    },
    "LogStorage": {
      "Type": "String",
      "Description": ""
    },
    "SubscriptionType": {
      "Type": "String",
      "Description": "Subscription type of the instance"
    },
    "ExtBandwidth": {
      "Type": "String",
      "Description": ""
    },
    "WafLog": {
      "Type": "String",
      "Description": ""
    },
    "PackageCode": {
      "Type": "String",
      "Description": ""
    }
  },
  "Resources": {
    "WAFInstance": {
      "Type": "ALIYUN::WAF::Instance",
      "Properties": {
        "PrefessionalService": {
          "Ref": "PrefessionalService"
        },
        "BigScreen": {
          "Ref": "BigScreen"
        },
        "ExtDomainPackage": {
          "Ref": "ExtDomainPackage"
        },
        "LogTime": {
          "Ref": "LogTime"
        },
        "RenewalStatus": {
          "Ref": "RenewalStatus"
        },
        "RenewPeriod": {
          "Ref": "RenewPeriod"
        },
        "Period": {
          "Ref": "Period"
        },
        "ExclusiveIpPackage": {
          "Ref": "ExclusiveIpPackage"
        },
        "LogStorage": {
          "Ref": "LogStorage"
        },
        "SubscriptionType": {
          "Ref": "SubscriptionType"
        },
        "ExtBandwidth": {
          "Ref": "ExtBandwidth"
        },
        "WafLog": {
          "Ref": "WafLog"
        },
        "PackageCode": {
          "Ref": "PackageCode"
        }
      }
    }
  },
  "Outputs": {
    "SubscriptionType": {
      "Description": "Subscription type of the instance",
      "Value": {
        "Fn::GetAtt": [
          "WAFInstance",
          "SubscriptionType"
        ]
      }
    },
    "Trial": {
      "Description": "Trial version",
      "Value": {
        "Fn::GetAtt": [
          "WAFInstance",
          "Trial"
        ]
      }
    },
    "InstanceId": {
      "Description": "Instance ID",
      "Value": {
        "Fn::GetAtt": [
          "WAFInstance",
          "InstanceId"
        ]
      }
    },
    "InDebt": {
      "Description": "Instance is overdue",
      "Value": {
        "Fn::GetAtt": [
          "WAFInstance",
          "InDebt"
        ]
      }
    },
    "RemainDay": {
      "Description": "Number of available days for WAF Trial version",
      "Value": {
        "Fn::GetAtt": [
          "WAFInstance",
          "RemainDay"
        ]
      }
    },
    "EndDate": {
      "Description": "Due date of the instance",
      "Value": {
        "Fn::GetAtt": [
          "WAFInstance",
          "EndDate"
        ]
      }
    }
  }
}

YAML format

ROSTemplateFormatVersion: '2015-09-01'
Parameters:
 PrefessionalService:
  Type: String
  Description: ''
 BigScreen:
  Type: String
  Description: ''
 ExtDomainPackage:
  Type: String
  Description: ''
 LogTime:
  Type: String
  Description: ''
 RenewalStatus:
  Type: String
  Description: ''
 RenewPeriod:
  Type: String
  Description: ''
 Period:
  Type: String
  Description: ''
 ExclusiveIpPackage:
  Type: String
  Description: ''
 LogStorage:
  Type: String
  Description: ''
 SubscriptionType:
  Type: String
  Description: Subscription type of the instance
 ExtBandwidth:
  Type: String
  Description: ''
 WafLog:
  Type: String
  Description: ''
 PackageCode:
  Type: String
  Description: ''
Resources:
 WAFInstance:
  Type: 'ALIYUN::WAF::Instance'
  Properties:
   PrefessionalService:
    Ref: PrefessionalService
   BigScreen:
    Ref: BigScreen
   ExtDomainPackage:
    Ref: ExtDomainPackage
   LogTime:
    Ref: LogTime
   RenewalStatus:
    Ref: RenewalStatus
   RenewPeriod:
    Ref: RenewPeriod
   Period:
    Ref: Period
   ExclusiveIpPackage:
    Ref: ExclusiveIpPackage
   LogStorage:
    Ref: LogStorage
   SubscriptionType:
    Ref: SubscriptionType
   ExtBandwidth:
    Ref: ExtBandwidth
   WafLog:
    Ref: WafLog
   PackageCode:
    Ref: PackageCode
Outputs:
 SubscriptionType:
  Description: Subscription type of the instance
  Value:
   'Fn::GetAtt':
    - WAFInstance
    - SubscriptionType
 Trial:
  Description: Trial version
  Value:
   'Fn::GetAtt':
    - WAFInstance
    - Trial
 InstanceId:
  Description: Instance ID
  Value:
   'Fn::GetAtt':
    - WAFInstance
    - InstanceId
 InDebt:
  Description: Instance is overdue
  Value:
   'Fn::GetAtt':
    - WAFInstance
    - InDebt
 RemainDay:
  Description: Number of available days for WAF Trial version
  Value:
   'Fn::GetAtt':
    - WAFInstance
    - RemainDay
 EndDate:
  Description: Due date of the instance
  Value:
   'Fn::GetAtt':
    - WAFInstance
    - EndDate