Crea una instancia de Web Application Firewall (WAF) 2.0.
Este recurso es compatible con la región Asia-Pacific SE 1 (Singapore) (ap-southeast-1).
Sintaxis
{
"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
}
}
Propiedades
|
Nombre de la propiedad |
Tipo |
Obligatorio |
Actualización permitida |
Descripción |
Restricciones |
|
BigScreen |
String |
Sí |
No |
El servicio de visualización de datos. |
Valores válidos:
|
|
PrefessionalService |
String |
Sí |
No |
Indica si se utiliza el servicio experto. Nota
Servicio experto: Proporciona asistencia a través de un grupo de DingTalk para la configuración del producto, la optimización de directivas y el monitoreo diario. |
Valores válidos:
|
|
ExtDomainPackage |
String |
Sí |
No |
La cantidad de paquetes de dominios adicionales. |
Valores válidos: de 0 a 1000. |
|
LogTime |
String |
Sí |
No |
La duración de almacenamiento de los registros. |
Valores válidos:
Unidad: días. |
|
RenewalStatus |
String |
No |
No |
El estado de renovación automática. |
Valores válidos:
|
|
RenewPeriod |
String |
No |
No |
El periodo de renovación automática. |
Este parámetro es obligatorio cuando establece RenewalStatus en AutoRenewal. Unidad: meses. |
|
Period |
String |
No |
No |
El periodo de suscripción. |
Unidad: meses. |
|
ExclusiveIpPackage |
String |
Sí |
No |
La cantidad de paquetes de IP exclusiva para nombres de dominio. |
Valores válidos: de 0 a 100. |
|
LogStorage |
String |
Sí |
No |
La capacidad de almacenamiento de registros. |
Valores válidos:
Unidad: TiB. |
|
SubscriptionType |
String |
Sí |
No |
El método de facturación. |
Valor válido: Subscription: Se requiere un pago por adelantado. |
|
ExtBandwidth |
String |
Sí |
No |
El paquete de ancho de banda adicional. |
Valores válidos: de 0 a 20,000. Unidad: Mbps. |
|
WafLog |
String |
Sí |
No |
Indica si se habilita Simple Log Service. |
Valores válidos:
|
|
PackageCode |
String |
Sí |
No |
La edición de WAF. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
SubscriptionType: El método de facturación.
InstanceId: El ID de la instancia de WAF.
EndDate: La fecha de vencimiento de la instancia.
Ejemplos
Formato 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": "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"
]
}
}
}
}
Formato 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: 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