Cria uma instância do Web Application Firewall (WAF) 2.0.
Este recurso tem suporte na região Ásia-Pacífico SE 1 (Singapura) (ap-southeast-1).
Sintaxe
{
"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
}
}
Propriedades
|
Nome da propriedade |
Tipo |
Obrigatório |
Atualização permitida |
Descrição |
Restrições |
|
BigScreen |
String |
Sim |
Não |
Serviço de visualização de dados. |
Valores válidos:
|
|
PrefessionalService |
String |
Sim |
Não |
Defina se o serviço especializado será usado. Nota
Serviço especializado: oferece suporte por meio de um grupo no DingTalk para configuração do produto, otimização de políticas e monitoramento diário. |
Valores válidos:
|
|
ExtDomainPackage |
String |
Sim |
Não |
Quantidade de pacotes adicionais de domínio. |
Valores válidos: 0 a 1.000. |
|
LogTime |
String |
Sim |
Não |
Período de retenção de logs. |
Valores válidos:
Unidade: dias. |
|
RenewalStatus |
String |
Não |
Não |
Status da renovação automática. |
Valores válidos:
|
|
RenewPeriod |
String |
Não |
Não |
Período da renovação automática. |
Obrigatório quando RenewalStatus for definido como AutoRenewal. Unidade: meses. |
|
Period |
String |
Não |
Não |
Duração da assinatura. |
Unidade: meses. |
|
ExclusiveIpPackage |
String |
Sim |
Não |
Quantidade de pacotes de IP exclusivo para nomes de domínio. |
Valores válidos: 0 a 100. |
|
LogStorage |
String |
Sim |
Não |
Capacidade de armazenamento de logs. |
Valores válidos:
Unidade: TiB. |
|
SubscriptionType |
String |
Sim |
Não |
Método de faturamento. |
Valor válido: Subscription: requer pagamento antecipado. |
|
ExtBandwidth |
String |
Sim |
Não |
Pacote adicional de largura de banda. |
Valores válidos: 0 a 20.000. Unidade: Mbps. |
|
WafLog |
String |
Sim |
Não |
Defina se o Simple Log Service deve ser ativado. |
Valores válidos:
|
|
PackageCode |
String |
Sim |
Não |
Edição do WAF. |
Valores válidos:
|
Valores de retorno
Fn::GetAtt
SubscriptionType: método de faturamento.
InstanceId: ID da instância do WAF.
EndDate: data de expiração da instância.
Exemplos
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