Membuat instans Web Application Firewall (WAF) 2.0.
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:
|
|
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:
|
|
ExtDomainPackage |
String |
Ya |
Tidak |
Jumlah paket domain tambahan. |
Nilai yang valid: 0 hingga 1000. |
|
LogTime |
String |
Ya |
Tidak |
Durasi penyimpanan log. |
Nilai yang valid:
Unit: hari. |
|
RenewalStatus |
String |
Tidak |
Tidak |
Status perpanjangan otomatis. |
Nilai yang valid:
|
|
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:
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:
|
|
PackageCode |
String |
Ya |
Tidak |
Edisi WAF. |
Nilai yang valid:
|
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