1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. wafv3
  5. getDomains
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.wafv3.getDomains

Explore with Pulumi AI

Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

This data source provides the Wafv3 Domains of the current Alibaba Cloud user.

NOTE: Available since v1.200.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = alicloud.wafv3.getInstances({});
const ids = _default.then(_default => alicloud.wafv3.getDomains({
    instanceId: _default.ids?.[0],
    ids: ["example_id"],
}));
export const wafv3DomainsId1 = ids.then(ids => ids.domains?.[0]?.id);
const defaultGetDomains = _default.then(_default => alicloud.wafv3.getDomains({
    instanceId: _default.ids?.[0],
    domain: "zctest12.wafqax.top",
}));
export const wafv3DomainsId2 = defaultGetDomains.then(defaultGetDomains => defaultGetDomains.domains?.[0]?.id);
Copy
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.wafv3.get_instances()
ids = alicloud.wafv3.get_domains(instance_id=default.ids[0],
    ids=["example_id"])
pulumi.export("wafv3DomainsId1", ids.domains[0].id)
default_get_domains = alicloud.wafv3.get_domains(instance_id=default.ids[0],
    domain="zctest12.wafqax.top")
pulumi.export("wafv3DomainsId2", default_get_domains.domains[0].id)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/wafv3"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := wafv3.GetInstances(ctx, &wafv3.GetInstancesArgs{}, nil)
		if err != nil {
			return err
		}
		ids, err := wafv3.GetDomains(ctx, &wafv3.GetDomainsArgs{
			InstanceId: _default.Ids[0],
			Ids: []string{
				"example_id",
			},
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("wafv3DomainsId1", ids.Domains[0].Id)
		defaultGetDomains, err := wafv3.GetDomains(ctx, &wafv3.GetDomainsArgs{
			InstanceId: _default.Ids[0],
			Domain:     pulumi.StringRef("zctest12.wafqax.top"),
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("wafv3DomainsId2", defaultGetDomains.Domains[0].Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var @default = AliCloud.Wafv3.GetInstances.Invoke();

    var ids = AliCloud.Wafv3.GetDomains.Invoke(new()
    {
        InstanceId = @default.Apply(getInstancesResult => getInstancesResult.Ids[0]),
        Ids = new[]
        {
            "example_id",
        },
    });

    var defaultGetDomains = AliCloud.Wafv3.GetDomains.Invoke(new()
    {
        InstanceId = @default.Apply(getInstancesResult => getInstancesResult.Ids[0]),
        Domain = "zctest12.wafqax.top",
    });

    return new Dictionary<string, object?>
    {
        ["wafv3DomainsId1"] = ids.Apply(getDomainsResult => getDomainsResult.Domains[0]?.Id),
        ["wafv3DomainsId2"] = defaultGetDomains.Apply(getDomainsResult => getDomainsResult.Domains[0]?.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.wafv3.Wafv3Functions;
import com.pulumi.alicloud.wafv3.inputs.GetInstancesArgs;
import com.pulumi.alicloud.wafv3.inputs.GetDomainsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var default = Wafv3Functions.getInstances();

        final var ids = Wafv3Functions.getDomains(GetDomainsArgs.builder()
            .instanceId(default_.ids()[0])
            .ids("example_id")
            .build());

        ctx.export("wafv3DomainsId1", ids.applyValue(getDomainsResult -> getDomainsResult.domains()[0].id()));
        final var defaultGetDomains = Wafv3Functions.getDomains(GetDomainsArgs.builder()
            .instanceId(default_.ids()[0])
            .domain("zctest12.wafqax.top")
            .build());

        ctx.export("wafv3DomainsId2", defaultGetDomains.applyValue(getDomainsResult -> getDomainsResult.domains()[0].id()));
    }
}
Copy
variables:
  default:
    fn::invoke:
      function: alicloud:wafv3:getInstances
      arguments: {}
  ids:
    fn::invoke:
      function: alicloud:wafv3:getDomains
      arguments:
        instanceId: ${default.ids[0]}
        ids:
          - example_id
  defaultGetDomains:
    fn::invoke:
      function: alicloud:wafv3:getDomains
      arguments:
        instanceId: ${default.ids[0]}
        domain: zctest12.wafqax.top
outputs:
  wafv3DomainsId1: ${ids.domains[0].id}
  wafv3DomainsId2: ${defaultGetDomains.domains[0].id}
Copy

Using getDomains

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDomains(args: GetDomainsArgs, opts?: InvokeOptions): Promise<GetDomainsResult>
function getDomainsOutput(args: GetDomainsOutputArgs, opts?: InvokeOptions): Output<GetDomainsResult>
Copy
def get_domains(backend: Optional[str] = None,
                domain: Optional[str] = None,
                enable_details: Optional[bool] = None,
                ids: Optional[Sequence[str]] = None,
                instance_id: Optional[str] = None,
                output_file: Optional[str] = None,
                page_number: Optional[int] = None,
                page_size: Optional[int] = None,
                opts: Optional[InvokeOptions] = None) -> GetDomainsResult
def get_domains_output(backend: Optional[pulumi.Input[str]] = None,
                domain: Optional[pulumi.Input[str]] = None,
                enable_details: Optional[pulumi.Input[bool]] = None,
                ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                instance_id: Optional[pulumi.Input[str]] = None,
                output_file: Optional[pulumi.Input[str]] = None,
                page_number: Optional[pulumi.Input[int]] = None,
                page_size: Optional[pulumi.Input[int]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetDomainsResult]
Copy
func GetDomains(ctx *Context, args *GetDomainsArgs, opts ...InvokeOption) (*GetDomainsResult, error)
func GetDomainsOutput(ctx *Context, args *GetDomainsOutputArgs, opts ...InvokeOption) GetDomainsResultOutput
Copy

> Note: This function is named GetDomains in the Go SDK.

public static class GetDomains 
{
    public static Task<GetDomainsResult> InvokeAsync(GetDomainsArgs args, InvokeOptions? opts = null)
    public static Output<GetDomainsResult> Invoke(GetDomainsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
public static Output<GetDomainsResult> getDomains(GetDomainsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:wafv3/getDomains:getDomains
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

InstanceId
This property is required.
Changes to this property will trigger replacement.
string
The WAF instance ID.
Backend Changes to this property will trigger replacement. string
The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
Domain Changes to this property will trigger replacement. string
The name of the domain name to query.
EnableDetails bool
Default to false. Set it to true can output more details about resource attributes.
Ids Changes to this property will trigger replacement. List<string>
A list of domain IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
PageNumber int
PageSize int
InstanceId
This property is required.
Changes to this property will trigger replacement.
string
The WAF instance ID.
Backend Changes to this property will trigger replacement. string
The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
Domain Changes to this property will trigger replacement. string
The name of the domain name to query.
EnableDetails bool
Default to false. Set it to true can output more details about resource attributes.
Ids Changes to this property will trigger replacement. []string
A list of domain IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
PageNumber int
PageSize int
instanceId
This property is required.
Changes to this property will trigger replacement.
String
The WAF instance ID.
backend Changes to this property will trigger replacement. String
The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
domain Changes to this property will trigger replacement. String
The name of the domain name to query.
enableDetails Boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. List<String>
A list of domain IDs.
outputFile String
File name where to save data source results (after running pulumi preview).
pageNumber Integer
pageSize Integer
instanceId
This property is required.
Changes to this property will trigger replacement.
string
The WAF instance ID.
backend Changes to this property will trigger replacement. string
The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
domain Changes to this property will trigger replacement. string
The name of the domain name to query.
enableDetails boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. string[]
A list of domain IDs.
outputFile string
File name where to save data source results (after running pulumi preview).
pageNumber number
pageSize number
instance_id
This property is required.
Changes to this property will trigger replacement.
str
The WAF instance ID.
backend Changes to this property will trigger replacement. str
The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
domain Changes to this property will trigger replacement. str
The name of the domain name to query.
enable_details bool
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. Sequence[str]
A list of domain IDs.
output_file str
File name where to save data source results (after running pulumi preview).
page_number int
page_size int
instanceId
This property is required.
Changes to this property will trigger replacement.
String
The WAF instance ID.
backend Changes to this property will trigger replacement. String
The address type of the origin server. The address can be an IP address or a domain name. You can specify only one type of address.
domain Changes to this property will trigger replacement. String
The name of the domain name to query.
enableDetails Boolean
Default to false. Set it to true can output more details about resource attributes.
ids Changes to this property will trigger replacement. List<String>
A list of domain IDs.
outputFile String
File name where to save data source results (after running pulumi preview).
pageNumber Number
pageSize Number

getDomains Result

The following output properties are available:

Domains List<Pulumi.AliCloud.Wafv3.Outputs.GetDomainsDomain>
A list of Domain Entries. Each element contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids List<string>
InstanceId string
Backend string
Domain string
The name of the domain.
EnableDetails bool
OutputFile string
PageNumber int
PageSize int
Domains []GetDomainsDomain
A list of Domain Entries. Each element contains the following attributes:
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
InstanceId string
Backend string
Domain string
The name of the domain.
EnableDetails bool
OutputFile string
PageNumber int
PageSize int
domains List<GetDomainsDomain>
A list of Domain Entries. Each element contains the following attributes:
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
instanceId String
backend String
domain String
The name of the domain.
enableDetails Boolean
outputFile String
pageNumber Integer
pageSize Integer
domains GetDomainsDomain[]
A list of Domain Entries. Each element contains the following attributes:
id string
The provider-assigned unique ID for this managed resource.
ids string[]
instanceId string
backend string
domain string
The name of the domain.
enableDetails boolean
outputFile string
pageNumber number
pageSize number
domains Sequence[GetDomainsDomain]
A list of Domain Entries. Each element contains the following attributes:
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
instance_id str
backend str
domain str
The name of the domain.
enable_details bool
output_file str
page_number int
page_size int
domains List<Property Map>
A list of Domain Entries. Each element contains the following attributes:
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
instanceId String
backend String
domain String
The name of the domain.
enableDetails Boolean
outputFile String
pageNumber Number
pageSize Number

Supporting Types

GetDomainsDomain

Domain This property is required. string
The name of the domain name to query.
Id This property is required. string
The ID of the domain. It formats as <instance_id>:<domain>.
Listens This property is required. List<Pulumi.AliCloud.Wafv3.Inputs.GetDomainsDomainListen>
Configure listening information
Redirects This property is required. List<Pulumi.AliCloud.Wafv3.Inputs.GetDomainsDomainRedirect>
Configure forwarding information.
ResourceManagerResourceGroupId This property is required. string
The ID of the resource group.
Status This property is required. string
The status of the domain.
Domain This property is required. string
The name of the domain name to query.
Id This property is required. string
The ID of the domain. It formats as <instance_id>:<domain>.
Listens This property is required. []GetDomainsDomainListen
Configure listening information
Redirects This property is required. []GetDomainsDomainRedirect
Configure forwarding information.
ResourceManagerResourceGroupId This property is required. string
The ID of the resource group.
Status This property is required. string
The status of the domain.
domain This property is required. String
The name of the domain name to query.
id This property is required. String
The ID of the domain. It formats as <instance_id>:<domain>.
listens This property is required. List<GetDomainsDomainListen>
Configure listening information
redirects This property is required. List<GetDomainsDomainRedirect>
Configure forwarding information.
resourceManagerResourceGroupId This property is required. String
The ID of the resource group.
status This property is required. String
The status of the domain.
domain This property is required. string
The name of the domain name to query.
id This property is required. string
The ID of the domain. It formats as <instance_id>:<domain>.
listens This property is required. GetDomainsDomainListen[]
Configure listening information
redirects This property is required. GetDomainsDomainRedirect[]
Configure forwarding information.
resourceManagerResourceGroupId This property is required. string
The ID of the resource group.
status This property is required. string
The status of the domain.
domain This property is required. str
The name of the domain name to query.
id This property is required. str
The ID of the domain. It formats as <instance_id>:<domain>.
listens This property is required. Sequence[GetDomainsDomainListen]
Configure listening information
redirects This property is required. Sequence[GetDomainsDomainRedirect]
Configure forwarding information.
resource_manager_resource_group_id This property is required. str
The ID of the resource group.
status This property is required. str
The status of the domain.
domain This property is required. String
The name of the domain name to query.
id This property is required. String
The ID of the domain. It formats as <instance_id>:<domain>.
listens This property is required. List<Property Map>
Configure listening information
redirects This property is required. List<Property Map>
Configure forwarding information.
resourceManagerResourceGroupId This property is required. String
The ID of the resource group.
status This property is required. String
The status of the domain.

GetDomainsDomainListen

CertId This property is required. string
The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
CipherSuite This property is required. int
The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
CustomCiphers This property is required. List<string>
The specific custom encryption suite to add.
EnableTlsv3 This property is required. bool
Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
ExclusiveIp This property is required. bool
Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
FocusHttps This property is required. bool
Whether to enable the forced jump of HTTPS. This parameter is used only when the value of https_ports is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol).
Http2Enabled This property is required. bool
Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
HttpPorts This property is required. List<int>
The listening port of the HTTP protocol.
HttpsPorts This property is required. List<int>
The listening port of the HTTPS protocol.
Ipv6Enabled This property is required. bool
Whether IPv6 is turned on.
ProtectionResource This property is required. string
The type of protection resource to use.
TlsVersion This property is required. string
The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
XffHeaderMode This property is required. int
WAF obtains the real IP address of the client.
XffHeaders This property is required. List<string>
Set the list of custom fields used to obtain the client IP address.
CertId This property is required. string
The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
CipherSuite This property is required. int
The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
CustomCiphers This property is required. []string
The specific custom encryption suite to add.
EnableTlsv3 This property is required. bool
Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
ExclusiveIp This property is required. bool
Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
FocusHttps This property is required. bool
Whether to enable the forced jump of HTTPS. This parameter is used only when the value of https_ports is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol).
Http2Enabled This property is required. bool
Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
HttpPorts This property is required. []int
The listening port of the HTTP protocol.
HttpsPorts This property is required. []int
The listening port of the HTTPS protocol.
Ipv6Enabled This property is required. bool
Whether IPv6 is turned on.
ProtectionResource This property is required. string
The type of protection resource to use.
TlsVersion This property is required. string
The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
XffHeaderMode This property is required. int
WAF obtains the real IP address of the client.
XffHeaders This property is required. []string
Set the list of custom fields used to obtain the client IP address.
certId This property is required. String
The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
cipherSuite This property is required. Integer
The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
customCiphers This property is required. List<String>
The specific custom encryption suite to add.
enableTlsv3 This property is required. Boolean
Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
exclusiveIp This property is required. Boolean
Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
focusHttps This property is required. Boolean
Whether to enable the forced jump of HTTPS. This parameter is used only when the value of https_ports is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol).
http2Enabled This property is required. Boolean
Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
httpPorts This property is required. List<Integer>
The listening port of the HTTP protocol.
httpsPorts This property is required. List<Integer>
The listening port of the HTTPS protocol.
ipv6Enabled This property is required. Boolean
Whether IPv6 is turned on.
protectionResource This property is required. String
The type of protection resource to use.
tlsVersion This property is required. String
The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
xffHeaderMode This property is required. Integer
WAF obtains the real IP address of the client.
xffHeaders This property is required. List<String>
Set the list of custom fields used to obtain the client IP address.
certId This property is required. string
The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
cipherSuite This property is required. number
The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
customCiphers This property is required. string[]
The specific custom encryption suite to add.
enableTlsv3 This property is required. boolean
Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
exclusiveIp This property is required. boolean
Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
focusHttps This property is required. boolean
Whether to enable the forced jump of HTTPS. This parameter is used only when the value of https_ports is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol).
http2Enabled This property is required. boolean
Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
httpPorts This property is required. number[]
The listening port of the HTTP protocol.
httpsPorts This property is required. number[]
The listening port of the HTTPS protocol.
ipv6Enabled This property is required. boolean
Whether IPv6 is turned on.
protectionResource This property is required. string
The type of protection resource to use.
tlsVersion This property is required. string
The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
xffHeaderMode This property is required. number
WAF obtains the real IP address of the client.
xffHeaders This property is required. string[]
Set the list of custom fields used to obtain the client IP address.
cert_id This property is required. str
The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
cipher_suite This property is required. int
The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
custom_ciphers This property is required. Sequence[str]
The specific custom encryption suite to add.
enable_tlsv3 This property is required. bool
Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
exclusive_ip This property is required. bool
Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
focus_https This property is required. bool
Whether to enable the forced jump of HTTPS. This parameter is used only when the value of https_ports is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol).
http2_enabled This property is required. bool
Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
http_ports This property is required. Sequence[int]
The listening port of the HTTP protocol.
https_ports This property is required. Sequence[int]
The listening port of the HTTPS protocol.
ipv6_enabled This property is required. bool
Whether IPv6 is turned on.
protection_resource This property is required. str
The type of protection resource to use.
tls_version This property is required. str
The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
xff_header_mode This property is required. int
WAF obtains the real IP address of the client.
xff_headers This property is required. Sequence[str]
Set the list of custom fields used to obtain the client IP address.
certId This property is required. String
The ID of the certificate to be added. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
cipherSuite This property is required. Number
The type of encryption suite to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
customCiphers This property is required. List<String>
The specific custom encryption suite to add.
enableTlsv3 This property is required. Boolean
Whether TSL1.3 version is supported. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
exclusiveIp This property is required. Boolean
Whether to enable exclusive IP address. This parameter is used only when the value of ipv6_enabled is false (indicating that IPv6 is not enabled) and the value of protection_resource is share (indicating that a shared cluster is used).
focusHttps This property is required. Boolean
Whether to enable the forced jump of HTTPS. This parameter is used only when the value of https_ports is not empty (indicating that the domain name uses HTTPS protocol) and the value of httports is empty (indicating that the domain name does not use HTTP protocol).
http2Enabled This property is required. Boolean
Whether to turn on http2. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
httpPorts This property is required. List<Number>
The listening port of the HTTP protocol.
httpsPorts This property is required. List<Number>
The listening port of the HTTPS protocol.
ipv6Enabled This property is required. Boolean
Whether IPv6 is turned on.
protectionResource This property is required. String
The type of protection resource to use.
tlsVersion This property is required. String
The version of TLS to add. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
xffHeaderMode This property is required. Number
WAF obtains the real IP address of the client.
xffHeaders This property is required. List<String>
Set the list of custom fields used to obtain the client IP address.

GetDomainsDomainRedirect

Backends This property is required. List<string>
The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
ConnectTimeout This property is required. int
Connection timeout, Unit: seconds, value range: 5~120.
FocusHttpBackend This property is required. bool
Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
Keepalive This property is required. bool
Open long connection, default true.
KeepaliveRequests This property is required. int
Number of long connections, default: 60. range :60-1000.
KeepaliveTimeout This property is required. int
Long connection over time, default: 15. Range: 1-60.
Loadbalance This property is required. string
The load balancing algorithm used when returning to the source.
ReadTimeout This property is required. int
Read timeout duration. Unit: seconds, Value range: 5~1800.
RequestHeaders This property is required. List<Pulumi.AliCloud.Wafv3.Inputs.GetDomainsDomainRedirectRequestHeader>
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
Retry This property is required. bool
Back to Source Retry. default true, retry 3 times by default.
SniEnabled This property is required. bool
Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
SniHost This property is required. string
Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
WriteTimeout This property is required. int
Write timeout duration. Unit: seconds, Value range:5~1800.
Backends This property is required. []string
The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
ConnectTimeout This property is required. int
Connection timeout, Unit: seconds, value range: 5~120.
FocusHttpBackend This property is required. bool
Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
Keepalive This property is required. bool
Open long connection, default true.
KeepaliveRequests This property is required. int
Number of long connections, default: 60. range :60-1000.
KeepaliveTimeout This property is required. int
Long connection over time, default: 15. Range: 1-60.
Loadbalance This property is required. string
The load balancing algorithm used when returning to the source.
ReadTimeout This property is required. int
Read timeout duration. Unit: seconds, Value range: 5~1800.
RequestHeaders This property is required. []GetDomainsDomainRedirectRequestHeader
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
Retry This property is required. bool
Back to Source Retry. default true, retry 3 times by default.
SniEnabled This property is required. bool
Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
SniHost This property is required. string
Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
WriteTimeout This property is required. int
Write timeout duration. Unit: seconds, Value range:5~1800.
backends This property is required. List<String>
The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
connectTimeout This property is required. Integer
Connection timeout, Unit: seconds, value range: 5~120.
focusHttpBackend This property is required. Boolean
Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
keepalive This property is required. Boolean
Open long connection, default true.
keepaliveRequests This property is required. Integer
Number of long connections, default: 60. range :60-1000.
keepaliveTimeout This property is required. Integer
Long connection over time, default: 15. Range: 1-60.
loadbalance This property is required. String
The load balancing algorithm used when returning to the source.
readTimeout This property is required. Integer
Read timeout duration. Unit: seconds, Value range: 5~1800.
requestHeaders This property is required. List<GetDomainsDomainRedirectRequestHeader>
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
retry This property is required. Boolean
Back to Source Retry. default true, retry 3 times by default.
sniEnabled This property is required. Boolean
Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
sniHost This property is required. String
Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
writeTimeout This property is required. Integer
Write timeout duration. Unit: seconds, Value range:5~1800.
backends This property is required. string[]
The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
connectTimeout This property is required. number
Connection timeout, Unit: seconds, value range: 5~120.
focusHttpBackend This property is required. boolean
Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
keepalive This property is required. boolean
Open long connection, default true.
keepaliveRequests This property is required. number
Number of long connections, default: 60. range :60-1000.
keepaliveTimeout This property is required. number
Long connection over time, default: 15. Range: 1-60.
loadbalance This property is required. string
The load balancing algorithm used when returning to the source.
readTimeout This property is required. number
Read timeout duration. Unit: seconds, Value range: 5~1800.
requestHeaders This property is required. GetDomainsDomainRedirectRequestHeader[]
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
retry This property is required. boolean
Back to Source Retry. default true, retry 3 times by default.
sniEnabled This property is required. boolean
Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
sniHost This property is required. string
Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
writeTimeout This property is required. number
Write timeout duration. Unit: seconds, Value range:5~1800.
backends This property is required. Sequence[str]
The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
connect_timeout This property is required. int
Connection timeout, Unit: seconds, value range: 5~120.
focus_http_backend This property is required. bool
Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
keepalive This property is required. bool
Open long connection, default true.
keepalive_requests This property is required. int
Number of long connections, default: 60. range :60-1000.
keepalive_timeout This property is required. int
Long connection over time, default: 15. Range: 1-60.
loadbalance This property is required. str
The load balancing algorithm used when returning to the source.
read_timeout This property is required. int
Read timeout duration. Unit: seconds, Value range: 5~1800.
request_headers This property is required. Sequence[GetDomainsDomainRedirectRequestHeader]
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
retry This property is required. bool
Back to Source Retry. default true, retry 3 times by default.
sni_enabled This property is required. bool
Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
sni_host This property is required. str
Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
write_timeout This property is required. int
Write timeout duration. Unit: seconds, Value range:5~1800.
backends This property is required. List<String>
The IP address of the origin server corresponding to the domain name or the back-to-origin domain name of the server.
connectTimeout This property is required. Number
Connection timeout, Unit: seconds, value range: 5~120.
focusHttpBackend This property is required. Boolean
Whether to enable forced HTTP back-to-origin. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
keepalive This property is required. Boolean
Open long connection, default true.
keepaliveRequests This property is required. Number
Number of long connections, default: 60. range :60-1000.
keepaliveTimeout This property is required. Number
Long connection over time, default: 15. Range: 1-60.
loadbalance This property is required. String
The load balancing algorithm used when returning to the source.
readTimeout This property is required. Number
Read timeout duration. Unit: seconds, Value range: 5~1800.
requestHeaders This property is required. List<Property Map>
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
retry This property is required. Boolean
Back to Source Retry. default true, retry 3 times by default.
sniEnabled This property is required. Boolean
Whether to enable back-to-source SNI. This parameter is used only if the value of https_ports is not empty (indicating that the domain name uses the HTTPS protocol).
sniHost This property is required. String
Sets the value of the custom SNI extension field. If this parameter is not set, the value of the Host field in the request header is used as the value of the SNI extension field by default.In general, you do not need to customize SNI unless your business has special configuration requirements. You want WAF to use SNI that is inconsistent with the actual request Host in the back-to-origin request (that is, the custom SNI set here).> This parameter is required only when sni_enalbed is set to true (indicating that back-to-source SNI is enabled).
writeTimeout This property is required. Number
Write timeout duration. Unit: seconds, Value range:5~1800.

GetDomainsDomainRedirectRequestHeader

Key This property is required. string
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
Value This property is required. string
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
Key This property is required. string
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
Value This property is required. string
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
key This property is required. String
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
value This property is required. String
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
key This property is required. string
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
value This property is required. string
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
key This property is required. str
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
value This property is required. str
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
key This property is required. String
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.
value This property is required. String
The traffic tag field and value of the domain name, which is used to mark the traffic processed by WAF. the format of this parameter value is [{" k ":"key"," v ":"value"}]. where_key_represents the specified custom request header field, and_value_represents the value set for this field.By specifying the custom request header field and the corresponding value, when the access traffic of the domain name passes through WAF, WAF automatically adds the specified custom field value to the request header as the traffic mark, which is convenient for backend service statistics.Explain that if the custom header field already exists in the request, the system will overwrite the value of the custom field in the request with the set traffic tag value.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi