1. Packages
  2. Bytepluscc Provider
  3. API Docs
  4. waf
  5. getDomain
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus
bytepluscc logo
Viewing docs for bytepluscc v0.0.21
published on Thursday, Apr 2, 2026 by Byteplus

    Data Source schema for Byteplus::WAF::Domain

    Using getDomain

    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 getDomain(args: GetDomainArgs, opts?: InvokeOptions): Promise<GetDomainResult>
    function getDomainOutput(args: GetDomainOutputArgs, opts?: InvokeOptions): Output<GetDomainResult>
    def get_domain(id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDomainResult
    def get_domain_output(id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDomainResult]
    func LookupDomain(ctx *Context, args *LookupDomainArgs, opts ...InvokeOption) (*LookupDomainResult, error)
    func LookupDomainOutput(ctx *Context, args *LookupDomainOutputArgs, opts ...InvokeOption) LookupDomainResultOutput

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

    public static class GetDomain 
    {
        public static Task<GetDomainResult> InvokeAsync(GetDomainArgs args, InvokeOptions? opts = null)
        public static Output<GetDomainResult> Invoke(GetDomainInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDomainResult> getDomain(GetDomainArgs args, InvokeOptions options)
    public static Output<GetDomainResult> getDomain(GetDomainArgs args, InvokeOptions options)
    
    fn::invoke:
      function: bytepluscc:waf/getDomain:getDomain
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Uniquely identifies the resource.
    Id string
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.
    id string
    Uniquely identifies the resource.
    id str
    Uniquely identifies the resource.
    id String
    Uniquely identifies the resource.

    getDomain Result

    The following output properties are available:

    AccessMode int
    Access mode. 10: CNAME access, 11: Layer 7 load balancing (CLB) access.
    AdvancedDefenseIp string
    High defense instance IP. Displayed for high-defense WAF access; otherwise blank.
    AdvancedDefenseIpv6 string
    High defense instance IPv6. Displayed for high-defense WAF access; otherwise blank.
    ApiEnable int
    API protection policy enabled. 0: Off, 1: On
    AttackStatus int
    Attack status. 0: No attack detected, 1: Attack detected.
    AutoCcEnable int
    Whether to enable intelligent CC protection policy. 0: Disabled, 1: Enabled.
    AutomaticBlackEnable int
    Whether to enable automatic blocking. 0: Disabled, 1: Enabled.
    BackendGroups List<Byteplus.GetDomainBackendGroup>
    Origin configuration.
    BlackIpEnable int
    Denylist policy enabled. 0: Off, 1: On
    BlackLctEnable int
    Whether to enable regional blocking policy. 0: Disabled; 1: Enabled.
    BotDytokenEnable int
    Dynamic token protection enabled
    BotFrequencyEnable int
    Bot rate limit policy enabled. 0: Off 1: On
    BotRepeatEnable int
    Bot statistics protection policy enabled. 0: Off 1: On
    BotSequenceDefaultAction int
    Set the default action for the bot behavior map policy. Effective when BotSequenceEnable = 1 is enabled. Default is 0 (Observe). 0: Observe 2: Intercept 6: JS Challenge 7: CAPTCHA.
    BotSequenceEnable int
    Whether to enable bot behavior map. 0: Off 1: On.
    CcEnable int
    Whether to enable CC protection policy. 0: Disabled 1: Enabled.
    CertificateId string
    Certificate ID managed in Certificate Center
    CertificateName string
    Certificate name. Displayed when protocol type includes HTTPS.
    CertificatePlatform string
    Certificate hosting platform: waf/certificate_service.
    ClbInstanceIds string
    CLB instance ID.
    ClbListenerId string
    CLB listener ID.
    ClbPoolId string
    CLB backend server group ID.
    ClbServerId string
    CLB backend server ID
    ClientIpLocation int
    Client IP acquisition method. 0: Custom header field, 1: Use the first public IP address in the X-Forwarded-For (XFF) field as the real client IP address.
    ClientMaxBodySize int
    Maximum client request body size (MB).
    CloudAccessConfigs List<Byteplus.GetDomainCloudAccessConfig>
    LB access parameters.
    Cname string
    CNAME record.
    CustomBotEnable int
    Whether to enable custom bot protection.
    CustomHeaders List<string>
    Custom header.
    CustomRspEnable int
    Whether to enable custom response.
    CustomSni string
    Custom SNI.
    DefenceMode int
    Set protection mode for exception ALB instances. 1: Enable protection. The configured protection policies take effect. 2: Pause protection. Only forwarding is performed without inspection; the configured protection policies do not take effect. 3: Origin mode. Requests are sent directly to the origin server and are no longer forwarded to the WAF instance. After configuring exception protection instances, the domain may also have the following protection statuses: 5: Partially enabled. The default protection mode is enabled, but some exception instances are in paused protection or origin mode. 6: Partially paused. The default protection mode is paused, but some exception instances are in enabled protection or origin mode. 7: Partially origin. The default protection mode is origin mode, but some exception instances are in enabled protection or paused protection.
    DlpEnable int
    Data leakage protection enabled
    Domain string
    Protected domain information. Supports wildcard and exact domains
    EnableCustomRedirect int
    User-defined redirection enabled. 0: Off, 1: On
    EnableHttp2 int
    Whether to enable HTTP/2.0. 0: Disabled, 1: Enabled.
    EnableIpv6 int
    IPv6 request protection supported. 0: Off, 1: On
    EnableSni int
    Whether to enable SNI configuration. 0: Off, 1: On.
    Id string
    Uniquely identifies the resource.
    KeepAliveRequest int
    Persistent connection reuse count
    KeepAliveTimeout int
    Persistent connection keep-alive time (seconds)
    LbAlgorithm string
    Load balancing algorithm type. wrr: Weighted round robin, wlc: Weighted least connections, sh: Source address hash.
    Port int
    Port number
    ProjectName string
    Project name.
    ProtocolFollow int
    Protocol following enabled. 0: Off, 1: On
    ProtocolPorts Byteplus.GetDomainProtocolPorts
    Access port information
    Protocols List<string>
    Access protocol type: supports HTTP/HTTPS
    ProxyConfig int
    Proxy configuration enabled. 0: Off, 1: On
    ProxyConnectTimeout int
    Connection timeout between WAF and backend server (seconds).
    ProxyKeepAlive int
    Number of reusable WAF origin persistent connections.
    ProxyKeepAliveTimeout int
    Idle persistent connection timeout (seconds)
    ProxyReadTimeout int
    Timeout for WAF to read response from backend server (seconds).
    ProxyRetry int
    WAF origin retry count.
    ProxyWriteTimeout int
    Timeout for WAF to transmit request to backend server (seconds).
    PublicRealServer int
    CNAME access origin method. 0: Private network origin, 1: Public network origin.
    RspAbnormalEnable int
    Whether to enable abnormal response protection.
    ServerIps string
    Service IP
    SrcIps string
    WAF origin IP.
    SrcProtocol string
    Origin protocol.
    SslCiphers List<string>
    Cipher suite
    SslProtocols List<string>
    TLS protocol version. For example: TLSv1, TLSv1.1, TLSv1.2, TLSv1.3
    Status int
    Access status. 0: Normal, 1: DNS not resolved, 2: Configuring, 3: Configuration failed, 4: Configuration not effective, 5: Updating, 6: Instance deleted.
    SystemBotEnable int
    Whether to enable managed bot protection.
    TamperProofEnable int
    Whether to enable anti-tampering.
    TcpListenerConfigs List<Byteplus.GetDomainTcpListenerConfig>
    TCP listener configuration.
    TlsEnable int
    Log service enabled. 0: Off, 1: On
    TlsFieldsConfig Byteplus.GetDomainTlsFieldsConfig
    Log field configuration details
    UpdateTime string
    Update time
    VpcId string
    VPC ID。
    WafEnable int
    WAF protection enabled
    WafWhiteReqEnable int
    Allowlist request protection enabled
    WhiteEnable int
    Whether to enable allowlist protection.
    WhiteFieldEnable int
    Field allowlist protection enabled
    AccessMode int
    Access mode. 10: CNAME access, 11: Layer 7 load balancing (CLB) access.
    AdvancedDefenseIp string
    High defense instance IP. Displayed for high-defense WAF access; otherwise blank.
    AdvancedDefenseIpv6 string
    High defense instance IPv6. Displayed for high-defense WAF access; otherwise blank.
    ApiEnable int
    API protection policy enabled. 0: Off, 1: On
    AttackStatus int
    Attack status. 0: No attack detected, 1: Attack detected.
    AutoCcEnable int
    Whether to enable intelligent CC protection policy. 0: Disabled, 1: Enabled.
    AutomaticBlackEnable int
    Whether to enable automatic blocking. 0: Disabled, 1: Enabled.
    BackendGroups []GetDomainBackendGroup
    Origin configuration.
    BlackIpEnable int
    Denylist policy enabled. 0: Off, 1: On
    BlackLctEnable int
    Whether to enable regional blocking policy. 0: Disabled; 1: Enabled.
    BotDytokenEnable int
    Dynamic token protection enabled
    BotFrequencyEnable int
    Bot rate limit policy enabled. 0: Off 1: On
    BotRepeatEnable int
    Bot statistics protection policy enabled. 0: Off 1: On
    BotSequenceDefaultAction int
    Set the default action for the bot behavior map policy. Effective when BotSequenceEnable = 1 is enabled. Default is 0 (Observe). 0: Observe 2: Intercept 6: JS Challenge 7: CAPTCHA.
    BotSequenceEnable int
    Whether to enable bot behavior map. 0: Off 1: On.
    CcEnable int
    Whether to enable CC protection policy. 0: Disabled 1: Enabled.
    CertificateId string
    Certificate ID managed in Certificate Center
    CertificateName string
    Certificate name. Displayed when protocol type includes HTTPS.
    CertificatePlatform string
    Certificate hosting platform: waf/certificate_service.
    ClbInstanceIds string
    CLB instance ID.
    ClbListenerId string
    CLB listener ID.
    ClbPoolId string
    CLB backend server group ID.
    ClbServerId string
    CLB backend server ID
    ClientIpLocation int
    Client IP acquisition method. 0: Custom header field, 1: Use the first public IP address in the X-Forwarded-For (XFF) field as the real client IP address.
    ClientMaxBodySize int
    Maximum client request body size (MB).
    CloudAccessConfigs []GetDomainCloudAccessConfig
    LB access parameters.
    Cname string
    CNAME record.
    CustomBotEnable int
    Whether to enable custom bot protection.
    CustomHeaders []string
    Custom header.
    CustomRspEnable int
    Whether to enable custom response.
    CustomSni string
    Custom SNI.
    DefenceMode int
    Set protection mode for exception ALB instances. 1: Enable protection. The configured protection policies take effect. 2: Pause protection. Only forwarding is performed without inspection; the configured protection policies do not take effect. 3: Origin mode. Requests are sent directly to the origin server and are no longer forwarded to the WAF instance. After configuring exception protection instances, the domain may also have the following protection statuses: 5: Partially enabled. The default protection mode is enabled, but some exception instances are in paused protection or origin mode. 6: Partially paused. The default protection mode is paused, but some exception instances are in enabled protection or origin mode. 7: Partially origin. The default protection mode is origin mode, but some exception instances are in enabled protection or paused protection.
    DlpEnable int
    Data leakage protection enabled
    Domain string
    Protected domain information. Supports wildcard and exact domains
    EnableCustomRedirect int
    User-defined redirection enabled. 0: Off, 1: On
    EnableHttp2 int
    Whether to enable HTTP/2.0. 0: Disabled, 1: Enabled.
    EnableIpv6 int
    IPv6 request protection supported. 0: Off, 1: On
    EnableSni int
    Whether to enable SNI configuration. 0: Off, 1: On.
    Id string
    Uniquely identifies the resource.
    KeepAliveRequest int
    Persistent connection reuse count
    KeepAliveTimeout int
    Persistent connection keep-alive time (seconds)
    LbAlgorithm string
    Load balancing algorithm type. wrr: Weighted round robin, wlc: Weighted least connections, sh: Source address hash.
    Port int
    Port number
    ProjectName string
    Project name.
    ProtocolFollow int
    Protocol following enabled. 0: Off, 1: On
    ProtocolPorts GetDomainProtocolPorts
    Access port information
    Protocols []string
    Access protocol type: supports HTTP/HTTPS
    ProxyConfig int
    Proxy configuration enabled. 0: Off, 1: On
    ProxyConnectTimeout int
    Connection timeout between WAF and backend server (seconds).
    ProxyKeepAlive int
    Number of reusable WAF origin persistent connections.
    ProxyKeepAliveTimeout int
    Idle persistent connection timeout (seconds)
    ProxyReadTimeout int
    Timeout for WAF to read response from backend server (seconds).
    ProxyRetry int
    WAF origin retry count.
    ProxyWriteTimeout int
    Timeout for WAF to transmit request to backend server (seconds).
    PublicRealServer int
    CNAME access origin method. 0: Private network origin, 1: Public network origin.
    RspAbnormalEnable int
    Whether to enable abnormal response protection.
    ServerIps string
    Service IP
    SrcIps string
    WAF origin IP.
    SrcProtocol string
    Origin protocol.
    SslCiphers []string
    Cipher suite
    SslProtocols []string
    TLS protocol version. For example: TLSv1, TLSv1.1, TLSv1.2, TLSv1.3
    Status int
    Access status. 0: Normal, 1: DNS not resolved, 2: Configuring, 3: Configuration failed, 4: Configuration not effective, 5: Updating, 6: Instance deleted.
    SystemBotEnable int
    Whether to enable managed bot protection.
    TamperProofEnable int
    Whether to enable anti-tampering.
    TcpListenerConfigs []GetDomainTcpListenerConfig
    TCP listener configuration.
    TlsEnable int
    Log service enabled. 0: Off, 1: On
    TlsFieldsConfig GetDomainTlsFieldsConfig
    Log field configuration details
    UpdateTime string
    Update time
    VpcId string
    VPC ID。
    WafEnable int
    WAF protection enabled
    WafWhiteReqEnable int
    Allowlist request protection enabled
    WhiteEnable int
    Whether to enable allowlist protection.
    WhiteFieldEnable int
    Field allowlist protection enabled
    accessMode Integer
    Access mode. 10: CNAME access, 11: Layer 7 load balancing (CLB) access.
    advancedDefenseIp String
    High defense instance IP. Displayed for high-defense WAF access; otherwise blank.
    advancedDefenseIpv6 String
    High defense instance IPv6. Displayed for high-defense WAF access; otherwise blank.
    apiEnable Integer
    API protection policy enabled. 0: Off, 1: On
    attackStatus Integer
    Attack status. 0: No attack detected, 1: Attack detected.
    autoCcEnable Integer
    Whether to enable intelligent CC protection policy. 0: Disabled, 1: Enabled.
    automaticBlackEnable Integer
    Whether to enable automatic blocking. 0: Disabled, 1: Enabled.
    backendGroups List<GetDomainBackendGroup>
    Origin configuration.
    blackIpEnable Integer
    Denylist policy enabled. 0: Off, 1: On
    blackLctEnable Integer
    Whether to enable regional blocking policy. 0: Disabled; 1: Enabled.
    botDytokenEnable Integer
    Dynamic token protection enabled
    botFrequencyEnable Integer
    Bot rate limit policy enabled. 0: Off 1: On
    botRepeatEnable Integer
    Bot statistics protection policy enabled. 0: Off 1: On
    botSequenceDefaultAction Integer
    Set the default action for the bot behavior map policy. Effective when BotSequenceEnable = 1 is enabled. Default is 0 (Observe). 0: Observe 2: Intercept 6: JS Challenge 7: CAPTCHA.
    botSequenceEnable Integer
    Whether to enable bot behavior map. 0: Off 1: On.
    ccEnable Integer
    Whether to enable CC protection policy. 0: Disabled 1: Enabled.
    certificateId String
    Certificate ID managed in Certificate Center
    certificateName String
    Certificate name. Displayed when protocol type includes HTTPS.
    certificatePlatform String
    Certificate hosting platform: waf/certificate_service.
    clbInstanceIds String
    CLB instance ID.
    clbListenerId String
    CLB listener ID.
    clbPoolId String
    CLB backend server group ID.
    clbServerId String
    CLB backend server ID
    clientIpLocation Integer
    Client IP acquisition method. 0: Custom header field, 1: Use the first public IP address in the X-Forwarded-For (XFF) field as the real client IP address.
    clientMaxBodySize Integer
    Maximum client request body size (MB).
    cloudAccessConfigs List<GetDomainCloudAccessConfig>
    LB access parameters.
    cname String
    CNAME record.
    customBotEnable Integer
    Whether to enable custom bot protection.
    customHeaders List<String>
    Custom header.
    customRspEnable Integer
    Whether to enable custom response.
    customSni String
    Custom SNI.
    defenceMode Integer
    Set protection mode for exception ALB instances. 1: Enable protection. The configured protection policies take effect. 2: Pause protection. Only forwarding is performed without inspection; the configured protection policies do not take effect. 3: Origin mode. Requests are sent directly to the origin server and are no longer forwarded to the WAF instance. After configuring exception protection instances, the domain may also have the following protection statuses: 5: Partially enabled. The default protection mode is enabled, but some exception instances are in paused protection or origin mode. 6: Partially paused. The default protection mode is paused, but some exception instances are in enabled protection or origin mode. 7: Partially origin. The default protection mode is origin mode, but some exception instances are in enabled protection or paused protection.
    dlpEnable Integer
    Data leakage protection enabled
    domain String
    Protected domain information. Supports wildcard and exact domains
    enableCustomRedirect Integer
    User-defined redirection enabled. 0: Off, 1: On
    enableHttp2 Integer
    Whether to enable HTTP/2.0. 0: Disabled, 1: Enabled.
    enableIpv6 Integer
    IPv6 request protection supported. 0: Off, 1: On
    enableSni Integer
    Whether to enable SNI configuration. 0: Off, 1: On.
    id String
    Uniquely identifies the resource.
    keepAliveRequest Integer
    Persistent connection reuse count
    keepAliveTimeout Integer
    Persistent connection keep-alive time (seconds)
    lbAlgorithm String
    Load balancing algorithm type. wrr: Weighted round robin, wlc: Weighted least connections, sh: Source address hash.
    port Integer
    Port number
    projectName String
    Project name.
    protocolFollow Integer
    Protocol following enabled. 0: Off, 1: On
    protocolPorts GetDomainProtocolPorts
    Access port information
    protocols List<String>
    Access protocol type: supports HTTP/HTTPS
    proxyConfig Integer
    Proxy configuration enabled. 0: Off, 1: On
    proxyConnectTimeout Integer
    Connection timeout between WAF and backend server (seconds).
    proxyKeepAlive Integer
    Number of reusable WAF origin persistent connections.
    proxyKeepAliveTimeout Integer
    Idle persistent connection timeout (seconds)
    proxyReadTimeout Integer
    Timeout for WAF to read response from backend server (seconds).
    proxyRetry Integer
    WAF origin retry count.
    proxyWriteTimeout Integer
    Timeout for WAF to transmit request to backend server (seconds).
    publicRealServer Integer
    CNAME access origin method. 0: Private network origin, 1: Public network origin.
    rspAbnormalEnable Integer
    Whether to enable abnormal response protection.
    serverIps String
    Service IP
    srcIps String
    WAF origin IP.
    srcProtocol String
    Origin protocol.
    sslCiphers List<String>
    Cipher suite
    sslProtocols List<String>
    TLS protocol version. For example: TLSv1, TLSv1.1, TLSv1.2, TLSv1.3
    status Integer
    Access status. 0: Normal, 1: DNS not resolved, 2: Configuring, 3: Configuration failed, 4: Configuration not effective, 5: Updating, 6: Instance deleted.
    systemBotEnable Integer
    Whether to enable managed bot protection.
    tamperProofEnable Integer
    Whether to enable anti-tampering.
    tcpListenerConfigs List<GetDomainTcpListenerConfig>
    TCP listener configuration.
    tlsEnable Integer
    Log service enabled. 0: Off, 1: On
    tlsFieldsConfig GetDomainTlsFieldsConfig
    Log field configuration details
    updateTime String
    Update time
    vpcId String
    VPC ID。
    wafEnable Integer
    WAF protection enabled
    wafWhiteReqEnable Integer
    Allowlist request protection enabled
    whiteEnable Integer
    Whether to enable allowlist protection.
    whiteFieldEnable Integer
    Field allowlist protection enabled
    accessMode number
    Access mode. 10: CNAME access, 11: Layer 7 load balancing (CLB) access.
    advancedDefenseIp string
    High defense instance IP. Displayed for high-defense WAF access; otherwise blank.
    advancedDefenseIpv6 string
    High defense instance IPv6. Displayed for high-defense WAF access; otherwise blank.
    apiEnable number
    API protection policy enabled. 0: Off, 1: On
    attackStatus number
    Attack status. 0: No attack detected, 1: Attack detected.
    autoCcEnable number
    Whether to enable intelligent CC protection policy. 0: Disabled, 1: Enabled.
    automaticBlackEnable number
    Whether to enable automatic blocking. 0: Disabled, 1: Enabled.
    backendGroups GetDomainBackendGroup[]
    Origin configuration.
    blackIpEnable number
    Denylist policy enabled. 0: Off, 1: On
    blackLctEnable number
    Whether to enable regional blocking policy. 0: Disabled; 1: Enabled.
    botDytokenEnable number
    Dynamic token protection enabled
    botFrequencyEnable number
    Bot rate limit policy enabled. 0: Off 1: On
    botRepeatEnable number
    Bot statistics protection policy enabled. 0: Off 1: On
    botSequenceDefaultAction number
    Set the default action for the bot behavior map policy. Effective when BotSequenceEnable = 1 is enabled. Default is 0 (Observe). 0: Observe 2: Intercept 6: JS Challenge 7: CAPTCHA.
    botSequenceEnable number
    Whether to enable bot behavior map. 0: Off 1: On.
    ccEnable number
    Whether to enable CC protection policy. 0: Disabled 1: Enabled.
    certificateId string
    Certificate ID managed in Certificate Center
    certificateName string
    Certificate name. Displayed when protocol type includes HTTPS.
    certificatePlatform string
    Certificate hosting platform: waf/certificate_service.
    clbInstanceIds string
    CLB instance ID.
    clbListenerId string
    CLB listener ID.
    clbPoolId string
    CLB backend server group ID.
    clbServerId string
    CLB backend server ID
    clientIpLocation number
    Client IP acquisition method. 0: Custom header field, 1: Use the first public IP address in the X-Forwarded-For (XFF) field as the real client IP address.
    clientMaxBodySize number
    Maximum client request body size (MB).
    cloudAccessConfigs GetDomainCloudAccessConfig[]
    LB access parameters.
    cname string
    CNAME record.
    customBotEnable number
    Whether to enable custom bot protection.
    customHeaders string[]
    Custom header.
    customRspEnable number
    Whether to enable custom response.
    customSni string
    Custom SNI.
    defenceMode number
    Set protection mode for exception ALB instances. 1: Enable protection. The configured protection policies take effect. 2: Pause protection. Only forwarding is performed without inspection; the configured protection policies do not take effect. 3: Origin mode. Requests are sent directly to the origin server and are no longer forwarded to the WAF instance. After configuring exception protection instances, the domain may also have the following protection statuses: 5: Partially enabled. The default protection mode is enabled, but some exception instances are in paused protection or origin mode. 6: Partially paused. The default protection mode is paused, but some exception instances are in enabled protection or origin mode. 7: Partially origin. The default protection mode is origin mode, but some exception instances are in enabled protection or paused protection.
    dlpEnable number
    Data leakage protection enabled
    domain string
    Protected domain information. Supports wildcard and exact domains
    enableCustomRedirect number
    User-defined redirection enabled. 0: Off, 1: On
    enableHttp2 number
    Whether to enable HTTP/2.0. 0: Disabled, 1: Enabled.
    enableIpv6 number
    IPv6 request protection supported. 0: Off, 1: On
    enableSni number
    Whether to enable SNI configuration. 0: Off, 1: On.
    id string
    Uniquely identifies the resource.
    keepAliveRequest number
    Persistent connection reuse count
    keepAliveTimeout number
    Persistent connection keep-alive time (seconds)
    lbAlgorithm string
    Load balancing algorithm type. wrr: Weighted round robin, wlc: Weighted least connections, sh: Source address hash.
    port number
    Port number
    projectName string
    Project name.
    protocolFollow number
    Protocol following enabled. 0: Off, 1: On
    protocolPorts GetDomainProtocolPorts
    Access port information
    protocols string[]
    Access protocol type: supports HTTP/HTTPS
    proxyConfig number
    Proxy configuration enabled. 0: Off, 1: On
    proxyConnectTimeout number
    Connection timeout between WAF and backend server (seconds).
    proxyKeepAlive number
    Number of reusable WAF origin persistent connections.
    proxyKeepAliveTimeout number
    Idle persistent connection timeout (seconds)
    proxyReadTimeout number
    Timeout for WAF to read response from backend server (seconds).
    proxyRetry number
    WAF origin retry count.
    proxyWriteTimeout number
    Timeout for WAF to transmit request to backend server (seconds).
    publicRealServer number
    CNAME access origin method. 0: Private network origin, 1: Public network origin.
    rspAbnormalEnable number
    Whether to enable abnormal response protection.
    serverIps string
    Service IP
    srcIps string
    WAF origin IP.
    srcProtocol string
    Origin protocol.
    sslCiphers string[]
    Cipher suite
    sslProtocols string[]
    TLS protocol version. For example: TLSv1, TLSv1.1, TLSv1.2, TLSv1.3
    status number
    Access status. 0: Normal, 1: DNS not resolved, 2: Configuring, 3: Configuration failed, 4: Configuration not effective, 5: Updating, 6: Instance deleted.
    systemBotEnable number
    Whether to enable managed bot protection.
    tamperProofEnable number
    Whether to enable anti-tampering.
    tcpListenerConfigs GetDomainTcpListenerConfig[]
    TCP listener configuration.
    tlsEnable number
    Log service enabled. 0: Off, 1: On
    tlsFieldsConfig GetDomainTlsFieldsConfig
    Log field configuration details
    updateTime string
    Update time
    vpcId string
    VPC ID。
    wafEnable number
    WAF protection enabled
    wafWhiteReqEnable number
    Allowlist request protection enabled
    whiteEnable number
    Whether to enable allowlist protection.
    whiteFieldEnable number
    Field allowlist protection enabled
    access_mode int
    Access mode. 10: CNAME access, 11: Layer 7 load balancing (CLB) access.
    advanced_defense_ip str
    High defense instance IP. Displayed for high-defense WAF access; otherwise blank.
    advanced_defense_ipv6 str
    High defense instance IPv6. Displayed for high-defense WAF access; otherwise blank.
    api_enable int
    API protection policy enabled. 0: Off, 1: On
    attack_status int
    Attack status. 0: No attack detected, 1: Attack detected.
    auto_cc_enable int
    Whether to enable intelligent CC protection policy. 0: Disabled, 1: Enabled.
    automatic_black_enable int
    Whether to enable automatic blocking. 0: Disabled, 1: Enabled.
    backend_groups Sequence[GetDomainBackendGroup]
    Origin configuration.
    black_ip_enable int
    Denylist policy enabled. 0: Off, 1: On
    black_lct_enable int
    Whether to enable regional blocking policy. 0: Disabled; 1: Enabled.
    bot_dytoken_enable int
    Dynamic token protection enabled
    bot_frequency_enable int
    Bot rate limit policy enabled. 0: Off 1: On
    bot_repeat_enable int
    Bot statistics protection policy enabled. 0: Off 1: On
    bot_sequence_default_action int
    Set the default action for the bot behavior map policy. Effective when BotSequenceEnable = 1 is enabled. Default is 0 (Observe). 0: Observe 2: Intercept 6: JS Challenge 7: CAPTCHA.
    bot_sequence_enable int
    Whether to enable bot behavior map. 0: Off 1: On.
    cc_enable int
    Whether to enable CC protection policy. 0: Disabled 1: Enabled.
    certificate_id str
    Certificate ID managed in Certificate Center
    certificate_name str
    Certificate name. Displayed when protocol type includes HTTPS.
    certificate_platform str
    Certificate hosting platform: waf/certificate_service.
    clb_instance_ids str
    CLB instance ID.
    clb_listener_id str
    CLB listener ID.
    clb_pool_id str
    CLB backend server group ID.
    clb_server_id str
    CLB backend server ID
    client_ip_location int
    Client IP acquisition method. 0: Custom header field, 1: Use the first public IP address in the X-Forwarded-For (XFF) field as the real client IP address.
    client_max_body_size int
    Maximum client request body size (MB).
    cloud_access_configs Sequence[GetDomainCloudAccessConfig]
    LB access parameters.
    cname str
    CNAME record.
    custom_bot_enable int
    Whether to enable custom bot protection.
    custom_headers Sequence[str]
    Custom header.
    custom_rsp_enable int
    Whether to enable custom response.
    custom_sni str
    Custom SNI.
    defence_mode int
    Set protection mode for exception ALB instances. 1: Enable protection. The configured protection policies take effect. 2: Pause protection. Only forwarding is performed without inspection; the configured protection policies do not take effect. 3: Origin mode. Requests are sent directly to the origin server and are no longer forwarded to the WAF instance. After configuring exception protection instances, the domain may also have the following protection statuses: 5: Partially enabled. The default protection mode is enabled, but some exception instances are in paused protection or origin mode. 6: Partially paused. The default protection mode is paused, but some exception instances are in enabled protection or origin mode. 7: Partially origin. The default protection mode is origin mode, but some exception instances are in enabled protection or paused protection.
    dlp_enable int
    Data leakage protection enabled
    domain str
    Protected domain information. Supports wildcard and exact domains
    enable_custom_redirect int
    User-defined redirection enabled. 0: Off, 1: On
    enable_http2 int
    Whether to enable HTTP/2.0. 0: Disabled, 1: Enabled.
    enable_ipv6 int
    IPv6 request protection supported. 0: Off, 1: On
    enable_sni int
    Whether to enable SNI configuration. 0: Off, 1: On.
    id str
    Uniquely identifies the resource.
    keep_alive_request int
    Persistent connection reuse count
    keep_alive_timeout int
    Persistent connection keep-alive time (seconds)
    lb_algorithm str
    Load balancing algorithm type. wrr: Weighted round robin, wlc: Weighted least connections, sh: Source address hash.
    port int
    Port number
    project_name str
    Project name.
    protocol_follow int
    Protocol following enabled. 0: Off, 1: On
    protocol_ports GetDomainProtocolPorts
    Access port information
    protocols Sequence[str]
    Access protocol type: supports HTTP/HTTPS
    proxy_config int
    Proxy configuration enabled. 0: Off, 1: On
    proxy_connect_timeout int
    Connection timeout between WAF and backend server (seconds).
    proxy_keep_alive int
    Number of reusable WAF origin persistent connections.
    proxy_keep_alive_timeout int
    Idle persistent connection timeout (seconds)
    proxy_read_timeout int
    Timeout for WAF to read response from backend server (seconds).
    proxy_retry int
    WAF origin retry count.
    proxy_write_timeout int
    Timeout for WAF to transmit request to backend server (seconds).
    public_real_server int
    CNAME access origin method. 0: Private network origin, 1: Public network origin.
    rsp_abnormal_enable int
    Whether to enable abnormal response protection.
    server_ips str
    Service IP
    src_ips str
    WAF origin IP.
    src_protocol str
    Origin protocol.
    ssl_ciphers Sequence[str]
    Cipher suite
    ssl_protocols Sequence[str]
    TLS protocol version. For example: TLSv1, TLSv1.1, TLSv1.2, TLSv1.3
    status int
    Access status. 0: Normal, 1: DNS not resolved, 2: Configuring, 3: Configuration failed, 4: Configuration not effective, 5: Updating, 6: Instance deleted.
    system_bot_enable int
    Whether to enable managed bot protection.
    tamper_proof_enable int
    Whether to enable anti-tampering.
    tcp_listener_configs Sequence[GetDomainTcpListenerConfig]
    TCP listener configuration.
    tls_enable int
    Log service enabled. 0: Off, 1: On
    tls_fields_config GetDomainTlsFieldsConfig
    Log field configuration details
    update_time str
    Update time
    vpc_id str
    VPC ID。
    waf_enable int
    WAF protection enabled
    waf_white_req_enable int
    Allowlist request protection enabled
    white_enable int
    Whether to enable allowlist protection.
    white_field_enable int
    Field allowlist protection enabled
    accessMode Number
    Access mode. 10: CNAME access, 11: Layer 7 load balancing (CLB) access.
    advancedDefenseIp String
    High defense instance IP. Displayed for high-defense WAF access; otherwise blank.
    advancedDefenseIpv6 String
    High defense instance IPv6. Displayed for high-defense WAF access; otherwise blank.
    apiEnable Number
    API protection policy enabled. 0: Off, 1: On
    attackStatus Number
    Attack status. 0: No attack detected, 1: Attack detected.
    autoCcEnable Number
    Whether to enable intelligent CC protection policy. 0: Disabled, 1: Enabled.
    automaticBlackEnable Number
    Whether to enable automatic blocking. 0: Disabled, 1: Enabled.
    backendGroups List<Property Map>
    Origin configuration.
    blackIpEnable Number
    Denylist policy enabled. 0: Off, 1: On
    blackLctEnable Number
    Whether to enable regional blocking policy. 0: Disabled; 1: Enabled.
    botDytokenEnable Number
    Dynamic token protection enabled
    botFrequencyEnable Number
    Bot rate limit policy enabled. 0: Off 1: On
    botRepeatEnable Number
    Bot statistics protection policy enabled. 0: Off 1: On
    botSequenceDefaultAction Number
    Set the default action for the bot behavior map policy. Effective when BotSequenceEnable = 1 is enabled. Default is 0 (Observe). 0: Observe 2: Intercept 6: JS Challenge 7: CAPTCHA.
    botSequenceEnable Number
    Whether to enable bot behavior map. 0: Off 1: On.
    ccEnable Number
    Whether to enable CC protection policy. 0: Disabled 1: Enabled.
    certificateId String
    Certificate ID managed in Certificate Center
    certificateName String
    Certificate name. Displayed when protocol type includes HTTPS.
    certificatePlatform String
    Certificate hosting platform: waf/certificate_service.
    clbInstanceIds String
    CLB instance ID.
    clbListenerId String
    CLB listener ID.
    clbPoolId String
    CLB backend server group ID.
    clbServerId String
    CLB backend server ID
    clientIpLocation Number
    Client IP acquisition method. 0: Custom header field, 1: Use the first public IP address in the X-Forwarded-For (XFF) field as the real client IP address.
    clientMaxBodySize Number
    Maximum client request body size (MB).
    cloudAccessConfigs List<Property Map>
    LB access parameters.
    cname String
    CNAME record.
    customBotEnable Number
    Whether to enable custom bot protection.
    customHeaders List<String>
    Custom header.
    customRspEnable Number
    Whether to enable custom response.
    customSni String
    Custom SNI.
    defenceMode Number
    Set protection mode for exception ALB instances. 1: Enable protection. The configured protection policies take effect. 2: Pause protection. Only forwarding is performed without inspection; the configured protection policies do not take effect. 3: Origin mode. Requests are sent directly to the origin server and are no longer forwarded to the WAF instance. After configuring exception protection instances, the domain may also have the following protection statuses: 5: Partially enabled. The default protection mode is enabled, but some exception instances are in paused protection or origin mode. 6: Partially paused. The default protection mode is paused, but some exception instances are in enabled protection or origin mode. 7: Partially origin. The default protection mode is origin mode, but some exception instances are in enabled protection or paused protection.
    dlpEnable Number
    Data leakage protection enabled
    domain String
    Protected domain information. Supports wildcard and exact domains
    enableCustomRedirect Number
    User-defined redirection enabled. 0: Off, 1: On
    enableHttp2 Number
    Whether to enable HTTP/2.0. 0: Disabled, 1: Enabled.
    enableIpv6 Number
    IPv6 request protection supported. 0: Off, 1: On
    enableSni Number
    Whether to enable SNI configuration. 0: Off, 1: On.
    id String
    Uniquely identifies the resource.
    keepAliveRequest Number
    Persistent connection reuse count
    keepAliveTimeout Number
    Persistent connection keep-alive time (seconds)
    lbAlgorithm String
    Load balancing algorithm type. wrr: Weighted round robin, wlc: Weighted least connections, sh: Source address hash.
    port Number
    Port number
    projectName String
    Project name.
    protocolFollow Number
    Protocol following enabled. 0: Off, 1: On
    protocolPorts Property Map
    Access port information
    protocols List<String>
    Access protocol type: supports HTTP/HTTPS
    proxyConfig Number
    Proxy configuration enabled. 0: Off, 1: On
    proxyConnectTimeout Number
    Connection timeout between WAF and backend server (seconds).
    proxyKeepAlive Number
    Number of reusable WAF origin persistent connections.
    proxyKeepAliveTimeout Number
    Idle persistent connection timeout (seconds)
    proxyReadTimeout Number
    Timeout for WAF to read response from backend server (seconds).
    proxyRetry Number
    WAF origin retry count.
    proxyWriteTimeout Number
    Timeout for WAF to transmit request to backend server (seconds).
    publicRealServer Number
    CNAME access origin method. 0: Private network origin, 1: Public network origin.
    rspAbnormalEnable Number
    Whether to enable abnormal response protection.
    serverIps String
    Service IP
    srcIps String
    WAF origin IP.
    srcProtocol String
    Origin protocol.
    sslCiphers List<String>
    Cipher suite
    sslProtocols List<String>
    TLS protocol version. For example: TLSv1, TLSv1.1, TLSv1.2, TLSv1.3
    status Number
    Access status. 0: Normal, 1: DNS not resolved, 2: Configuring, 3: Configuration failed, 4: Configuration not effective, 5: Updating, 6: Instance deleted.
    systemBotEnable Number
    Whether to enable managed bot protection.
    tamperProofEnable Number
    Whether to enable anti-tampering.
    tcpListenerConfigs List<Property Map>
    TCP listener configuration.
    tlsEnable Number
    Log service enabled. 0: Off, 1: On
    tlsFieldsConfig Property Map
    Log field configuration details
    updateTime String
    Update time
    vpcId String
    VPC ID。
    wafEnable Number
    WAF protection enabled
    wafWhiteReqEnable Number
    Allowlist request protection enabled
    whiteEnable Number
    Whether to enable allowlist protection.
    whiteFieldEnable Number
    Field allowlist protection enabled

    Supporting Types

    GetDomainBackendGroup

    AccessPorts List<int>
    Access port number.
    Backends List<Byteplus.GetDomainBackendGroupBackend>
    Origin group details.
    Name string
    Origin group name.
    AccessPorts []int
    Access port number.
    Backends []GetDomainBackendGroupBackend
    Origin group details.
    Name string
    Origin group name.
    accessPorts List<Integer>
    Access port number.
    backends List<GetDomainBackendGroupBackend>
    Origin group details.
    name String
    Origin group name.
    accessPorts number[]
    Access port number.
    backends GetDomainBackendGroupBackend[]
    Origin group details.
    name string
    Origin group name.
    access_ports Sequence[int]
    Access port number.
    backends Sequence[GetDomainBackendGroupBackend]
    Origin group details.
    name str
    Origin group name.
    accessPorts List<Number>
    Access port number.
    backends List<Property Map>
    Origin group details.
    name String
    Origin group name.

    GetDomainBackendGroupBackend

    Ip string
    Origin IP address
    Port int
    Origin port
    Protocol string
    Origin protocol.
    Weight int
    Origin weight
    Ip string
    Origin IP address
    Port int
    Origin port
    Protocol string
    Origin protocol.
    Weight int
    Origin weight
    ip String
    Origin IP address
    port Integer
    Origin port
    protocol String
    Origin protocol.
    weight Integer
    Origin weight
    ip string
    Origin IP address
    port number
    Origin port
    protocol string
    Origin protocol.
    weight number
    Origin weight
    ip str
    Origin IP address
    port int
    Origin port
    protocol str
    Origin protocol.
    weight int
    Origin weight
    ip String
    Origin IP address
    port Number
    Origin port
    protocol String
    Origin protocol.
    weight Number
    Origin weight

    GetDomainCloudAccessConfig

    AccessProtocol string
    Access protocol type
    DefenceMode int
    Protection mode
    InstanceId string
    Load balancing instance ID.
    InstanceName string
    Load balancer instance name.
    ListenerId string
    Load balancing listener ID.
    LostAssociationFromAlb int
    Disassociated from ALB
    Port string
    Listener forwarding rule port number
    Protocol string
    Protocol type for listener forwarding rules.
    AccessProtocol string
    Access protocol type
    DefenceMode int
    Protection mode
    InstanceId string
    Load balancing instance ID.
    InstanceName string
    Load balancer instance name.
    ListenerId string
    Load balancing listener ID.
    LostAssociationFromAlb int
    Disassociated from ALB
    Port string
    Listener forwarding rule port number
    Protocol string
    Protocol type for listener forwarding rules.
    accessProtocol String
    Access protocol type
    defenceMode Integer
    Protection mode
    instanceId String
    Load balancing instance ID.
    instanceName String
    Load balancer instance name.
    listenerId String
    Load balancing listener ID.
    lostAssociationFromAlb Integer
    Disassociated from ALB
    port String
    Listener forwarding rule port number
    protocol String
    Protocol type for listener forwarding rules.
    accessProtocol string
    Access protocol type
    defenceMode number
    Protection mode
    instanceId string
    Load balancing instance ID.
    instanceName string
    Load balancer instance name.
    listenerId string
    Load balancing listener ID.
    lostAssociationFromAlb number
    Disassociated from ALB
    port string
    Listener forwarding rule port number
    protocol string
    Protocol type for listener forwarding rules.
    access_protocol str
    Access protocol type
    defence_mode int
    Protection mode
    instance_id str
    Load balancing instance ID.
    instance_name str
    Load balancer instance name.
    listener_id str
    Load balancing listener ID.
    lost_association_from_alb int
    Disassociated from ALB
    port str
    Listener forwarding rule port number
    protocol str
    Protocol type for listener forwarding rules.
    accessProtocol String
    Access protocol type
    defenceMode Number
    Protection mode
    instanceId String
    Load balancing instance ID.
    instanceName String
    Load balancer instance name.
    listenerId String
    Load balancing listener ID.
    lostAssociationFromAlb Number
    Disassociated from ALB
    port String
    Listener forwarding rule port number
    protocol String
    Protocol type for listener forwarding rules.

    GetDomainProtocolPorts

    Http List<int>
    HTTP protocol port number
    Https List<int>
    HTTPS protocol port number
    Http []int
    HTTP protocol port number
    Https []int
    HTTPS protocol port number
    http List<Integer>
    HTTP protocol port number
    https List<Integer>
    HTTPS protocol port number
    http number[]
    HTTP protocol port number
    https number[]
    HTTPS protocol port number
    http Sequence[int]
    HTTP protocol port number
    https Sequence[int]
    HTTPS protocol port number
    http List<Number>
    HTTP protocol port number
    https List<Number>
    HTTPS protocol port number

    GetDomainTcpListenerConfig

    AccessProtocol string
    Access protocol type
    DefenceMode int
    Protection mode
    InstanceId string
    Instance ID.
    InstanceName string
    Instance name.
    ListenerId string
    Listener ID.
    LostAssociationFromAlb int
    Disassociated from ALB
    Port string
    Listener port number
    Protocol string
    Listener protocol type.
    AccessProtocol string
    Access protocol type
    DefenceMode int
    Protection mode
    InstanceId string
    Instance ID.
    InstanceName string
    Instance name.
    ListenerId string
    Listener ID.
    LostAssociationFromAlb int
    Disassociated from ALB
    Port string
    Listener port number
    Protocol string
    Listener protocol type.
    accessProtocol String
    Access protocol type
    defenceMode Integer
    Protection mode
    instanceId String
    Instance ID.
    instanceName String
    Instance name.
    listenerId String
    Listener ID.
    lostAssociationFromAlb Integer
    Disassociated from ALB
    port String
    Listener port number
    protocol String
    Listener protocol type.
    accessProtocol string
    Access protocol type
    defenceMode number
    Protection mode
    instanceId string
    Instance ID.
    instanceName string
    Instance name.
    listenerId string
    Listener ID.
    lostAssociationFromAlb number
    Disassociated from ALB
    port string
    Listener port number
    protocol string
    Listener protocol type.
    access_protocol str
    Access protocol type
    defence_mode int
    Protection mode
    instance_id str
    Instance ID.
    instance_name str
    Instance name.
    listener_id str
    Listener ID.
    lost_association_from_alb int
    Disassociated from ALB
    port str
    Listener port number
    protocol str
    Listener protocol type.
    accessProtocol String
    Access protocol type
    defenceMode Number
    Protection mode
    instanceId String
    Instance ID.
    instanceName String
    Instance name.
    listenerId String
    Listener ID.
    lostAssociationFromAlb Number
    Disassociated from ALB
    port String
    Listener port number
    protocol String
    Listener protocol type.

    GetDomainTlsFieldsConfig

    GetDomainTlsFieldsConfigHeadersConfig

    Enable int
    Record all header fields
    ExcludedKeyLists List<string>
    Exception header fields. Exclude the specified fields from the JSON to help save log storage space.
    StatisticalKeyLists List<string>
    Statistics header fields. Use the specified fields for log analysis and alerts.
    Enable int
    Record all header fields
    ExcludedKeyLists []string
    Exception header fields. Exclude the specified fields from the JSON to help save log storage space.
    StatisticalKeyLists []string
    Statistics header fields. Use the specified fields for log analysis and alerts.
    enable Integer
    Record all header fields
    excludedKeyLists List<String>
    Exception header fields. Exclude the specified fields from the JSON to help save log storage space.
    statisticalKeyLists List<String>
    Statistics header fields. Use the specified fields for log analysis and alerts.
    enable number
    Record all header fields
    excludedKeyLists string[]
    Exception header fields. Exclude the specified fields from the JSON to help save log storage space.
    statisticalKeyLists string[]
    Statistics header fields. Use the specified fields for log analysis and alerts.
    enable int
    Record all header fields
    excluded_key_lists Sequence[str]
    Exception header fields. Exclude the specified fields from the JSON to help save log storage space.
    statistical_key_lists Sequence[str]
    Statistics header fields. Use the specified fields for log analysis and alerts.
    enable Number
    Record all header fields
    excludedKeyLists List<String>
    Exception header fields. Exclude the specified fields from the JSON to help save log storage space.
    statisticalKeyLists List<String>
    Statistics header fields. Use the specified fields for log analysis and alerts.

    Package Details

    Repository
    bytepluscc byteplus-sdk/pulumi-bytepluscc
    License
    MPL-2.0
    Notes
    This Pulumi package is based on the bytepluscc Terraform Provider.
    bytepluscc logo
    Viewing docs for bytepluscc v0.0.21
    published on Thursday, Apr 2, 2026 by Byteplus
      Try Pulumi Cloud free. Your team will thank you.