Todos los productos
Search
Centro de documentos

Resource Orchestration Service:ALIYUN::WAF::Instance

Última actualización: Sep 04, 2026

Crea una instancia de Web Application Firewall (WAF) 2.0.

Nota

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:

  • 0: El servicio está deshabilitado.

  • 1: El servicio de pantalla única.

  • all: El servicio de pantallas múltiples.

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:

  • false: No se utiliza el servicio.

  • true: Se utiliza el servicio.

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:

  • 180

  • 360

Unidad: días.

RenewalStatus

String

No

No

El estado de renovación automática.

Valores válidos:

  • AutoRenewal: La renovación automática está habilitada.

  • ManualRenewal (predeterminado): La renovación manual está habilitada.

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:

  • 3

  • 5

  • 10

  • 20

  • 50

  • 100

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:

  • true

  • false

PackageCode

String

Sí

No

La edición de WAF.

Valores válidos:

  • version_pro_asia: Pro.

  • version_business_asia: Enterprise Edition.

  • version_enterprise_asia: Ultimate.

  • version_exclusive_cluster_asia: Exclusive.

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