ALIYUN::WAF::Instance digunakan untuk membuat instance Web Application Firewall (WAF) 2.0.
Hanya wilayah Singapura (Singapura) yang didukung. ID wilayahnya adalah ap-southeast-1.
Sintaksis
{
"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
Properti | Tipe | Diperlukan | Dapat Diedit | Deskripsi | Kendala |
BigScreen | String | Ya | Tidak | Menentukan apakah layanan visualisasi data diaktifkan. | Nilai valid:
|
PrefessionalService | String | Ya | Tidak | Menentukan apakah layanan ahli diaktifkan. Catatan Layanan ahli memungkinkan Anda berkonsultasi dengan para ahli tentang konfigurasi produk, optimasi kebijakan, dan pemantauan rutin melalui grup DingTalk. | Nilai valid:
|
ExtDomainPackage | String | Ya | Tidak | Jumlah paket domain tambahan. | Nilai valid: 0 hingga 1000. |
LogTime | String | Ya | Tidak | Durasi penyimpanan log. | Nilai valid:
Satuan: hari. |
RenewalStatus | String | Tidak | Tidak | Status perpanjangan otomatis dari instance. | Nilai default: ManualRenewal. Nilai valid:
|
RenewPeriod | String | Tidak | Tidak | Periode perpanjangan otomatis untuk instance yang dibuat. | Parameter ini diperlukan ketika parameter RenewalStatus disetel ke AutoRenewal. Satuan: bulan. |
Period | String | Tidak | Tidak | Periode langganan. | Satuan: bulan. |
ExclusiveIpPackage | String | Ya | Tidak | Jumlah paket alamat IP eksklusif. | Nilai valid: 0 hingga 100. |
LogStorage | String | Ya | Tidak | Kapasitas penyimpanan log. | Nilai valid:
Satuan: TiB. |
SubscriptionType | String | Ya | Tidak | Metode penagihan. |
Setel nilainya menjadi Subscription. |
ExtBandwidth | String | Ya | Tidak | Traffic tambahan. | Nilai valid: 0 hingga 20000. Satuan: Mbit/s. |
WafLog | String | Ya | Tidak | Menentukan apakah Log Service diaktifkan. | Nilai valid:
|
PackageCode | String | Ya | Tidak | Langganan WAF. | Nilai valid:
|
Parameter respons
Fn::GetAtt
SubscriptionType: Metode penagihan instance.
InstanceId: ID instance WAF.
EndDate: Waktu kedaluwarsa instance.
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": "Tipe langganan dari 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": "Tipe langganan dari instance",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"SubscriptionType"
]
}
},
"Trial": {
"Description": "Versi percobaan",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"Trial"
]
}
},
"InstanceId": {
"Description": "ID Instance",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"InstanceId"
]
}
},
"InDebt": {
"Description": "Instance terlambat pembayaran",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"InDebt"
]
}
},
"RemainDay": {
"Description": "Jumlah hari tersedia untuk versi percobaan WAF",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"RemainDay"
]
}
},
"EndDate": {
"Description": "Tanggal jatuh tempo dari 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: Tipe langganan dari 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: Tipe langganan dari instance
Value:
'Fn::GetAtt':
- WAFInstance
- SubscriptionType
Trial:
Description: Versi percobaan
Value:
'Fn::GetAtt':
- WAFInstance
- Trial
InstanceId:
Description: ID Instance
Value:
'Fn::GetAtt':
- WAFInstance
- InstanceId
InDebt:
Description: Instance terlambat pembayaran
Value:
'Fn::GetAtt':
- WAFInstance
- InDebt
RemainDay:
Description: Jumlah hari tersedia untuk versi percobaan WAF
Value:
'Fn::GetAtt':
- WAFInstance
- RemainDay
EndDate:
Description: Tanggal jatuh tempo dari instance
Value:
'Fn::GetAtt':
- WAFInstance
- EndDate