1. Registry
  2. Packages
  3. Edgecenter Provider
  4. API Docs
  5. WebsecResource
Viewing docs for edgecenter 0.18.4
published on Wednesday, Nov 11, 2026 by edge-center
edgecenter
Viewing docs for edgecenter 0.18.4
published on Wednesday, Nov 11, 2026 by edge-center

    WebSec resource: a domain under DDoS protection with its subdomains, source group, SSL certificate and protection options. Point the A record of the domain to protected_ip. For your own certificate set ssl_certificate; for a Let’s Encrypt one leave it unset and add edgecenter.WebsecLecert. An update is refused while protected_ip is empty, because the API would move the domain to a new address.

    Changing domain replaces the resource; every other attribute is updated in place.

    Import with <resource_id>. GET <edgecenter_websec_api>/resources lists the resources with their ids, and edgecenter_websec_api defaults to <api_endpoint>/v2/protection. A resource moved from the old protection API keeps the id of its edgecenter.ProtectionResource.

    Create WebsecResource Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new WebsecResource(name: string, args: WebsecResourceArgs, opts?: CustomResourceOptions);
    @overload
    def WebsecResource(resource_name: str,
                       args: WebsecResourceArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def WebsecResource(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       domain: Optional[str] = None,
                       source_group: Optional[float] = None,
                       active: Optional[bool] = None,
                       options: Optional[WebsecResourceOptionsArgs] = None,
                       ssl_certificate: Optional[float] = None,
                       subdomains: Optional[Sequence[str]] = None,
                       timeouts: Optional[WebsecResourceTimeoutsArgs] = None,
                       websec_resource_id: Optional[str] = None)
    func NewWebsecResource(ctx *Context, name string, args WebsecResourceArgs, opts ...ResourceOption) (*WebsecResource, error)
    public WebsecResource(string name, WebsecResourceArgs args, CustomResourceOptions? opts = null)
    public WebsecResource(String name, WebsecResourceArgs args)
    public WebsecResource(String name, WebsecResourceArgs args, CustomResourceOptions options)
    
    type: edgecenter:WebsecResource
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "edgecenter_websec_resource" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args WebsecResourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args WebsecResourceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args WebsecResourceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args WebsecResourceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args WebsecResourceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var websecResourceResource = new Edgecenter.WebsecResource("websecResourceResource", new()
    {
        Domain = "string",
        SourceGroup = 0.0,
        Active = false,
        Options = new Edgecenter.Inputs.WebsecResourceOptionsArgs
        {
            AllowedHttpMethods = new Edgecenter.Inputs.WebsecResourceOptionsAllowedHttpMethodsArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            AntibotChallengeUrlExceptions = new Edgecenter.Inputs.WebsecResourceOptionsAntibotChallengeUrlExceptionsArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            AntibotFloodChallenge = new Edgecenter.Inputs.WebsecResourceOptionsAntibotFloodChallengeArgs
            {
                AntibotChallengeGetOnlyOn = false,
                AntibotChallengeTimelimit = 0.0,
                AntibotChallengeUtmReferrer = false,
                Enabled = false,
                Value = "string",
            },
            AntibotFloodChallengeUserAgentWhitelist = new Edgecenter.Inputs.WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelistArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            AsnAcl = new Edgecenter.Inputs.WebsecResourceOptionsAsnAclArgs
            {
                ExceptedValues = new[]
                {
                    0.0,
                },
                PolicyType = "string",
                Enabled = false,
            },
            Blacklist = new Edgecenter.Inputs.WebsecResourceOptionsBlacklistArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            CountryAcl = new Edgecenter.Inputs.WebsecResourceOptionsCountryAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            IpHash = new Edgecenter.Inputs.WebsecResourceOptionsIpHashArgs
            {
                Value = false,
                Enabled = false,
            },
            MlAnalysis = new Edgecenter.Inputs.WebsecResourceOptionsMlAnalysisArgs
            {
                Value = false,
                Enabled = false,
            },
            RedirectHttpToHttps = new Edgecenter.Inputs.WebsecResourceOptionsRedirectHttpToHttpsArgs
            {
                Value = false,
                Enabled = false,
            },
            RedirectHttpsToHttp = new Edgecenter.Inputs.WebsecResourceOptionsRedirectHttpsToHttpArgs
            {
                Value = false,
                Enabled = false,
            },
            RefererAcl = new Edgecenter.Inputs.WebsecResourceOptionsRefererAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                DirectLink = false,
                Enabled = false,
            },
            ResponseHeaders = new Edgecenter.Inputs.WebsecResourceOptionsResponseHeadersArgs
            {
                Values = new[]
                {
                    new Edgecenter.Inputs.WebsecResourceOptionsResponseHeadersValueArgs
                    {
                        Name = "string",
                        Values = new[]
                        {
                            "string",
                        },
                        Always = false,
                    },
                },
                Enabled = false,
            },
            SourceProtocolHttps = new Edgecenter.Inputs.WebsecResourceOptionsSourceProtocolHttpsArgs
            {
                Value = false,
                Enabled = false,
            },
            TlsVersions = new Edgecenter.Inputs.WebsecResourceOptionsTlsVersionsArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            UpstreamHealthchecker = new Edgecenter.Inputs.WebsecResourceOptionsUpstreamHealthcheckerArgs
            {
                HealthUrl = "string",
                Enabled = false,
                Fall = 0.0,
                Host = "string",
                Interval = 0.0,
                Rise = 0.0,
                Timeout = 0.0,
                Type = "string",
            },
            UseDefaultLeChain = new Edgecenter.Inputs.WebsecResourceOptionsUseDefaultLeChainArgs
            {
                Value = false,
                Enabled = false,
            },
            UseRsaLeCert = new Edgecenter.Inputs.WebsecResourceOptionsUseRsaLeCertArgs
            {
                Value = false,
                Enabled = false,
            },
            UserAgentAcl = new Edgecenter.Inputs.WebsecResourceOptionsUserAgentAclArgs
            {
                ExceptedValues = new[]
                {
                    "string",
                },
                PolicyType = "string",
                Enabled = false,
            },
            Waf = new Edgecenter.Inputs.WebsecResourceOptionsWafArgs
            {
                Value = false,
                Enabled = false,
            },
            WafMonitoringMode = new Edgecenter.Inputs.WebsecResourceOptionsWafMonitoringModeArgs
            {
                Value = false,
                Enabled = false,
            },
            Whitelist = new Edgecenter.Inputs.WebsecResourceOptionsWhitelistArgs
            {
                Values = new[]
                {
                    "string",
                },
                Enabled = false,
            },
            WwwRedirects = new Edgecenter.Inputs.WebsecResourceOptionsWwwRedirectsArgs
            {
                Value = false,
                Enabled = false,
            },
        },
        SslCertificate = 0.0,
        Subdomains = new[]
        {
            "string",
        },
        Timeouts = new Edgecenter.Inputs.WebsecResourceTimeoutsArgs
        {
            Update = "string",
        },
        WebsecResourceId = "string",
    });
    
    example, err := edgecenter.NewWebsecResource(ctx, "websecResourceResource", &edgecenter.WebsecResourceArgs{
    	Domain:      pulumi.String("string"),
    	SourceGroup: pulumi.Float64(0),
    	Active:      pulumi.Bool(false),
    	Options: &edgecenter.WebsecResourceOptionsArgs{
    		AllowedHttpMethods: &edgecenter.WebsecResourceOptionsAllowedHttpMethodsArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		AntibotChallengeUrlExceptions: &edgecenter.WebsecResourceOptionsAntibotChallengeUrlExceptionsArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		AntibotFloodChallenge: &edgecenter.WebsecResourceOptionsAntibotFloodChallengeArgs{
    			AntibotChallengeGetOnlyOn:   pulumi.Bool(false),
    			AntibotChallengeTimelimit:   pulumi.Float64(0),
    			AntibotChallengeUtmReferrer: pulumi.Bool(false),
    			Enabled:                     pulumi.Bool(false),
    			Value:                       pulumi.String("string"),
    		},
    		AntibotFloodChallengeUserAgentWhitelist: &edgecenter.WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelistArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		AsnAcl: &edgecenter.WebsecResourceOptionsAsnAclArgs{
    			ExceptedValues: pulumi.Float64Array{
    				pulumi.Float64(0),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		Blacklist: &edgecenter.WebsecResourceOptionsBlacklistArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		CountryAcl: &edgecenter.WebsecResourceOptionsCountryAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		IpHash: &edgecenter.WebsecResourceOptionsIpHashArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		MlAnalysis: &edgecenter.WebsecResourceOptionsMlAnalysisArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		RedirectHttpToHttps: &edgecenter.WebsecResourceOptionsRedirectHttpToHttpsArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		RedirectHttpsToHttp: &edgecenter.WebsecResourceOptionsRedirectHttpsToHttpArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		RefererAcl: &edgecenter.WebsecResourceOptionsRefererAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			DirectLink: pulumi.Bool(false),
    			Enabled:    pulumi.Bool(false),
    		},
    		ResponseHeaders: &edgecenter.WebsecResourceOptionsResponseHeadersArgs{
    			Values: edgecenter.WebsecResourceOptionsResponseHeadersValueArray{
    				&edgecenter.WebsecResourceOptionsResponseHeadersValueArgs{
    					Name: pulumi.String("string"),
    					Values: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					Always: pulumi.Bool(false),
    				},
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		SourceProtocolHttps: &edgecenter.WebsecResourceOptionsSourceProtocolHttpsArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		TlsVersions: &edgecenter.WebsecResourceOptionsTlsVersionsArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		UpstreamHealthchecker: &edgecenter.WebsecResourceOptionsUpstreamHealthcheckerArgs{
    			HealthUrl: pulumi.String("string"),
    			Enabled:   pulumi.Bool(false),
    			Fall:      pulumi.Float64(0),
    			Host:      pulumi.String("string"),
    			Interval:  pulumi.Float64(0),
    			Rise:      pulumi.Float64(0),
    			Timeout:   pulumi.Float64(0),
    			Type:      pulumi.String("string"),
    		},
    		UseDefaultLeChain: &edgecenter.WebsecResourceOptionsUseDefaultLeChainArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		UseRsaLeCert: &edgecenter.WebsecResourceOptionsUseRsaLeCertArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		UserAgentAcl: &edgecenter.WebsecResourceOptionsUserAgentAclArgs{
    			ExceptedValues: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			PolicyType: pulumi.String("string"),
    			Enabled:    pulumi.Bool(false),
    		},
    		Waf: &edgecenter.WebsecResourceOptionsWafArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		WafMonitoringMode: &edgecenter.WebsecResourceOptionsWafMonitoringModeArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    		Whitelist: &edgecenter.WebsecResourceOptionsWhitelistArgs{
    			Values: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			Enabled: pulumi.Bool(false),
    		},
    		WwwRedirects: &edgecenter.WebsecResourceOptionsWwwRedirectsArgs{
    			Value:   pulumi.Bool(false),
    			Enabled: pulumi.Bool(false),
    		},
    	},
    	SslCertificate: pulumi.Float64(0),
    	Subdomains: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Timeouts: &edgecenter.WebsecResourceTimeoutsArgs{
    		Update: pulumi.String("string"),
    	},
    	WebsecResourceId: pulumi.String("string"),
    })
    
    resource "edgecenter_websec_resource" "websecResourceResource" {
      lifecycle {
        create_before_destroy = true
      }
      domain       = "string"
      source_group = 0
      active       = false
      options = {
        allowed_http_methods = {
          values  = ["string"]
          enabled = false
        }
        antibot_challenge_url_exceptions = {
          values  = ["string"]
          enabled = false
        }
        antibot_flood_challenge = {
          antibot_challenge_get_only_on  = false
          antibot_challenge_timelimit    = 0
          antibot_challenge_utm_referrer = false
          enabled                        = false
          value                          = "string"
        }
        antibot_flood_challenge_user_agent_whitelist = {
          values  = ["string"]
          enabled = false
        }
        asn_acl = {
          excepted_values = [0]
          policy_type     = "string"
          enabled         = false
        }
        blacklist = {
          values  = ["string"]
          enabled = false
        }
        country_acl = {
          excepted_values = ["string"]
          policy_type     = "string"
          enabled         = false
        }
        ip_hash = {
          value   = false
          enabled = false
        }
        ml_analysis = {
          value   = false
          enabled = false
        }
        redirect_http_to_https = {
          value   = false
          enabled = false
        }
        redirect_https_to_http = {
          value   = false
          enabled = false
        }
        referer_acl = {
          excepted_values = ["string"]
          policy_type     = "string"
          direct_link     = false
          enabled         = false
        }
        response_headers = {
          values = [{
            name   = "string"
            values = ["string"]
            always = false
          }]
          enabled = false
        }
        source_protocol_https = {
          value   = false
          enabled = false
        }
        tls_versions = {
          values  = ["string"]
          enabled = false
        }
        upstream_healthchecker = {
          health_url = "string"
          enabled    = false
          fall       = 0
          host       = "string"
          interval   = 0
          rise       = 0
          timeout    = 0
          type       = "string"
        }
        use_default_le_chain = {
          value   = false
          enabled = false
        }
        use_rsa_le_cert = {
          value   = false
          enabled = false
        }
        user_agent_acl = {
          excepted_values = ["string"]
          policy_type     = "string"
          enabled         = false
        }
        waf = {
          value   = false
          enabled = false
        }
        waf_monitoring_mode = {
          value   = false
          enabled = false
        }
        whitelist = {
          values  = ["string"]
          enabled = false
        }
        www_redirects = {
          value   = false
          enabled = false
        }
      }
      ssl_certificate = 0
      subdomains      = ["string"]
      _ {
        timeouts = {
          update = "string"
        }
      }
      websec_resource_id = "string"
    }
    
    var websecResourceResource = new WebsecResource("websecResourceResource", WebsecResourceArgs.builder()
        .domain("string")
        .sourceGroup(0.0)
        .active(false)
        .options(WebsecResourceOptionsArgs.builder()
            .allowedHttpMethods(WebsecResourceOptionsAllowedHttpMethodsArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .antibotChallengeUrlExceptions(WebsecResourceOptionsAntibotChallengeUrlExceptionsArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .antibotFloodChallenge(WebsecResourceOptionsAntibotFloodChallengeArgs.builder()
                .antibotChallengeGetOnlyOn(false)
                .antibotChallengeTimelimit(0.0)
                .antibotChallengeUtmReferrer(false)
                .enabled(false)
                .value("string")
                .build())
            .antibotFloodChallengeUserAgentWhitelist(WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelistArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .asnAcl(WebsecResourceOptionsAsnAclArgs.builder()
                .exceptedValues(0.0)
                .policyType("string")
                .enabled(false)
                .build())
            .blacklist(WebsecResourceOptionsBlacklistArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .countryAcl(WebsecResourceOptionsCountryAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .ipHash(WebsecResourceOptionsIpHashArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .mlAnalysis(WebsecResourceOptionsMlAnalysisArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .redirectHttpToHttps(WebsecResourceOptionsRedirectHttpToHttpsArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .redirectHttpsToHttp(WebsecResourceOptionsRedirectHttpsToHttpArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .refererAcl(WebsecResourceOptionsRefererAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .directLink(false)
                .enabled(false)
                .build())
            .responseHeaders(WebsecResourceOptionsResponseHeadersArgs.builder()
                .values(WebsecResourceOptionsResponseHeadersValueArgs.builder()
                    .name("string")
                    .values("string")
                    .always(false)
                    .build())
                .enabled(false)
                .build())
            .sourceProtocolHttps(WebsecResourceOptionsSourceProtocolHttpsArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .tlsVersions(WebsecResourceOptionsTlsVersionsArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .upstreamHealthchecker(WebsecResourceOptionsUpstreamHealthcheckerArgs.builder()
                .healthUrl("string")
                .enabled(false)
                .fall(0.0)
                .host("string")
                .interval(0.0)
                .rise(0.0)
                .timeout(0.0)
                .type("string")
                .build())
            .useDefaultLeChain(WebsecResourceOptionsUseDefaultLeChainArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .useRsaLeCert(WebsecResourceOptionsUseRsaLeCertArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .userAgentAcl(WebsecResourceOptionsUserAgentAclArgs.builder()
                .exceptedValues("string")
                .policyType("string")
                .enabled(false)
                .build())
            .waf(WebsecResourceOptionsWafArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .wafMonitoringMode(WebsecResourceOptionsWafMonitoringModeArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .whitelist(WebsecResourceOptionsWhitelistArgs.builder()
                .values("string")
                .enabled(false)
                .build())
            .wwwRedirects(WebsecResourceOptionsWwwRedirectsArgs.builder()
                .value(false)
                .enabled(false)
                .build())
            .build())
        .sslCertificate(0.0)
        .subdomains("string")
        .timeouts(WebsecResourceTimeoutsArgs.builder()
            .update("string")
            .build())
        .websecResourceId("string")
        .build());
    
    websec_resource_resource = edgecenter.WebsecResource("websecResourceResource",
        domain="string",
        source_group=float(0),
        active=False,
        options={
            "allowed_http_methods": {
                "values": ["string"],
                "enabled": False,
            },
            "antibot_challenge_url_exceptions": {
                "values": ["string"],
                "enabled": False,
            },
            "antibot_flood_challenge": {
                "antibot_challenge_get_only_on": False,
                "antibot_challenge_timelimit": float(0),
                "antibot_challenge_utm_referrer": False,
                "enabled": False,
                "value": "string",
            },
            "antibot_flood_challenge_user_agent_whitelist": {
                "values": ["string"],
                "enabled": False,
            },
            "asn_acl": {
                "excepted_values": [float(0)],
                "policy_type": "string",
                "enabled": False,
            },
            "blacklist": {
                "values": ["string"],
                "enabled": False,
            },
            "country_acl": {
                "excepted_values": ["string"],
                "policy_type": "string",
                "enabled": False,
            },
            "ip_hash": {
                "value": False,
                "enabled": False,
            },
            "ml_analysis": {
                "value": False,
                "enabled": False,
            },
            "redirect_http_to_https": {
                "value": False,
                "enabled": False,
            },
            "redirect_https_to_http": {
                "value": False,
                "enabled": False,
            },
            "referer_acl": {
                "excepted_values": ["string"],
                "policy_type": "string",
                "direct_link": False,
                "enabled": False,
            },
            "response_headers": {
                "values": [{
                    "name": "string",
                    "values": ["string"],
                    "always": False,
                }],
                "enabled": False,
            },
            "source_protocol_https": {
                "value": False,
                "enabled": False,
            },
            "tls_versions": {
                "values": ["string"],
                "enabled": False,
            },
            "upstream_healthchecker": {
                "health_url": "string",
                "enabled": False,
                "fall": float(0),
                "host": "string",
                "interval": float(0),
                "rise": float(0),
                "timeout": float(0),
                "type": "string",
            },
            "use_default_le_chain": {
                "value": False,
                "enabled": False,
            },
            "use_rsa_le_cert": {
                "value": False,
                "enabled": False,
            },
            "user_agent_acl": {
                "excepted_values": ["string"],
                "policy_type": "string",
                "enabled": False,
            },
            "waf": {
                "value": False,
                "enabled": False,
            },
            "waf_monitoring_mode": {
                "value": False,
                "enabled": False,
            },
            "whitelist": {
                "values": ["string"],
                "enabled": False,
            },
            "www_redirects": {
                "value": False,
                "enabled": False,
            },
        },
        ssl_certificate=float(0),
        subdomains=["string"],
        timeouts={
            "update": "string",
        },
        websec_resource_id="string")
    
    const websecResourceResource = new edgecenter.WebsecResource("websecResourceResource", {
        domain: "string",
        sourceGroup: 0,
        active: false,
        options: {
            allowedHttpMethods: {
                values: ["string"],
                enabled: false,
            },
            antibotChallengeUrlExceptions: {
                values: ["string"],
                enabled: false,
            },
            antibotFloodChallenge: {
                antibotChallengeGetOnlyOn: false,
                antibotChallengeTimelimit: 0,
                antibotChallengeUtmReferrer: false,
                enabled: false,
                value: "string",
            },
            antibotFloodChallengeUserAgentWhitelist: {
                values: ["string"],
                enabled: false,
            },
            asnAcl: {
                exceptedValues: [0],
                policyType: "string",
                enabled: false,
            },
            blacklist: {
                values: ["string"],
                enabled: false,
            },
            countryAcl: {
                exceptedValues: ["string"],
                policyType: "string",
                enabled: false,
            },
            ipHash: {
                value: false,
                enabled: false,
            },
            mlAnalysis: {
                value: false,
                enabled: false,
            },
            redirectHttpToHttps: {
                value: false,
                enabled: false,
            },
            redirectHttpsToHttp: {
                value: false,
                enabled: false,
            },
            refererAcl: {
                exceptedValues: ["string"],
                policyType: "string",
                directLink: false,
                enabled: false,
            },
            responseHeaders: {
                values: [{
                    name: "string",
                    values: ["string"],
                    always: false,
                }],
                enabled: false,
            },
            sourceProtocolHttps: {
                value: false,
                enabled: false,
            },
            tlsVersions: {
                values: ["string"],
                enabled: false,
            },
            upstreamHealthchecker: {
                healthUrl: "string",
                enabled: false,
                fall: 0,
                host: "string",
                interval: 0,
                rise: 0,
                timeout: 0,
                type: "string",
            },
            useDefaultLeChain: {
                value: false,
                enabled: false,
            },
            useRsaLeCert: {
                value: false,
                enabled: false,
            },
            userAgentAcl: {
                exceptedValues: ["string"],
                policyType: "string",
                enabled: false,
            },
            waf: {
                value: false,
                enabled: false,
            },
            wafMonitoringMode: {
                value: false,
                enabled: false,
            },
            whitelist: {
                values: ["string"],
                enabled: false,
            },
            wwwRedirects: {
                value: false,
                enabled: false,
            },
        },
        sslCertificate: 0,
        subdomains: ["string"],
        timeouts: {
            update: "string",
        },
        websecResourceId: "string",
    });
    
    type: edgecenter:WebsecResource
    properties:
        active: false
        domain: string
        options:
            allowedHttpMethods:
                enabled: false
                values:
                    - string
            antibotChallengeUrlExceptions:
                enabled: false
                values:
                    - string
            antibotFloodChallenge:
                antibotChallengeGetOnlyOn: false
                antibotChallengeTimelimit: 0
                antibotChallengeUtmReferrer: false
                enabled: false
                value: string
            antibotFloodChallengeUserAgentWhitelist:
                enabled: false
                values:
                    - string
            asnAcl:
                enabled: false
                exceptedValues:
                    - 0
                policyType: string
            blacklist:
                enabled: false
                values:
                    - string
            countryAcl:
                enabled: false
                exceptedValues:
                    - string
                policyType: string
            ipHash:
                enabled: false
                value: false
            mlAnalysis:
                enabled: false
                value: false
            redirectHttpToHttps:
                enabled: false
                value: false
            redirectHttpsToHttp:
                enabled: false
                value: false
            refererAcl:
                directLink: false
                enabled: false
                exceptedValues:
                    - string
                policyType: string
            responseHeaders:
                enabled: false
                values:
                    - always: false
                      name: string
                      values:
                        - string
            sourceProtocolHttps:
                enabled: false
                value: false
            tlsVersions:
                enabled: false
                values:
                    - string
            upstreamHealthchecker:
                enabled: false
                fall: 0
                healthUrl: string
                host: string
                interval: 0
                rise: 0
                timeout: 0
                type: string
            useDefaultLeChain:
                enabled: false
                value: false
            useRsaLeCert:
                enabled: false
                value: false
            userAgentAcl:
                enabled: false
                exceptedValues:
                    - string
                policyType: string
            waf:
                enabled: false
                value: false
            wafMonitoringMode:
                enabled: false
                value: false
            whitelist:
                enabled: false
                values:
                    - string
            wwwRedirects:
                enabled: false
                value: false
        sourceGroup: 0
        sslCertificate: 0
        subdomains:
            - string
        timeouts:
            update: string
        websecResourceId: string
    

    WebsecResource Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The WebsecResource resource accepts the following input properties:

    Domain string
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    SourceGroup double
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    Active bool
    Enable or disable the resource. Defaults to true.
    Options WebsecResourceOptions
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    SslCertificate double
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    Subdomains List<string>
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    Timeouts WebsecResourceTimeouts
    WebsecResourceId string
    The ID of this resource.
    Domain string
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    SourceGroup float64
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    Active bool
    Enable or disable the resource. Defaults to true.
    Options WebsecResourceOptionsArgs
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    SslCertificate float64
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    Subdomains []string
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    Timeouts WebsecResourceTimeoutsArgs
    WebsecResourceId string
    The ID of this resource.
    domain string
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    source_group number
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    active bool
    Enable or disable the resource. Defaults to true.
    options object
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    ssl_certificate number
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    subdomains list(string)
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts object
    websec_resource_id string
    The ID of this resource.
    domain String
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    sourceGroup Double
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    active Boolean
    Enable or disable the resource. Defaults to true.
    options WebsecResourceOptions
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    sslCertificate Double
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    subdomains List<String>
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts WebsecResourceTimeouts
    websecResourceId String
    The ID of this resource.
    domain string
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    sourceGroup number
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    active boolean
    Enable or disable the resource. Defaults to true.
    options WebsecResourceOptions
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    sslCertificate number
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    subdomains string[]
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts WebsecResourceTimeouts
    websecResourceId string
    The ID of this resource.
    domain str
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    source_group float
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    active bool
    Enable or disable the resource. Defaults to true.
    options WebsecResourceOptionsArgs
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    ssl_certificate float
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    subdomains Sequence[str]
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts WebsecResourceTimeoutsArgs
    websec_resource_id str
    The ID of this resource.
    domain String
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    sourceGroup Number
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    active Boolean
    Enable or disable the resource. Defaults to true.
    options Property Map
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    sslCertificate Number
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    subdomains List<String>
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts Property Map
    websecResourceId String
    The ID of this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the WebsecResource resource produces the following output properties:

    Client double
    Client ID.
    Enabled bool
    Whether the resource is enabled by the administrator.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProtectedIp string
    Protected IP address. The A record of domain must point to it.
    SslAutomated bool
    Whether the server issues and renews the certificate of the resource.
    SslCertificateAutomated bool
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    Status string
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    Client float64
    Client ID.
    Enabled bool
    Whether the resource is enabled by the administrator.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProtectedIp string
    Protected IP address. The A record of domain must point to it.
    SslAutomated bool
    Whether the server issues and renews the certificate of the resource.
    SslCertificateAutomated bool
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    Status string
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    client number
    Client ID.
    enabled bool
    Whether the resource is enabled by the administrator.
    id string
    The provider-assigned unique ID for this managed resource.
    protected_ip string
    Protected IP address. The A record of domain must point to it.
    ssl_automated bool
    Whether the server issues and renews the certificate of the resource.
    ssl_certificate_automated bool
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status string
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    client Double
    Client ID.
    enabled Boolean
    Whether the resource is enabled by the administrator.
    id String
    The provider-assigned unique ID for this managed resource.
    protectedIp String
    Protected IP address. The A record of domain must point to it.
    sslAutomated Boolean
    Whether the server issues and renews the certificate of the resource.
    sslCertificateAutomated Boolean
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status String
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    client number
    Client ID.
    enabled boolean
    Whether the resource is enabled by the administrator.
    id string
    The provider-assigned unique ID for this managed resource.
    protectedIp string
    Protected IP address. The A record of domain must point to it.
    sslAutomated boolean
    Whether the server issues and renews the certificate of the resource.
    sslCertificateAutomated boolean
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status string
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    client float
    Client ID.
    enabled bool
    Whether the resource is enabled by the administrator.
    id str
    The provider-assigned unique ID for this managed resource.
    protected_ip str
    Protected IP address. The A record of domain must point to it.
    ssl_automated bool
    Whether the server issues and renews the certificate of the resource.
    ssl_certificate_automated bool
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status str
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    client Number
    Client ID.
    enabled Boolean
    Whether the resource is enabled by the administrator.
    id String
    The provider-assigned unique ID for this managed resource.
    protectedIp String
    Protected IP address. The A record of domain must point to it.
    sslAutomated Boolean
    Whether the server issues and renews the certificate of the resource.
    sslCertificateAutomated Boolean
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status String
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.

    Look up Existing WebsecResource Resource

    Get an existing WebsecResource resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: WebsecResourceState, opts?: CustomResourceOptions): WebsecResource
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            active: Optional[bool] = None,
            client: Optional[float] = None,
            domain: Optional[str] = None,
            enabled: Optional[bool] = None,
            options: Optional[WebsecResourceOptionsArgs] = None,
            protected_ip: Optional[str] = None,
            source_group: Optional[float] = None,
            ssl_automated: Optional[bool] = None,
            ssl_certificate: Optional[float] = None,
            ssl_certificate_automated: Optional[bool] = None,
            status: Optional[str] = None,
            subdomains: Optional[Sequence[str]] = None,
            timeouts: Optional[WebsecResourceTimeoutsArgs] = None,
            websec_resource_id: Optional[str] = None) -> WebsecResource
    func GetWebsecResource(ctx *Context, name string, id IDInput, state *WebsecResourceState, opts ...ResourceOption) (*WebsecResource, error)
    public static WebsecResource Get(string name, Input<string> id, WebsecResourceState? state, CustomResourceOptions? opts = null)
    public static WebsecResource get(String name, Output<String> id, WebsecResourceState state, CustomResourceOptions options)
    resources:  _:    type: edgecenter:WebsecResource    get:      id: ${id}
    import {
      to = edgecenter_websec_resource.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Active bool
    Enable or disable the resource. Defaults to true.
    Client double
    Client ID.
    Domain string
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    Enabled bool
    Whether the resource is enabled by the administrator.
    Options WebsecResourceOptions
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    ProtectedIp string
    Protected IP address. The A record of domain must point to it.
    SourceGroup double
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    SslAutomated bool
    Whether the server issues and renews the certificate of the resource.
    SslCertificate double
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    SslCertificateAutomated bool
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    Status string
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    Subdomains List<string>
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    Timeouts WebsecResourceTimeouts
    WebsecResourceId string
    The ID of this resource.
    Active bool
    Enable or disable the resource. Defaults to true.
    Client float64
    Client ID.
    Domain string
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    Enabled bool
    Whether the resource is enabled by the administrator.
    Options WebsecResourceOptionsArgs
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    ProtectedIp string
    Protected IP address. The A record of domain must point to it.
    SourceGroup float64
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    SslAutomated bool
    Whether the server issues and renews the certificate of the resource.
    SslCertificate float64
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    SslCertificateAutomated bool
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    Status string
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    Subdomains []string
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    Timeouts WebsecResourceTimeoutsArgs
    WebsecResourceId string
    The ID of this resource.
    active bool
    Enable or disable the resource. Defaults to true.
    client number
    Client ID.
    domain string
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    enabled bool
    Whether the resource is enabled by the administrator.
    options object
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    protected_ip string
    Protected IP address. The A record of domain must point to it.
    source_group number
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    ssl_automated bool
    Whether the server issues and renews the certificate of the resource.
    ssl_certificate number
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    ssl_certificate_automated bool
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status string
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    subdomains list(string)
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts object
    websec_resource_id string
    The ID of this resource.
    active Boolean
    Enable or disable the resource. Defaults to true.
    client Double
    Client ID.
    domain String
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    enabled Boolean
    Whether the resource is enabled by the administrator.
    options WebsecResourceOptions
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    protectedIp String
    Protected IP address. The A record of domain must point to it.
    sourceGroup Double
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    sslAutomated Boolean
    Whether the server issues and renews the certificate of the resource.
    sslCertificate Double
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    sslCertificateAutomated Boolean
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status String
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    subdomains List<String>
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts WebsecResourceTimeouts
    websecResourceId String
    The ID of this resource.
    active boolean
    Enable or disable the resource. Defaults to true.
    client number
    Client ID.
    domain string
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    enabled boolean
    Whether the resource is enabled by the administrator.
    options WebsecResourceOptions
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    protectedIp string
    Protected IP address. The A record of domain must point to it.
    sourceGroup number
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    sslAutomated boolean
    Whether the server issues and renews the certificate of the resource.
    sslCertificate number
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    sslCertificateAutomated boolean
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status string
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    subdomains string[]
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts WebsecResourceTimeouts
    websecResourceId string
    The ID of this resource.
    active bool
    Enable or disable the resource. Defaults to true.
    client float
    Client ID.
    domain str
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    enabled bool
    Whether the resource is enabled by the administrator.
    options WebsecResourceOptionsArgs
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    protected_ip str
    Protected IP address. The A record of domain must point to it.
    source_group float
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    ssl_automated bool
    Whether the server issues and renews the certificate of the resource.
    ssl_certificate float
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    ssl_certificate_automated bool
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status str
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    subdomains Sequence[str]
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts WebsecResourceTimeoutsArgs
    websec_resource_id str
    The ID of this resource.
    active Boolean
    Enable or disable the resource. Defaults to true.
    client Number
    Client ID.
    domain String
    Domain name to protect, in lowercase, two levels or more. "*." is allowed as the first label. Changing it replaces the resource.
    enabled Boolean
    Whether the resource is enabled by the administrator.
    options Property Map
    Protection options of the resource. The resource is created with exactly the options set here: every other option, including the ones this provider does not manage, is sent as null, so no API defaults apply. An update sends only the options that changed, and removing an option block deletes the option. Options this provider does not manage are neither read nor changed after create. An empty options {} block is rejected.
    protectedIp String
    Protected IP address. The A record of domain must point to it.
    sourceGroup Number
    ID of the edgecenter.WebsecSourceGroup the requests go to.
    sslAutomated Boolean
    Whether the server issues and renews the certificate of the resource.
    sslCertificate Number
    ID of your own edgecenter.WebsecSslCertificate. Leave it unset when the certificate comes from edgecenter.WebsecLecert: the server links that one itself. A change is refused while an automated certificate is linked: to switch to your own certificate, remove the edgecenter.WebsecLecert of the resource in the same apply.
    sslCertificateAutomated Boolean
    Whether the linked certificate is an automated one, issued by edgecenter.WebsecLecert.
    status String
    Resource status: "processed" after create, "active" once the protection agents report the resource. A resource moved from the old protection API keeps its old status string.
    subdomains List<String>
    Subdomains of domain protected together with it, in lowercase, each ending with .<domain>. "*." as the first label needs wildcard subdomains enabled for the account.
    timeouts Property Map
    websecResourceId String
    The ID of this resource.

    Supporting Types

    WebsecResourceOptions, WebsecResourceOptionsArgs

    AllowedHttpMethods WebsecResourceOptionsAllowedHttpMethods
    HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
    AntibotChallengeUrlExceptions WebsecResourceOptionsAntibotChallengeUrlExceptions
    URLs that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    AntibotFloodChallenge WebsecResourceOptionsAntibotFloodChallenge
    Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables antibot_challenge_url_exceptions and antibot_flood_challenge_user_agent_whitelist of the resource.
    AntibotFloodChallengeUserAgentWhitelist WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelist
    User agents that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    AsnAcl WebsecResourceOptionsAsnAcl
    Allow or deny requests by the autonomous system number of the client.
    Blacklist WebsecResourceOptionsBlacklist
    IPv4 and IPv6 addresses and networks denied access to the resource.
    CountryAcl WebsecResourceOptionsCountryAcl
    Allow or deny requests by the country of the client.
    IpHash WebsecResourceOptionsIpHash
    Send all requests of a client to the same source, chosen by the client IP address.
    MlAnalysis WebsecResourceOptionsMlAnalysis
    Analyze requests with machine learning. It can be enabled only together with waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model.
    RedirectHttpToHttps WebsecResourceOptionsRedirectHttpToHttps
    Redirect HTTP requests to HTTPS. The resource needs a certificate, ssl_certificate or one issued by edgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing the edgecenter.WebsecLecert.
    RedirectHttpsToHttp WebsecResourceOptionsRedirectHttpsToHttp
    Redirect HTTPS requests to HTTP.
    RefererAcl WebsecResourceOptionsRefererAcl
    Allow or deny requests by the Referer header.
    ResponseHeaders WebsecResourceOptionsResponseHeaders
    Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
    SourceProtocolHttps WebsecResourceOptionsSourceProtocolHttps
    Connect to the sources over HTTPS.
    TlsVersions WebsecResourceOptionsTlsVersions
    TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
    UpstreamHealthchecker WebsecResourceOptionsUpstreamHealthchecker
    Check the health of the sources with requests to health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needs type "https" when source_protocol_https is enabled and "http" otherwise.
    UseDefaultLeChain WebsecResourceOptionsUseDefaultLeChain
    Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
    UseRsaLeCert WebsecResourceOptionsUseRsaLeCert
    Issue RSA Let's Encrypt certificates instead of ECDSA ones.
    UserAgentAcl WebsecResourceOptionsUserAgentAcl
    Allow or deny requests by the User-Agent header.
    Waf WebsecResourceOptionsWaf
    Enable the web application firewall. The WAF must be enabled on the account.
    WafMonitoringMode WebsecResourceOptionsWafMonitoringMode
    Run the WAF in monitoring mode. It can be enabled only together with waf, and only if the WAF of the account supports this mode.
    Whitelist WebsecResourceOptionsWhitelist
    IPv4 and IPv6 addresses and networks on the whitelist of the resource.
    WwwRedirects WebsecResourceOptionsWwwRedirects
    Redirect requests from the www subdomain to domain. Enabling it needs www.<domain> in subdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
    AllowedHttpMethods WebsecResourceOptionsAllowedHttpMethods
    HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
    AntibotChallengeUrlExceptions WebsecResourceOptionsAntibotChallengeUrlExceptions
    URLs that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    AntibotFloodChallenge WebsecResourceOptionsAntibotFloodChallenge
    Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables antibot_challenge_url_exceptions and antibot_flood_challenge_user_agent_whitelist of the resource.
    AntibotFloodChallengeUserAgentWhitelist WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelist
    User agents that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    AsnAcl WebsecResourceOptionsAsnAcl
    Allow or deny requests by the autonomous system number of the client.
    Blacklist WebsecResourceOptionsBlacklist
    IPv4 and IPv6 addresses and networks denied access to the resource.
    CountryAcl WebsecResourceOptionsCountryAcl
    Allow or deny requests by the country of the client.
    IpHash WebsecResourceOptionsIpHash
    Send all requests of a client to the same source, chosen by the client IP address.
    MlAnalysis WebsecResourceOptionsMlAnalysis
    Analyze requests with machine learning. It can be enabled only together with waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model.
    RedirectHttpToHttps WebsecResourceOptionsRedirectHttpToHttps
    Redirect HTTP requests to HTTPS. The resource needs a certificate, ssl_certificate or one issued by edgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing the edgecenter.WebsecLecert.
    RedirectHttpsToHttp WebsecResourceOptionsRedirectHttpsToHttp
    Redirect HTTPS requests to HTTP.
    RefererAcl WebsecResourceOptionsRefererAcl
    Allow or deny requests by the Referer header.
    ResponseHeaders WebsecResourceOptionsResponseHeaders
    Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
    SourceProtocolHttps WebsecResourceOptionsSourceProtocolHttps
    Connect to the sources over HTTPS.
    TlsVersions WebsecResourceOptionsTlsVersions
    TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
    UpstreamHealthchecker WebsecResourceOptionsUpstreamHealthchecker
    Check the health of the sources with requests to health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needs type "https" when source_protocol_https is enabled and "http" otherwise.
    UseDefaultLeChain WebsecResourceOptionsUseDefaultLeChain
    Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
    UseRsaLeCert WebsecResourceOptionsUseRsaLeCert
    Issue RSA Let's Encrypt certificates instead of ECDSA ones.
    UserAgentAcl WebsecResourceOptionsUserAgentAcl
    Allow or deny requests by the User-Agent header.
    Waf WebsecResourceOptionsWaf
    Enable the web application firewall. The WAF must be enabled on the account.
    WafMonitoringMode WebsecResourceOptionsWafMonitoringMode
    Run the WAF in monitoring mode. It can be enabled only together with waf, and only if the WAF of the account supports this mode.
    Whitelist WebsecResourceOptionsWhitelist
    IPv4 and IPv6 addresses and networks on the whitelist of the resource.
    WwwRedirects WebsecResourceOptionsWwwRedirects
    Redirect requests from the www subdomain to domain. Enabling it needs www.<domain> in subdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
    allowed_http_methods object
    HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
    antibot_challenge_url_exceptions object
    URLs that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    antibot_flood_challenge object
    Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables antibot_challenge_url_exceptions and antibot_flood_challenge_user_agent_whitelist of the resource.
    antibot_flood_challenge_user_agent_whitelist object
    User agents that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    asn_acl object
    Allow or deny requests by the autonomous system number of the client.
    blacklist object
    IPv4 and IPv6 addresses and networks denied access to the resource.
    country_acl object
    Allow or deny requests by the country of the client.
    ip_hash object
    Send all requests of a client to the same source, chosen by the client IP address.
    ml_analysis object
    Analyze requests with machine learning. It can be enabled only together with waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model.
    redirect_http_to_https object
    Redirect HTTP requests to HTTPS. The resource needs a certificate, ssl_certificate or one issued by edgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing the edgecenter.WebsecLecert.
    redirect_https_to_http object
    Redirect HTTPS requests to HTTP.
    referer_acl object
    Allow or deny requests by the Referer header.
    response_headers object
    Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
    source_protocol_https object
    Connect to the sources over HTTPS.
    tls_versions object
    TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
    upstream_healthchecker object
    Check the health of the sources with requests to health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needs type "https" when source_protocol_https is enabled and "http" otherwise.
    use_default_le_chain object
    Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
    use_rsa_le_cert object
    Issue RSA Let's Encrypt certificates instead of ECDSA ones.
    user_agent_acl object
    Allow or deny requests by the User-Agent header.
    waf object
    Enable the web application firewall. The WAF must be enabled on the account.
    waf_monitoring_mode object
    Run the WAF in monitoring mode. It can be enabled only together with waf, and only if the WAF of the account supports this mode.
    whitelist object
    IPv4 and IPv6 addresses and networks on the whitelist of the resource.
    www_redirects object
    Redirect requests from the www subdomain to domain. Enabling it needs www.<domain> in subdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
    allowedHttpMethods WebsecResourceOptionsAllowedHttpMethods
    HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
    antibotChallengeUrlExceptions WebsecResourceOptionsAntibotChallengeUrlExceptions
    URLs that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    antibotFloodChallenge WebsecResourceOptionsAntibotFloodChallenge
    Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables antibot_challenge_url_exceptions and antibot_flood_challenge_user_agent_whitelist of the resource.
    antibotFloodChallengeUserAgentWhitelist WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelist
    User agents that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    asnAcl WebsecResourceOptionsAsnAcl
    Allow or deny requests by the autonomous system number of the client.
    blacklist WebsecResourceOptionsBlacklist
    IPv4 and IPv6 addresses and networks denied access to the resource.
    countryAcl WebsecResourceOptionsCountryAcl
    Allow or deny requests by the country of the client.
    ipHash WebsecResourceOptionsIpHash
    Send all requests of a client to the same source, chosen by the client IP address.
    mlAnalysis WebsecResourceOptionsMlAnalysis
    Analyze requests with machine learning. It can be enabled only together with waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model.
    redirectHttpToHttps WebsecResourceOptionsRedirectHttpToHttps
    Redirect HTTP requests to HTTPS. The resource needs a certificate, ssl_certificate or one issued by edgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing the edgecenter.WebsecLecert.
    redirectHttpsToHttp WebsecResourceOptionsRedirectHttpsToHttp
    Redirect HTTPS requests to HTTP.
    refererAcl WebsecResourceOptionsRefererAcl
    Allow or deny requests by the Referer header.
    responseHeaders WebsecResourceOptionsResponseHeaders
    Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
    sourceProtocolHttps WebsecResourceOptionsSourceProtocolHttps
    Connect to the sources over HTTPS.
    tlsVersions WebsecResourceOptionsTlsVersions
    TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
    upstreamHealthchecker WebsecResourceOptionsUpstreamHealthchecker
    Check the health of the sources with requests to health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needs type "https" when source_protocol_https is enabled and "http" otherwise.
    useDefaultLeChain WebsecResourceOptionsUseDefaultLeChain
    Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
    useRsaLeCert WebsecResourceOptionsUseRsaLeCert
    Issue RSA Let's Encrypt certificates instead of ECDSA ones.
    userAgentAcl WebsecResourceOptionsUserAgentAcl
    Allow or deny requests by the User-Agent header.
    waf WebsecResourceOptionsWaf
    Enable the web application firewall. The WAF must be enabled on the account.
    wafMonitoringMode WebsecResourceOptionsWafMonitoringMode
    Run the WAF in monitoring mode. It can be enabled only together with waf, and only if the WAF of the account supports this mode.
    whitelist WebsecResourceOptionsWhitelist
    IPv4 and IPv6 addresses and networks on the whitelist of the resource.
    wwwRedirects WebsecResourceOptionsWwwRedirects
    Redirect requests from the www subdomain to domain. Enabling it needs www.<domain> in subdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
    allowedHttpMethods WebsecResourceOptionsAllowedHttpMethods
    HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
    antibotChallengeUrlExceptions WebsecResourceOptionsAntibotChallengeUrlExceptions
    URLs that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    antibotFloodChallenge WebsecResourceOptionsAntibotFloodChallenge
    Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables antibot_challenge_url_exceptions and antibot_flood_challenge_user_agent_whitelist of the resource.
    antibotFloodChallengeUserAgentWhitelist WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelist
    User agents that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    asnAcl WebsecResourceOptionsAsnAcl
    Allow or deny requests by the autonomous system number of the client.
    blacklist WebsecResourceOptionsBlacklist
    IPv4 and IPv6 addresses and networks denied access to the resource.
    countryAcl WebsecResourceOptionsCountryAcl
    Allow or deny requests by the country of the client.
    ipHash WebsecResourceOptionsIpHash
    Send all requests of a client to the same source, chosen by the client IP address.
    mlAnalysis WebsecResourceOptionsMlAnalysis
    Analyze requests with machine learning. It can be enabled only together with waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model.
    redirectHttpToHttps WebsecResourceOptionsRedirectHttpToHttps
    Redirect HTTP requests to HTTPS. The resource needs a certificate, ssl_certificate or one issued by edgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing the edgecenter.WebsecLecert.
    redirectHttpsToHttp WebsecResourceOptionsRedirectHttpsToHttp
    Redirect HTTPS requests to HTTP.
    refererAcl WebsecResourceOptionsRefererAcl
    Allow or deny requests by the Referer header.
    responseHeaders WebsecResourceOptionsResponseHeaders
    Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
    sourceProtocolHttps WebsecResourceOptionsSourceProtocolHttps
    Connect to the sources over HTTPS.
    tlsVersions WebsecResourceOptionsTlsVersions
    TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
    upstreamHealthchecker WebsecResourceOptionsUpstreamHealthchecker
    Check the health of the sources with requests to health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needs type "https" when source_protocol_https is enabled and "http" otherwise.
    useDefaultLeChain WebsecResourceOptionsUseDefaultLeChain
    Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
    useRsaLeCert WebsecResourceOptionsUseRsaLeCert
    Issue RSA Let's Encrypt certificates instead of ECDSA ones.
    userAgentAcl WebsecResourceOptionsUserAgentAcl
    Allow or deny requests by the User-Agent header.
    waf WebsecResourceOptionsWaf
    Enable the web application firewall. The WAF must be enabled on the account.
    wafMonitoringMode WebsecResourceOptionsWafMonitoringMode
    Run the WAF in monitoring mode. It can be enabled only together with waf, and only if the WAF of the account supports this mode.
    whitelist WebsecResourceOptionsWhitelist
    IPv4 and IPv6 addresses and networks on the whitelist of the resource.
    wwwRedirects WebsecResourceOptionsWwwRedirects
    Redirect requests from the www subdomain to domain. Enabling it needs www.<domain> in subdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
    allowed_http_methods WebsecResourceOptionsAllowedHttpMethods
    HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
    antibot_challenge_url_exceptions WebsecResourceOptionsAntibotChallengeUrlExceptions
    URLs that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    antibot_flood_challenge WebsecResourceOptionsAntibotFloodChallenge
    Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables antibot_challenge_url_exceptions and antibot_flood_challenge_user_agent_whitelist of the resource.
    antibot_flood_challenge_user_agent_whitelist WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelist
    User agents that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    asn_acl WebsecResourceOptionsAsnAcl
    Allow or deny requests by the autonomous system number of the client.
    blacklist WebsecResourceOptionsBlacklist
    IPv4 and IPv6 addresses and networks denied access to the resource.
    country_acl WebsecResourceOptionsCountryAcl
    Allow or deny requests by the country of the client.
    ip_hash WebsecResourceOptionsIpHash
    Send all requests of a client to the same source, chosen by the client IP address.
    ml_analysis WebsecResourceOptionsMlAnalysis
    Analyze requests with machine learning. It can be enabled only together with waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model.
    redirect_http_to_https WebsecResourceOptionsRedirectHttpToHttps
    Redirect HTTP requests to HTTPS. The resource needs a certificate, ssl_certificate or one issued by edgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing the edgecenter.WebsecLecert.
    redirect_https_to_http WebsecResourceOptionsRedirectHttpsToHttp
    Redirect HTTPS requests to HTTP.
    referer_acl WebsecResourceOptionsRefererAcl
    Allow or deny requests by the Referer header.
    response_headers WebsecResourceOptionsResponseHeaders
    Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
    source_protocol_https WebsecResourceOptionsSourceProtocolHttps
    Connect to the sources over HTTPS.
    tls_versions WebsecResourceOptionsTlsVersions
    TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
    upstream_healthchecker WebsecResourceOptionsUpstreamHealthchecker
    Check the health of the sources with requests to health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needs type "https" when source_protocol_https is enabled and "http" otherwise.
    use_default_le_chain WebsecResourceOptionsUseDefaultLeChain
    Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
    use_rsa_le_cert WebsecResourceOptionsUseRsaLeCert
    Issue RSA Let's Encrypt certificates instead of ECDSA ones.
    user_agent_acl WebsecResourceOptionsUserAgentAcl
    Allow or deny requests by the User-Agent header.
    waf WebsecResourceOptionsWaf
    Enable the web application firewall. The WAF must be enabled on the account.
    waf_monitoring_mode WebsecResourceOptionsWafMonitoringMode
    Run the WAF in monitoring mode. It can be enabled only together with waf, and only if the WAF of the account supports this mode.
    whitelist WebsecResourceOptionsWhitelist
    IPv4 and IPv6 addresses and networks on the whitelist of the resource.
    www_redirects WebsecResourceOptionsWwwRedirects
    Redirect requests from the www subdomain to domain. Enabling it needs www.<domain> in subdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.
    allowedHttpMethods Property Map
    HTTP methods allowed in requests. The methods you can use are set per client and resource, by default "GET", "HEAD", "POST", "PUT", "PATCH", "DELETE" and "OPTIONS".
    antibotChallengeUrlExceptions Property Map
    URLs that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    antibotFloodChallenge Property Map
    Check that a request comes from a browser before passing it on. The check answers with HTTP 307 and sets the antibot cookie. Disabling it on a resource also disables antibot_challenge_url_exceptions and antibot_flood_challenge_user_agent_whitelist of the resource.
    antibotFloodChallengeUserAgentWhitelist Property Map
    User agents that skip the check of antibot_flood_challenge. It can be enabled only together with an enabled antibot_flood_challenge.
    asnAcl Property Map
    Allow or deny requests by the autonomous system number of the client.
    blacklist Property Map
    IPv4 and IPv6 addresses and networks denied access to the resource.
    countryAcl Property Map
    Allow or deny requests by the country of the client.
    ipHash Property Map
    Send all requests of a client to the same source, chosen by the client IP address.
    mlAnalysis Property Map
    Analyze requests with machine learning. It can be enabled only together with waf, only if the WAF of the account supports ML analysis, and only while the account has a free ML model.
    redirectHttpToHttps Property Map
    Redirect HTTP requests to HTTPS. The resource needs a certificate, ssl_certificate or one issued by edgecenter.WebsecLecert. A Let's Encrypt certificate is issued after the resource is created, so enable the redirect for it in a later apply, and disable the redirect before removing the edgecenter.WebsecLecert.
    redirectHttpsToHttp Property Map
    Redirect HTTPS requests to HTTP.
    refererAcl Property Map
    Allow or deny requests by the Referer header.
    responseHeaders Property Map
    Add headers to the responses. Header names are case insensitive and must be unique. Which names and values the API accepts is set per client.
    sourceProtocolHttps Property Map
    Connect to the sources over HTTPS.
    tlsVersions Property Map
    TLS versions the resource accepts. The versions you can use are set per client, by default "SSLv3", "TLSv1", "TLSv1.1", "TLSv1.2" and "TLSv1.3". Without this block the resource is created with no TLS versions option at all, so set it explicitly.
    upstreamHealthchecker Property Map
    Check the health of the sources with requests to health_url. The API accepts the option, even a disabled one, only if the account is allowed to use it. An enabled check needs type "https" when source_protocol_https is enabled and "http" otherwise.
    useDefaultLeChain Property Map
    Issue Let's Encrypt certificates with the default chain, which devices on Android 7.1.1 or earlier need. Without the option the alternative chain is used.
    useRsaLeCert Property Map
    Issue RSA Let's Encrypt certificates instead of ECDSA ones.
    userAgentAcl Property Map
    Allow or deny requests by the User-Agent header.
    waf Property Map
    Enable the web application firewall. The WAF must be enabled on the account.
    wafMonitoringMode Property Map
    Run the WAF in monitoring mode. It can be enabled only together with waf, and only if the WAF of the account supports this mode.
    whitelist Property Map
    IPv4 and IPv6 addresses and networks on the whitelist of the resource.
    wwwRedirects Property Map
    Redirect requests from the www subdomain to domain. Enabling it needs www.<domain> in subdomains. Removing that subdomain deletes the option in the API, so remove this block in the same change.

    WebsecResourceOptionsAllowedHttpMethods, WebsecResourceOptionsAllowedHttpMethodsArgs

    Values List<string>
    Allowed HTTP methods.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Values []string
    Allowed HTTP methods.
    Enabled bool
    Enable or disable the option. Defaults to true.
    values list(string)
    Allowed HTTP methods.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    Allowed HTTP methods.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    values string[]
    Allowed HTTP methods.
    enabled boolean
    Enable or disable the option. Defaults to true.
    values Sequence[str]
    Allowed HTTP methods.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    Allowed HTTP methods.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsAntibotChallengeUrlExceptions, WebsecResourceOptionsAntibotChallengeUrlExceptionsArgs

    Values List<string>
    Patterns that start with "/" or "~" and are valid regular expressions, without spaces, quotes and semicolons.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Values []string
    Patterns that start with "/" or "~" and are valid regular expressions, without spaces, quotes and semicolons.
    Enabled bool
    Enable or disable the option. Defaults to true.
    values list(string)
    Patterns that start with "/" or "~" and are valid regular expressions, without spaces, quotes and semicolons.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    Patterns that start with "/" or "~" and are valid regular expressions, without spaces, quotes and semicolons.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    values string[]
    Patterns that start with "/" or "~" and are valid regular expressions, without spaces, quotes and semicolons.
    enabled boolean
    Enable or disable the option. Defaults to true.
    values Sequence[str]
    Patterns that start with "/" or "~" and are valid regular expressions, without spaces, quotes and semicolons.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    Patterns that start with "/" or "~" and are valid regular expressions, without spaces, quotes and semicolons.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsAntibotFloodChallenge, WebsecResourceOptionsAntibotFloodChallengeArgs

    AntibotChallengeGetOnlyOn bool
    Apply the antibot cookie to GET requests only. Defaults to false.
    AntibotChallengeTimelimit double
    Lifetime of the antibot cookie in minutes. Defaults to 10.
    AntibotChallengeUtmReferrer bool
    Keep the UTM parameters of the original request through the challenge redirect. Defaults to false.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value string
    Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
    AntibotChallengeGetOnlyOn bool
    Apply the antibot cookie to GET requests only. Defaults to false.
    AntibotChallengeTimelimit float64
    Lifetime of the antibot cookie in minutes. Defaults to 10.
    AntibotChallengeUtmReferrer bool
    Keep the UTM parameters of the original request through the challenge redirect. Defaults to false.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value string
    Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
    antibot_challenge_get_only_on bool
    Apply the antibot cookie to GET requests only. Defaults to false.
    antibot_challenge_timelimit number
    Lifetime of the antibot cookie in minutes. Defaults to 10.
    antibot_challenge_utm_referrer bool
    Keep the UTM parameters of the original request through the challenge redirect. Defaults to false.
    enabled bool
    Enable or disable the option. Defaults to true.
    value string
    Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
    antibotChallengeGetOnlyOn Boolean
    Apply the antibot cookie to GET requests only. Defaults to false.
    antibotChallengeTimelimit Double
    Lifetime of the antibot cookie in minutes. Defaults to 10.
    antibotChallengeUtmReferrer Boolean
    Keep the UTM parameters of the original request through the challenge redirect. Defaults to false.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value String
    Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
    antibotChallengeGetOnlyOn boolean
    Apply the antibot cookie to GET requests only. Defaults to false.
    antibotChallengeTimelimit number
    Lifetime of the antibot cookie in minutes. Defaults to 10.
    antibotChallengeUtmReferrer boolean
    Keep the UTM parameters of the original request through the challenge redirect. Defaults to false.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value string
    Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
    antibot_challenge_get_only_on bool
    Apply the antibot cookie to GET requests only. Defaults to false.
    antibot_challenge_timelimit float
    Lifetime of the antibot cookie in minutes. Defaults to 10.
    antibot_challenge_utm_referrer bool
    Keep the UTM parameters of the original request through the challenge redirect. Defaults to false.
    enabled bool
    Enable or disable the option. Defaults to true.
    value str
    Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.
    antibotChallengeGetOnlyOn Boolean
    Apply the antibot cookie to GET requests only. Defaults to false.
    antibotChallengeTimelimit Number
    Lifetime of the antibot cookie in minutes. Defaults to 10.
    antibotChallengeUtmReferrer Boolean
    Keep the UTM parameters of the original request through the challenge redirect. Defaults to false.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value String
    Check type: "ANTIBOTCHALLENGE" checks the browser request, "ANTIBOTCHALLENGEJS" checks it with a JavaScript file, "ANTIBOTCHALLENGEJSBOX" needs a human interaction. Required when the option is enabled.

    WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelist, WebsecResourceOptionsAntibotFloodChallengeUserAgentWhitelistArgs

    Values List<string>
    User agents.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Values []string
    User agents.
    Enabled bool
    Enable or disable the option. Defaults to true.
    values list(string)
    User agents.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    User agents.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    values string[]
    User agents.
    enabled boolean
    Enable or disable the option. Defaults to true.
    values Sequence[str]
    User agents.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    User agents.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsAsnAcl, WebsecResourceOptionsAsnAclArgs

    ExceptedValues List<double>
    ASNs that are the exceptions from policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set.
    PolicyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    Enabled bool
    Enable or disable the option. Defaults to true.
    ExceptedValues []float64
    ASNs that are the exceptions from policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set.
    PolicyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    Enabled bool
    Enable or disable the option. Defaults to true.
    excepted_values list(number)
    ASNs that are the exceptions from policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set.
    policy_type string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled bool
    Enable or disable the option. Defaults to true.
    exceptedValues List<Double>
    ASNs that are the exceptions from policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set.
    policyType String
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    exceptedValues number[]
    ASNs that are the exceptions from policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set.
    policyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled boolean
    Enable or disable the option. Defaults to true.
    excepted_values Sequence[float]
    ASNs that are the exceptions from policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set.
    policy_type str
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled bool
    Enable or disable the option. Defaults to true.
    exceptedValues List<Number>
    ASNs that are the exceptions from policy_type, from 1 to 2147483647. Private 4-byte ASNs above 2147483647 cannot be set.
    policyType String
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsBlacklist, WebsecResourceOptionsBlacklistArgs

    Values List<string>
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Values []string
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    Enabled bool
    Enable or disable the option. Defaults to true.
    values list(string)
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    values string[]
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled boolean
    Enable or disable the option. Defaults to true.
    values Sequence[str]
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsCountryAcl, WebsecResourceOptionsCountryAclArgs

    ExceptedValues List<string>
    ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from policy_type.
    PolicyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    Enabled bool
    Enable or disable the option. Defaults to true.
    ExceptedValues []string
    ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from policy_type.
    PolicyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    Enabled bool
    Enable or disable the option. Defaults to true.
    excepted_values list(string)
    ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from policy_type.
    policy_type string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled bool
    Enable or disable the option. Defaults to true.
    exceptedValues List<String>
    ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from policy_type.
    policyType String
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    exceptedValues string[]
    ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from policy_type.
    policyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled boolean
    Enable or disable the option. Defaults to true.
    excepted_values Sequence[str]
    ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from policy_type.
    policy_type str
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled bool
    Enable or disable the option. Defaults to true.
    exceptedValues List<String>
    ISO 3166-1 alpha-2 country codes in uppercase that are the exceptions from policy_type.
    policyType String
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsIpHash, WebsecResourceOptionsIpHashArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsMlAnalysis, WebsecResourceOptionsMlAnalysisArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsRedirectHttpToHttps, WebsecResourceOptionsRedirectHttpToHttpsArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsRedirectHttpsToHttp, WebsecResourceOptionsRedirectHttpsToHttpArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsRefererAcl, WebsecResourceOptionsRefererAclArgs

    ExceptedValues List<string>
    Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from policy_type. An empty string stands for requests without the Referer header and needs at least one more value.
    PolicyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    DirectLink bool
    How the API handles requests without the Referer header, its direct_link flag. Defaults to false.
    Enabled bool
    Enable or disable the option. Defaults to true.
    ExceptedValues []string
    Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from policy_type. An empty string stands for requests without the Referer header and needs at least one more value.
    PolicyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    DirectLink bool
    How the API handles requests without the Referer header, its direct_link flag. Defaults to false.
    Enabled bool
    Enable or disable the option. Defaults to true.
    excepted_values list(string)
    Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from policy_type. An empty string stands for requests without the Referer header and needs at least one more value.
    policy_type string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    direct_link bool
    How the API handles requests without the Referer header, its direct_link flag. Defaults to false.
    enabled bool
    Enable or disable the option. Defaults to true.
    exceptedValues List<String>
    Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from policy_type. An empty string stands for requests without the Referer header and needs at least one more value.
    policyType String
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    directLink Boolean
    How the API handles requests without the Referer header, its direct_link flag. Defaults to false.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    exceptedValues string[]
    Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from policy_type. An empty string stands for requests without the Referer header and needs at least one more value.
    policyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    directLink boolean
    How the API handles requests without the Referer header, its direct_link flag. Defaults to false.
    enabled boolean
    Enable or disable the option. Defaults to true.
    excepted_values Sequence[str]
    Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from policy_type. An empty string stands for requests without the Referer header and needs at least one more value.
    policy_type str
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    direct_link bool
    How the API handles requests without the Referer header, its direct_link flag. Defaults to false.
    enabled bool
    Enable or disable the option. Defaults to true.
    exceptedValues List<String>
    Domains, ".domain" or "domain." patterns in lowercase that are the exceptions from policy_type. An empty string stands for requests without the Referer header and needs at least one more value.
    policyType String
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    directLink Boolean
    How the API handles requests without the Referer header, its direct_link flag. Defaults to false.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsResponseHeaders, WebsecResourceOptionsResponseHeadersArgs

    Values List<WebsecResourceOptionsResponseHeadersValue>
    Headers to add.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Values []WebsecResourceOptionsResponseHeadersValue
    Headers to add.
    Enabled bool
    Enable or disable the option. Defaults to true.
    values list(object)
    Headers to add.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<WebsecResourceOptionsResponseHeadersValue>
    Headers to add.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    values WebsecResourceOptionsResponseHeadersValue[]
    Headers to add.
    enabled boolean
    Enable or disable the option. Defaults to true.
    values Sequence[WebsecResourceOptionsResponseHeadersValue]
    Headers to add.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<Property Map>
    Headers to add.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsResponseHeadersValue, WebsecResourceOptionsResponseHeadersValueArgs

    Name string
    Header name.
    Values List<string>
    Header values.
    Always bool
    Add the header to every response, whatever its status code. Defaults to false.
    Name string
    Header name.
    Values []string
    Header values.
    Always bool
    Add the header to every response, whatever its status code. Defaults to false.
    name string
    Header name.
    values list(string)
    Header values.
    always bool
    Add the header to every response, whatever its status code. Defaults to false.
    name String
    Header name.
    values List<String>
    Header values.
    always Boolean
    Add the header to every response, whatever its status code. Defaults to false.
    name string
    Header name.
    values string[]
    Header values.
    always boolean
    Add the header to every response, whatever its status code. Defaults to false.
    name str
    Header name.
    values Sequence[str]
    Header values.
    always bool
    Add the header to every response, whatever its status code. Defaults to false.
    name String
    Header name.
    values List<String>
    Header values.
    always Boolean
    Add the header to every response, whatever its status code. Defaults to false.

    WebsecResourceOptionsSourceProtocolHttps, WebsecResourceOptionsSourceProtocolHttpsArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsTlsVersions, WebsecResourceOptionsTlsVersionsArgs

    Values List<string>
    TLS versions.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Values []string
    TLS versions.
    Enabled bool
    Enable or disable the option. Defaults to true.
    values list(string)
    TLS versions.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    TLS versions.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    values string[]
    TLS versions.
    enabled boolean
    Enable or disable the option. Defaults to true.
    values Sequence[str]
    TLS versions.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    TLS versions.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsUpstreamHealthchecker, WebsecResourceOptionsUpstreamHealthcheckerArgs

    HealthUrl string
    Path of the check requests, starting with "/".
    Enabled bool
    Enable or disable the option. Defaults to true.
    Fall double
    Failed checks in a row that mark a source as down. Defaults to 2.
    Host string
    Domain name for the check requests.
    Interval double
    Interval between the checks in milliseconds. Defaults to 15000.
    Rise double
    Successful checks in a row that mark a source as up. Defaults to 3.
    Timeout double
    Timeout of a check in milliseconds. Defaults to 10000.
    Type string
    Protocol of the checks, "http" or "https". Defaults to "http".
    HealthUrl string
    Path of the check requests, starting with "/".
    Enabled bool
    Enable or disable the option. Defaults to true.
    Fall float64
    Failed checks in a row that mark a source as down. Defaults to 2.
    Host string
    Domain name for the check requests.
    Interval float64
    Interval between the checks in milliseconds. Defaults to 15000.
    Rise float64
    Successful checks in a row that mark a source as up. Defaults to 3.
    Timeout float64
    Timeout of a check in milliseconds. Defaults to 10000.
    Type string
    Protocol of the checks, "http" or "https". Defaults to "http".
    health_url string
    Path of the check requests, starting with "/".
    enabled bool
    Enable or disable the option. Defaults to true.
    fall number
    Failed checks in a row that mark a source as down. Defaults to 2.
    host string
    Domain name for the check requests.
    interval number
    Interval between the checks in milliseconds. Defaults to 15000.
    rise number
    Successful checks in a row that mark a source as up. Defaults to 3.
    timeout number
    Timeout of a check in milliseconds. Defaults to 10000.
    type string
    Protocol of the checks, "http" or "https". Defaults to "http".
    healthUrl String
    Path of the check requests, starting with "/".
    enabled Boolean
    Enable or disable the option. Defaults to true.
    fall Double
    Failed checks in a row that mark a source as down. Defaults to 2.
    host String
    Domain name for the check requests.
    interval Double
    Interval between the checks in milliseconds. Defaults to 15000.
    rise Double
    Successful checks in a row that mark a source as up. Defaults to 3.
    timeout Double
    Timeout of a check in milliseconds. Defaults to 10000.
    type String
    Protocol of the checks, "http" or "https". Defaults to "http".
    healthUrl string
    Path of the check requests, starting with "/".
    enabled boolean
    Enable or disable the option. Defaults to true.
    fall number
    Failed checks in a row that mark a source as down. Defaults to 2.
    host string
    Domain name for the check requests.
    interval number
    Interval between the checks in milliseconds. Defaults to 15000.
    rise number
    Successful checks in a row that mark a source as up. Defaults to 3.
    timeout number
    Timeout of a check in milliseconds. Defaults to 10000.
    type string
    Protocol of the checks, "http" or "https". Defaults to "http".
    health_url str
    Path of the check requests, starting with "/".
    enabled bool
    Enable or disable the option. Defaults to true.
    fall float
    Failed checks in a row that mark a source as down. Defaults to 2.
    host str
    Domain name for the check requests.
    interval float
    Interval between the checks in milliseconds. Defaults to 15000.
    rise float
    Successful checks in a row that mark a source as up. Defaults to 3.
    timeout float
    Timeout of a check in milliseconds. Defaults to 10000.
    type str
    Protocol of the checks, "http" or "https". Defaults to "http".
    healthUrl String
    Path of the check requests, starting with "/".
    enabled Boolean
    Enable or disable the option. Defaults to true.
    fall Number
    Failed checks in a row that mark a source as down. Defaults to 2.
    host String
    Domain name for the check requests.
    interval Number
    Interval between the checks in milliseconds. Defaults to 15000.
    rise Number
    Successful checks in a row that mark a source as up. Defaults to 3.
    timeout Number
    Timeout of a check in milliseconds. Defaults to 10000.
    type String
    Protocol of the checks, "http" or "https". Defaults to "http".

    WebsecResourceOptionsUseDefaultLeChain, WebsecResourceOptionsUseDefaultLeChainArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsUseRsaLeCert, WebsecResourceOptionsUseRsaLeCertArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsUserAgentAcl, WebsecResourceOptionsUserAgentAclArgs

    ExceptedValues List<string>
    User agents that are the exceptions from policy_type. A value that starts with "~" is a regular expression.
    PolicyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    Enabled bool
    Enable or disable the option. Defaults to true.
    ExceptedValues []string
    User agents that are the exceptions from policy_type. A value that starts with "~" is a regular expression.
    PolicyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    Enabled bool
    Enable or disable the option. Defaults to true.
    excepted_values list(string)
    User agents that are the exceptions from policy_type. A value that starts with "~" is a regular expression.
    policy_type string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled bool
    Enable or disable the option. Defaults to true.
    exceptedValues List<String>
    User agents that are the exceptions from policy_type. A value that starts with "~" is a regular expression.
    policyType String
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    exceptedValues string[]
    User agents that are the exceptions from policy_type. A value that starts with "~" is a regular expression.
    policyType string
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled boolean
    Enable or disable the option. Defaults to true.
    excepted_values Sequence[str]
    User agents that are the exceptions from policy_type. A value that starts with "~" is a regular expression.
    policy_type str
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled bool
    Enable or disable the option. Defaults to true.
    exceptedValues List<String>
    User agents that are the exceptions from policy_type. A value that starts with "~" is a regular expression.
    policyType String
    Default policy, "allow" or "deny". Requests that match excepted_values get the opposite one.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsWaf, WebsecResourceOptionsWafArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsWafMonitoringMode, WebsecResourceOptionsWafMonitoringModeArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsWhitelist, WebsecResourceOptionsWhitelistArgs

    Values List<string>
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Values []string
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    Enabled bool
    Enable or disable the option. Defaults to true.
    values list(string)
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    values string[]
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled boolean
    Enable or disable the option. Defaults to true.
    values Sequence[str]
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled bool
    Enable or disable the option. Defaults to true.
    values List<String>
    Addresses and networks. The API stores an address as a network, "1.2.3.4" as "1.2.3.4/32", and both forms are the same value here.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceOptionsWwwRedirects, WebsecResourceOptionsWwwRedirectsArgs

    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    Value bool
    Value of the option.
    Enabled bool
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.
    value boolean
    Value of the option.
    enabled boolean
    Enable or disable the option. Defaults to true.
    value bool
    Value of the option.
    enabled bool
    Enable or disable the option. Defaults to true.
    value Boolean
    Value of the option.
    enabled Boolean
    Enable or disable the option. Defaults to true.

    WebsecResourceTimeouts, WebsecResourceTimeoutsArgs

    Update string
    Update string
    update string
    update String
    update string
    update str
    update String

    Import

    The pulumi import command can be used, for example:

    $ pulumi import edgecenter:index/websecResource:WebsecResource example_com 12345
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    edgecenter
    Viewing docs for edgecenter 0.18.4
    published on Wednesday, Nov 11, 2026 by edge-center

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial