Web アプリケーションファイアウォール (WAF) 2.0 インスタンスを作成します。
このリソースは、アジア太平洋 SE 1 (シンガポール) リージョン (ap-southeast-1) でサポートされています。
構文
{
"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
}
}
プロパティ
|
プロパティ名 |
タイプ |
必須 |
更新を許可 |
説明 |
制約 |
|
BigScreen |
String |
はい |
いいえ |
データ可視化サービス。 |
有効な値:
|
|
PrefessionalService |
String |
はい |
いいえ |
エキスパートサービスを使用するかどうか。 説明
エキスパートサービス:DingTalk グループを通じて、製品設定、ポリシーの最適化、および日々のモニタリングをサポートします。 |
有効な値:
|
|
ExtDomainPackage |
String |
はい |
いいえ |
追加ドメインパッケージの数。 |
有効な値:0~1000。 |
|
LogTime |
String |
はい |
いいえ |
ログの保存期間。 |
有効な値:
単位:日。 |
|
RenewalStatus |
String |
いいえ |
いいえ |
自動更新のステータス。 |
有効な値:
|
|
RenewPeriod |
String |
いいえ |
いいえ |
自動更新期間。 |
RenewalStatus を AutoRenewal に設定する場合、このパラメーターは必須です。 単位:月。 |
|
Period |
String |
いいえ |
いいえ |
サブスクリプション期間。 |
単位:月。 |
|
ExclusiveIpPackage |
String |
はい |
いいえ |
ドメイン名用の専用 IP パッケージの数。 |
有効な値:0~100。 |
|
LogStorage |
String |
はい |
いいえ |
ログストレージ容量。 |
有効な値:
単位:TiB。 |
|
SubscriptionType |
String |
はい |
いいえ |
課金方法。 |
有効な値: Subscription:前払いが必要です。 |
|
ExtBandwidth |
String |
はい |
いいえ |
追加帯域幅パッケージのサイズ。 |
有効な値:0~20,000。 単位:Mbps。 |
|
WafLog |
String |
はい |
いいえ |
Simple Log Service を有効にするかどうか。 |
有効な値:
|
|
PackageCode |
String |
はい |
いいえ |
WAF エディション。 |
有効な値:
|
戻り値
Fn::GetAtt
-
SubscriptionType:課金方法。
-
InstanceId:WAF インスタンス ID。
-
EndDate:インスタンスの有効期限。
例
JSON 形式
{
"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": "インスタンスのサブスクリプションタイプ"
},
"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": "インスタンスのサブスクリプションタイプ",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"SubscriptionType"
]
}
},
"Trial": {
"Description": "トライアル版",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"Trial"
]
}
},
"InstanceId": {
"Description": "インスタンス ID",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"InstanceId"
]
}
},
"InDebt": {
"Description": "インスタンスが期限切れかどうか。",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"InDebt"
]
}
},
"RemainDay": {
"Description": "WAFトライアル版の残り日数。",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"RemainDay"
]
}
},
"EndDate": {
"Description": "インスタンスの有効期限",
"Value": {
"Fn::GetAtt": [
"WAFInstance",
"EndDate"
]
}
}
}
}
YAML 形式
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: インスタンスのサブスクリプションタイプ
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: インスタンスのサブスクリプションタイプ
Value:
'Fn::GetAtt':
- WAFInstance
- SubscriptionType
Trial:
Description: トライアル版
Value:
'Fn::GetAtt':
- WAFInstance
- Trial
InstanceId:
Description: インスタンス ID
Value:
'Fn::GetAtt':
- WAFInstance
- InstanceId
InDebt:
Description: インスタンスが期限切れかどうか。
Value:
'Fn::GetAtt':
- WAFInstance
- InDebt
RemainDay:
Description: WAFトライアル版の残り日数。
Value:
'Fn::GetAtt':
- WAFInstance
- RemainDay
EndDate:
Description: インスタンスの有効期限
Value:
'Fn::GetAtt':
- WAFInstance
- EndDate