1. Packages
  2. Incapsula Provider
  3. API Docs
  4. Site
incapsula 3.33.0 published on Wednesday, Apr 30, 2025 by imperva

incapsula.Site

Explore with Pulumi AI

incapsula logo
incapsula 3.33.0 published on Wednesday, Apr 30, 2025 by imperva

    Provides a Incapsula Site resource. Sites are the core resource that is required by all other resources.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as incapsula from "@pulumi/incapsula";
    
    const example_site = new incapsula.Site("example-site", {
        accountId: 123,
        dataStorageRegion: "US",
        domain: "examplesite.com",
        forceSsl: "false",
        hashSalt: "foobar",
        hashingEnabled: true,
        logLevel: "full",
        logsAccountId: "456",
        perfClientComplyNoCache: true,
        perfClientEnableClientSideCaching: true,
        perfClientSendAgeHeader: true,
        perfKeyComplyVary: true,
        perfKeyUniteNakedFullCache: true,
        perfModeHttps: "include_all_resources",
        perfModeLevel: "standard",
        perfModeTime: 1000,
        perfResponseCache300x: true,
        perfResponseCache404Enabled: true,
        perfResponseCache404Time: 60,
        perfResponseCacheEmptyResponses: true,
        perfResponseCacheHttp10Responses: true,
        perfResponseCacheResponseHeaderMode: "custom",
        perfResponseCacheResponseHeaders: [
            "Access-Control-Allow-Origin",
            "Foo-Bar-Header",
        ],
        perfResponseCacheShield: true,
        perfResponseStaleContentMode: "custom",
        perfResponseStaleContentTime: 1000,
        perfResponseTagResponseHeader: "Example-Tag-Value-Header",
        perfTtlPreferLastModified: true,
        perfTtlUseShortestCaching: true,
        refId: "123",
        sendSiteSetupEmails: "false",
        siteIp: "2.2.2.2",
    });
    
    import pulumi
    import pulumi_incapsula as incapsula
    
    example_site = incapsula.Site("example-site",
        account_id=123,
        data_storage_region="US",
        domain="examplesite.com",
        force_ssl="false",
        hash_salt="foobar",
        hashing_enabled=True,
        log_level="full",
        logs_account_id="456",
        perf_client_comply_no_cache=True,
        perf_client_enable_client_side_caching=True,
        perf_client_send_age_header=True,
        perf_key_comply_vary=True,
        perf_key_unite_naked_full_cache=True,
        perf_mode_https="include_all_resources",
        perf_mode_level="standard",
        perf_mode_time=1000,
        perf_response_cache300x=True,
        perf_response_cache404_enabled=True,
        perf_response_cache404_time=60,
        perf_response_cache_empty_responses=True,
        perf_response_cache_http10_responses=True,
        perf_response_cache_response_header_mode="custom",
        perf_response_cache_response_headers=[
            "Access-Control-Allow-Origin",
            "Foo-Bar-Header",
        ],
        perf_response_cache_shield=True,
        perf_response_stale_content_mode="custom",
        perf_response_stale_content_time=1000,
        perf_response_tag_response_header="Example-Tag-Value-Header",
        perf_ttl_prefer_last_modified=True,
        perf_ttl_use_shortest_caching=True,
        ref_id="123",
        send_site_setup_emails="false",
        site_ip="2.2.2.2")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/incapsula/v3/incapsula"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := incapsula.NewSite(ctx, "example-site", &incapsula.SiteArgs{
    			AccountId:                           pulumi.Float64(123),
    			DataStorageRegion:                   pulumi.String("US"),
    			Domain:                              pulumi.String("examplesite.com"),
    			ForceSsl:                            pulumi.String("false"),
    			HashSalt:                            pulumi.String("foobar"),
    			HashingEnabled:                      pulumi.Bool(true),
    			LogLevel:                            pulumi.String("full"),
    			LogsAccountId:                       pulumi.String("456"),
    			PerfClientComplyNoCache:             pulumi.Bool(true),
    			PerfClientEnableClientSideCaching:   pulumi.Bool(true),
    			PerfClientSendAgeHeader:             pulumi.Bool(true),
    			PerfKeyComplyVary:                   pulumi.Bool(true),
    			PerfKeyUniteNakedFullCache:          pulumi.Bool(true),
    			PerfModeHttps:                       pulumi.String("include_all_resources"),
    			PerfModeLevel:                       pulumi.String("standard"),
    			PerfModeTime:                        pulumi.Float64(1000),
    			PerfResponseCache300x:               pulumi.Bool(true),
    			PerfResponseCache404Enabled:         pulumi.Bool(true),
    			PerfResponseCache404Time:            pulumi.Float64(60),
    			PerfResponseCacheEmptyResponses:     pulumi.Bool(true),
    			PerfResponseCacheHttp10Responses:    pulumi.Bool(true),
    			PerfResponseCacheResponseHeaderMode: pulumi.String("custom"),
    			PerfResponseCacheResponseHeaders: pulumi.StringArray{
    				pulumi.String("Access-Control-Allow-Origin"),
    				pulumi.String("Foo-Bar-Header"),
    			},
    			PerfResponseCacheShield:       pulumi.Bool(true),
    			PerfResponseStaleContentMode:  pulumi.String("custom"),
    			PerfResponseStaleContentTime:  pulumi.Float64(1000),
    			PerfResponseTagResponseHeader: pulumi.String("Example-Tag-Value-Header"),
    			PerfTtlPreferLastModified:     pulumi.Bool(true),
    			PerfTtlUseShortestCaching:     pulumi.Bool(true),
    			RefId:                         pulumi.String("123"),
    			SendSiteSetupEmails:           pulumi.String("false"),
    			SiteIp:                        pulumi.String("2.2.2.2"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Incapsula = Pulumi.Incapsula;
    
    return await Deployment.RunAsync(() => 
    {
        var example_site = new Incapsula.Site("example-site", new()
        {
            AccountId = 123,
            DataStorageRegion = "US",
            Domain = "examplesite.com",
            ForceSsl = "false",
            HashSalt = "foobar",
            HashingEnabled = true,
            LogLevel = "full",
            LogsAccountId = "456",
            PerfClientComplyNoCache = true,
            PerfClientEnableClientSideCaching = true,
            PerfClientSendAgeHeader = true,
            PerfKeyComplyVary = true,
            PerfKeyUniteNakedFullCache = true,
            PerfModeHttps = "include_all_resources",
            PerfModeLevel = "standard",
            PerfModeTime = 1000,
            PerfResponseCache300x = true,
            PerfResponseCache404Enabled = true,
            PerfResponseCache404Time = 60,
            PerfResponseCacheEmptyResponses = true,
            PerfResponseCacheHttp10Responses = true,
            PerfResponseCacheResponseHeaderMode = "custom",
            PerfResponseCacheResponseHeaders = new[]
            {
                "Access-Control-Allow-Origin",
                "Foo-Bar-Header",
            },
            PerfResponseCacheShield = true,
            PerfResponseStaleContentMode = "custom",
            PerfResponseStaleContentTime = 1000,
            PerfResponseTagResponseHeader = "Example-Tag-Value-Header",
            PerfTtlPreferLastModified = true,
            PerfTtlUseShortestCaching = true,
            RefId = "123",
            SendSiteSetupEmails = "false",
            SiteIp = "2.2.2.2",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.incapsula.Site;
    import com.pulumi.incapsula.SiteArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example_site = new Site("example-site", SiteArgs.builder()
                .accountId(123)
                .dataStorageRegion("US")
                .domain("examplesite.com")
                .forceSsl("false")
                .hashSalt("foobar")
                .hashingEnabled(true)
                .logLevel("full")
                .logsAccountId("456")
                .perfClientComplyNoCache(true)
                .perfClientEnableClientSideCaching(true)
                .perfClientSendAgeHeader(true)
                .perfKeyComplyVary(true)
                .perfKeyUniteNakedFullCache(true)
                .perfModeHttps("include_all_resources")
                .perfModeLevel("standard")
                .perfModeTime(1000)
                .perfResponseCache300x(true)
                .perfResponseCache404Enabled(true)
                .perfResponseCache404Time(60)
                .perfResponseCacheEmptyResponses(true)
                .perfResponseCacheHttp10Responses(true)
                .perfResponseCacheResponseHeaderMode("custom")
                .perfResponseCacheResponseHeaders(            
                    "Access-Control-Allow-Origin",
                    "Foo-Bar-Header")
                .perfResponseCacheShield(true)
                .perfResponseStaleContentMode("custom")
                .perfResponseStaleContentTime(1000)
                .perfResponseTagResponseHeader("Example-Tag-Value-Header")
                .perfTtlPreferLastModified(true)
                .perfTtlUseShortestCaching(true)
                .refId("123")
                .sendSiteSetupEmails("false")
                .siteIp("2.2.2.2")
                .build());
    
        }
    }
    
    resources:
      example-site:
        type: incapsula:Site
        properties:
          accountId: 123
          dataStorageRegion: US
          domain: examplesite.com
          forceSsl: 'false'
          hashSalt: foobar
          hashingEnabled: true
          logLevel: full
          logsAccountId: '456'
          # Performance
          perfClientComplyNoCache: true
          perfClientEnableClientSideCaching: true
          perfClientSendAgeHeader: true
          perfKeyComplyVary: true
          perfKeyUniteNakedFullCache: true
          perfModeHttps: include_all_resources
          perfModeLevel: standard
          perfModeTime: 1000
          perfResponseCache300x: true
          perfResponseCache404Enabled: true
          perfResponseCache404Time: 60
          perfResponseCacheEmptyResponses: true
          perfResponseCacheHttp10Responses: true
          perfResponseCacheResponseHeaderMode: custom
          perfResponseCacheResponseHeaders:
            - Access-Control-Allow-Origin
            - Foo-Bar-Header
          perfResponseCacheShield: true
          perfResponseStaleContentMode: custom
          perfResponseStaleContentTime: 1000
          perfResponseTagResponseHeader: Example-Tag-Value-Header
          perfTtlPreferLastModified: true
          perfTtlUseShortestCaching: true
          refId: '123'
          sendSiteSetupEmails: 'false'
          siteIp: 2.2.2.2
    

    Create Site Resource

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

    Constructor syntax

    new Site(name: string, args: SiteArgs, opts?: CustomResourceOptions);
    @overload
    def Site(resource_name: str,
             args: SiteArgs,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Site(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             domain: Optional[str] = None,
             perf_mode_level: Optional[str] = None,
             perf_client_comply_no_cache: Optional[bool] = None,
             approver: Optional[str] = None,
             data_storage_region: Optional[str] = None,
             deprecated: Optional[bool] = None,
             account_id: Optional[float] = None,
             domain_redirect_to_full: Optional[str] = None,
             domain_validation: Optional[str] = None,
             force_ssl: Optional[str] = None,
             hash_salt: Optional[str] = None,
             hashing_enabled: Optional[bool] = None,
             ignore_ssl: Optional[str] = None,
             log_level: Optional[str] = None,
             perf_response_cache404_enabled: Optional[bool] = None,
             naked_domain_san: Optional[bool] = None,
             perf_response_cache300x: Optional[bool] = None,
             perf_client_enable_client_side_caching: Optional[bool] = None,
             perf_client_send_age_header: Optional[bool] = None,
             perf_key_comply_vary: Optional[bool] = None,
             perf_key_unite_naked_full_cache: Optional[bool] = None,
             perf_mode_https: Optional[str] = None,
             acceleration_level: Optional[str] = None,
             active: Optional[str] = None,
             perf_mode_time: Optional[float] = None,
             logs_account_id: Optional[str] = None,
             perf_response_cache404_time: Optional[float] = None,
             perf_response_cache_empty_responses: Optional[bool] = None,
             perf_response_cache_http10_responses: Optional[bool] = None,
             perf_response_cache_response_header_mode: Optional[str] = None,
             perf_response_cache_response_headers: Optional[Sequence[str]] = None,
             perf_response_cache_shield: Optional[bool] = None,
             perf_response_stale_content_mode: Optional[str] = None,
             perf_response_stale_content_time: Optional[float] = None,
             perf_response_tag_response_header: Optional[str] = None,
             perf_ttl_prefer_last_modified: Optional[bool] = None,
             perf_ttl_use_shortest_caching: Optional[bool] = None,
             ref_id: Optional[str] = None,
             remove_ssl: Optional[str] = None,
             restricted_cname_reuse: Optional[str] = None,
             seal_location: Optional[str] = None,
             send_site_setup_emails: Optional[str] = None,
             site_id: Optional[str] = None,
             site_ip: Optional[str] = None,
             timeouts: Optional[SiteTimeoutsArgs] = None,
             wildcard_san: Optional[bool] = None)
    func NewSite(ctx *Context, name string, args SiteArgs, opts ...ResourceOption) (*Site, error)
    public Site(string name, SiteArgs args, CustomResourceOptions? opts = null)
    public Site(String name, SiteArgs args)
    public Site(String name, SiteArgs args, CustomResourceOptions options)
    
    type: incapsula:Site
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args SiteArgs
    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 SiteArgs
    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 SiteArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SiteArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SiteArgs
    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 siteResource = new Incapsula.Site("siteResource", new()
    {
        Domain = "string",
        PerfModeLevel = "string",
        PerfClientComplyNoCache = false,
        Approver = "string",
        DataStorageRegion = "string",
        Deprecated = false,
        AccountId = 0,
        DomainRedirectToFull = "string",
        DomainValidation = "string",
        ForceSsl = "string",
        HashSalt = "string",
        HashingEnabled = false,
        IgnoreSsl = "string",
        LogLevel = "string",
        PerfResponseCache404Enabled = false,
        NakedDomainSan = false,
        PerfResponseCache300x = false,
        PerfClientEnableClientSideCaching = false,
        PerfClientSendAgeHeader = false,
        PerfKeyComplyVary = false,
        PerfKeyUniteNakedFullCache = false,
        PerfModeHttps = "string",
        AccelerationLevel = "string",
        Active = "string",
        PerfModeTime = 0,
        LogsAccountId = "string",
        PerfResponseCache404Time = 0,
        PerfResponseCacheEmptyResponses = false,
        PerfResponseCacheHttp10Responses = false,
        PerfResponseCacheResponseHeaderMode = "string",
        PerfResponseCacheResponseHeaders = new[]
        {
            "string",
        },
        PerfResponseCacheShield = false,
        PerfResponseStaleContentMode = "string",
        PerfResponseStaleContentTime = 0,
        PerfResponseTagResponseHeader = "string",
        PerfTtlPreferLastModified = false,
        PerfTtlUseShortestCaching = false,
        RefId = "string",
        RemoveSsl = "string",
        RestrictedCnameReuse = "string",
        SealLocation = "string",
        SendSiteSetupEmails = "string",
        SiteId = "string",
        SiteIp = "string",
        Timeouts = new Incapsula.Inputs.SiteTimeoutsArgs
        {
            Delete = "string",
        },
        WildcardSan = false,
    });
    
    example, err := incapsula.NewSite(ctx, "siteResource", &incapsula.SiteArgs{
    	Domain:                              pulumi.String("string"),
    	PerfModeLevel:                       pulumi.String("string"),
    	PerfClientComplyNoCache:             pulumi.Bool(false),
    	Approver:                            pulumi.String("string"),
    	DataStorageRegion:                   pulumi.String("string"),
    	Deprecated:                          pulumi.Bool(false),
    	AccountId:                           pulumi.Float64(0),
    	DomainRedirectToFull:                pulumi.String("string"),
    	DomainValidation:                    pulumi.String("string"),
    	ForceSsl:                            pulumi.String("string"),
    	HashSalt:                            pulumi.String("string"),
    	HashingEnabled:                      pulumi.Bool(false),
    	IgnoreSsl:                           pulumi.String("string"),
    	LogLevel:                            pulumi.String("string"),
    	PerfResponseCache404Enabled:         pulumi.Bool(false),
    	NakedDomainSan:                      pulumi.Bool(false),
    	PerfResponseCache300x:               pulumi.Bool(false),
    	PerfClientEnableClientSideCaching:   pulumi.Bool(false),
    	PerfClientSendAgeHeader:             pulumi.Bool(false),
    	PerfKeyComplyVary:                   pulumi.Bool(false),
    	PerfKeyUniteNakedFullCache:          pulumi.Bool(false),
    	PerfModeHttps:                       pulumi.String("string"),
    	AccelerationLevel:                   pulumi.String("string"),
    	Active:                              pulumi.String("string"),
    	PerfModeTime:                        pulumi.Float64(0),
    	LogsAccountId:                       pulumi.String("string"),
    	PerfResponseCache404Time:            pulumi.Float64(0),
    	PerfResponseCacheEmptyResponses:     pulumi.Bool(false),
    	PerfResponseCacheHttp10Responses:    pulumi.Bool(false),
    	PerfResponseCacheResponseHeaderMode: pulumi.String("string"),
    	PerfResponseCacheResponseHeaders: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	PerfResponseCacheShield:       pulumi.Bool(false),
    	PerfResponseStaleContentMode:  pulumi.String("string"),
    	PerfResponseStaleContentTime:  pulumi.Float64(0),
    	PerfResponseTagResponseHeader: pulumi.String("string"),
    	PerfTtlPreferLastModified:     pulumi.Bool(false),
    	PerfTtlUseShortestCaching:     pulumi.Bool(false),
    	RefId:                         pulumi.String("string"),
    	RemoveSsl:                     pulumi.String("string"),
    	RestrictedCnameReuse:          pulumi.String("string"),
    	SealLocation:                  pulumi.String("string"),
    	SendSiteSetupEmails:           pulumi.String("string"),
    	SiteId:                        pulumi.String("string"),
    	SiteIp:                        pulumi.String("string"),
    	Timeouts: &incapsula.SiteTimeoutsArgs{
    		Delete: pulumi.String("string"),
    	},
    	WildcardSan: pulumi.Bool(false),
    })
    
    var siteResource = new Site("siteResource", SiteArgs.builder()
        .domain("string")
        .perfModeLevel("string")
        .perfClientComplyNoCache(false)
        .approver("string")
        .dataStorageRegion("string")
        .deprecated(false)
        .accountId(0)
        .domainRedirectToFull("string")
        .domainValidation("string")
        .forceSsl("string")
        .hashSalt("string")
        .hashingEnabled(false)
        .ignoreSsl("string")
        .logLevel("string")
        .perfResponseCache404Enabled(false)
        .nakedDomainSan(false)
        .perfResponseCache300x(false)
        .perfClientEnableClientSideCaching(false)
        .perfClientSendAgeHeader(false)
        .perfKeyComplyVary(false)
        .perfKeyUniteNakedFullCache(false)
        .perfModeHttps("string")
        .accelerationLevel("string")
        .active("string")
        .perfModeTime(0)
        .logsAccountId("string")
        .perfResponseCache404Time(0)
        .perfResponseCacheEmptyResponses(false)
        .perfResponseCacheHttp10Responses(false)
        .perfResponseCacheResponseHeaderMode("string")
        .perfResponseCacheResponseHeaders("string")
        .perfResponseCacheShield(false)
        .perfResponseStaleContentMode("string")
        .perfResponseStaleContentTime(0)
        .perfResponseTagResponseHeader("string")
        .perfTtlPreferLastModified(false)
        .perfTtlUseShortestCaching(false)
        .refId("string")
        .removeSsl("string")
        .restrictedCnameReuse("string")
        .sealLocation("string")
        .sendSiteSetupEmails("string")
        .siteId("string")
        .siteIp("string")
        .timeouts(SiteTimeoutsArgs.builder()
            .delete("string")
            .build())
        .wildcardSan(false)
        .build());
    
    site_resource = incapsula.Site("siteResource",
        domain="string",
        perf_mode_level="string",
        perf_client_comply_no_cache=False,
        approver="string",
        data_storage_region="string",
        deprecated=False,
        account_id=0,
        domain_redirect_to_full="string",
        domain_validation="string",
        force_ssl="string",
        hash_salt="string",
        hashing_enabled=False,
        ignore_ssl="string",
        log_level="string",
        perf_response_cache404_enabled=False,
        naked_domain_san=False,
        perf_response_cache300x=False,
        perf_client_enable_client_side_caching=False,
        perf_client_send_age_header=False,
        perf_key_comply_vary=False,
        perf_key_unite_naked_full_cache=False,
        perf_mode_https="string",
        acceleration_level="string",
        active="string",
        perf_mode_time=0,
        logs_account_id="string",
        perf_response_cache404_time=0,
        perf_response_cache_empty_responses=False,
        perf_response_cache_http10_responses=False,
        perf_response_cache_response_header_mode="string",
        perf_response_cache_response_headers=["string"],
        perf_response_cache_shield=False,
        perf_response_stale_content_mode="string",
        perf_response_stale_content_time=0,
        perf_response_tag_response_header="string",
        perf_ttl_prefer_last_modified=False,
        perf_ttl_use_shortest_caching=False,
        ref_id="string",
        remove_ssl="string",
        restricted_cname_reuse="string",
        seal_location="string",
        send_site_setup_emails="string",
        site_id="string",
        site_ip="string",
        timeouts={
            "delete": "string",
        },
        wildcard_san=False)
    
    const siteResource = new incapsula.Site("siteResource", {
        domain: "string",
        perfModeLevel: "string",
        perfClientComplyNoCache: false,
        approver: "string",
        dataStorageRegion: "string",
        deprecated: false,
        accountId: 0,
        domainRedirectToFull: "string",
        domainValidation: "string",
        forceSsl: "string",
        hashSalt: "string",
        hashingEnabled: false,
        ignoreSsl: "string",
        logLevel: "string",
        perfResponseCache404Enabled: false,
        nakedDomainSan: false,
        perfResponseCache300x: false,
        perfClientEnableClientSideCaching: false,
        perfClientSendAgeHeader: false,
        perfKeyComplyVary: false,
        perfKeyUniteNakedFullCache: false,
        perfModeHttps: "string",
        accelerationLevel: "string",
        active: "string",
        perfModeTime: 0,
        logsAccountId: "string",
        perfResponseCache404Time: 0,
        perfResponseCacheEmptyResponses: false,
        perfResponseCacheHttp10Responses: false,
        perfResponseCacheResponseHeaderMode: "string",
        perfResponseCacheResponseHeaders: ["string"],
        perfResponseCacheShield: false,
        perfResponseStaleContentMode: "string",
        perfResponseStaleContentTime: 0,
        perfResponseTagResponseHeader: "string",
        perfTtlPreferLastModified: false,
        perfTtlUseShortestCaching: false,
        refId: "string",
        removeSsl: "string",
        restrictedCnameReuse: "string",
        sealLocation: "string",
        sendSiteSetupEmails: "string",
        siteId: "string",
        siteIp: "string",
        timeouts: {
            "delete": "string",
        },
        wildcardSan: false,
    });
    
    type: incapsula:Site
    properties:
        accelerationLevel: string
        accountId: 0
        active: string
        approver: string
        dataStorageRegion: string
        deprecated: false
        domain: string
        domainRedirectToFull: string
        domainValidation: string
        forceSsl: string
        hashSalt: string
        hashingEnabled: false
        ignoreSsl: string
        logLevel: string
        logsAccountId: string
        nakedDomainSan: false
        perfClientComplyNoCache: false
        perfClientEnableClientSideCaching: false
        perfClientSendAgeHeader: false
        perfKeyComplyVary: false
        perfKeyUniteNakedFullCache: false
        perfModeHttps: string
        perfModeLevel: string
        perfModeTime: 0
        perfResponseCache300x: false
        perfResponseCache404Enabled: false
        perfResponseCache404Time: 0
        perfResponseCacheEmptyResponses: false
        perfResponseCacheHttp10Responses: false
        perfResponseCacheResponseHeaderMode: string
        perfResponseCacheResponseHeaders:
            - string
        perfResponseCacheShield: false
        perfResponseStaleContentMode: string
        perfResponseStaleContentTime: 0
        perfResponseTagResponseHeader: string
        perfTtlPreferLastModified: false
        perfTtlUseShortestCaching: false
        refId: string
        removeSsl: string
        restrictedCnameReuse: string
        sealLocation: string
        sendSiteSetupEmails: string
        siteId: string
        siteIp: string
        timeouts:
            delete: string
        wildcardSan: false
    

    Site 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 Site resource accepts the following input properties:

    Domain string
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    AccelerationLevel string
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    AccountId double
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    Active string

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    Approver string
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    DataStorageRegion string
    The data region to use. Options are APAC, AU, EU, and US.
    Deprecated bool
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    DomainRedirectToFull string
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    DomainValidation string
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    ForceSsl string
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    HashSalt string
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    HashingEnabled bool
    Specify if hashing (masking setting) should be enabled.
    IgnoreSsl string
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    LogLevel string
    The log level. Options are full, security, and none.
    LogsAccountId string
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    NakedDomainSan bool
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    PerfClientComplyNoCache bool
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    PerfClientEnableClientSideCaching bool
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    PerfClientSendAgeHeader bool
    Send Cache-Control: max-age and Age headers.
    PerfKeyComplyVary bool
    Comply with Vary. Cache resources in accordance with the Vary response header.
    PerfKeyUniteNakedFullCache bool
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    PerfModeHttps string
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    PerfModeLevel string
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    PerfModeTime double
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    PerfResponseCache300x bool
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    PerfResponseCache404Enabled bool
    Whether or not to cache 404 responses.
    PerfResponseCache404Time double
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    PerfResponseCacheEmptyResponses bool
    Cache responses that don’t have a message body.
    PerfResponseCacheHttp10Responses bool
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    PerfResponseCacheResponseHeaderMode string
    The working mode for caching response headers. Options are all, custom and disabled.
    PerfResponseCacheResponseHeaders List<string>
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    PerfResponseCacheShield bool
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    PerfResponseStaleContentMode string
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    PerfResponseStaleContentTime double
    The time, in seconds, to serve stale content for when working in custom work mode.
    PerfResponseTagResponseHeader string
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    PerfTtlPreferLastModified bool
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    PerfTtlUseShortestCaching bool
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    RefId string
    Customer specific identifier for this operation.
    RemoveSsl string
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    RestrictedCnameReuse string
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    SealLocation string
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    SendSiteSetupEmails string
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    SiteId string
    Unique identifier in the API for the site.
    SiteIp string
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    Timeouts SiteTimeouts
    WildcardSan bool
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    Domain string
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    AccelerationLevel string
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    AccountId float64
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    Active string

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    Approver string
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    DataStorageRegion string
    The data region to use. Options are APAC, AU, EU, and US.
    Deprecated bool
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    DomainRedirectToFull string
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    DomainValidation string
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    ForceSsl string
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    HashSalt string
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    HashingEnabled bool
    Specify if hashing (masking setting) should be enabled.
    IgnoreSsl string
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    LogLevel string
    The log level. Options are full, security, and none.
    LogsAccountId string
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    NakedDomainSan bool
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    PerfClientComplyNoCache bool
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    PerfClientEnableClientSideCaching bool
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    PerfClientSendAgeHeader bool
    Send Cache-Control: max-age and Age headers.
    PerfKeyComplyVary bool
    Comply with Vary. Cache resources in accordance with the Vary response header.
    PerfKeyUniteNakedFullCache bool
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    PerfModeHttps string
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    PerfModeLevel string
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    PerfModeTime float64
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    PerfResponseCache300x bool
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    PerfResponseCache404Enabled bool
    Whether or not to cache 404 responses.
    PerfResponseCache404Time float64
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    PerfResponseCacheEmptyResponses bool
    Cache responses that don’t have a message body.
    PerfResponseCacheHttp10Responses bool
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    PerfResponseCacheResponseHeaderMode string
    The working mode for caching response headers. Options are all, custom and disabled.
    PerfResponseCacheResponseHeaders []string
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    PerfResponseCacheShield bool
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    PerfResponseStaleContentMode string
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    PerfResponseStaleContentTime float64
    The time, in seconds, to serve stale content for when working in custom work mode.
    PerfResponseTagResponseHeader string
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    PerfTtlPreferLastModified bool
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    PerfTtlUseShortestCaching bool
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    RefId string
    Customer specific identifier for this operation.
    RemoveSsl string
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    RestrictedCnameReuse string
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    SealLocation string
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    SendSiteSetupEmails string
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    SiteId string
    Unique identifier in the API for the site.
    SiteIp string
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    Timeouts SiteTimeoutsArgs
    WildcardSan bool
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    domain String
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    accelerationLevel String
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    accountId Double
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    active String

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    approver String
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    dataStorageRegion String
    The data region to use. Options are APAC, AU, EU, and US.
    deprecated Boolean
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    domainRedirectToFull String
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    domainValidation String
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    forceSsl String
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    hashSalt String
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    hashingEnabled Boolean
    Specify if hashing (masking setting) should be enabled.
    ignoreSsl String
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    logLevel String
    The log level. Options are full, security, and none.
    logsAccountId String
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    nakedDomainSan Boolean
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    perfClientComplyNoCache Boolean
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    perfClientEnableClientSideCaching Boolean
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    perfClientSendAgeHeader Boolean
    Send Cache-Control: max-age and Age headers.
    perfKeyComplyVary Boolean
    Comply with Vary. Cache resources in accordance with the Vary response header.
    perfKeyUniteNakedFullCache Boolean
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    perfModeHttps String
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    perfModeLevel String
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    perfModeTime Double
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    perfResponseCache300x Boolean
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    perfResponseCache404Enabled Boolean
    Whether or not to cache 404 responses.
    perfResponseCache404Time Double
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    perfResponseCacheEmptyResponses Boolean
    Cache responses that don’t have a message body.
    perfResponseCacheHttp10Responses Boolean
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    perfResponseCacheResponseHeaderMode String
    The working mode for caching response headers. Options are all, custom and disabled.
    perfResponseCacheResponseHeaders List<String>
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    perfResponseCacheShield Boolean
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    perfResponseStaleContentMode String
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    perfResponseStaleContentTime Double
    The time, in seconds, to serve stale content for when working in custom work mode.
    perfResponseTagResponseHeader String
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    perfTtlPreferLastModified Boolean
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    perfTtlUseShortestCaching Boolean
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    refId String
    Customer specific identifier for this operation.
    removeSsl String
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    restrictedCnameReuse String
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    sealLocation String
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    sendSiteSetupEmails String
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    siteId String
    Unique identifier in the API for the site.
    siteIp String
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    timeouts SiteTimeouts
    wildcardSan Boolean
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    domain string
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    accelerationLevel string
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    accountId number
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    active string

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    approver string
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    dataStorageRegion string
    The data region to use. Options are APAC, AU, EU, and US.
    deprecated boolean
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    domainRedirectToFull string
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    domainValidation string
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    forceSsl string
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    hashSalt string
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    hashingEnabled boolean
    Specify if hashing (masking setting) should be enabled.
    ignoreSsl string
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    logLevel string
    The log level. Options are full, security, and none.
    logsAccountId string
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    nakedDomainSan boolean
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    perfClientComplyNoCache boolean
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    perfClientEnableClientSideCaching boolean
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    perfClientSendAgeHeader boolean
    Send Cache-Control: max-age and Age headers.
    perfKeyComplyVary boolean
    Comply with Vary. Cache resources in accordance with the Vary response header.
    perfKeyUniteNakedFullCache boolean
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    perfModeHttps string
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    perfModeLevel string
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    perfModeTime number
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    perfResponseCache300x boolean
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    perfResponseCache404Enabled boolean
    Whether or not to cache 404 responses.
    perfResponseCache404Time number
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    perfResponseCacheEmptyResponses boolean
    Cache responses that don’t have a message body.
    perfResponseCacheHttp10Responses boolean
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    perfResponseCacheResponseHeaderMode string
    The working mode for caching response headers. Options are all, custom and disabled.
    perfResponseCacheResponseHeaders string[]
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    perfResponseCacheShield boolean
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    perfResponseStaleContentMode string
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    perfResponseStaleContentTime number
    The time, in seconds, to serve stale content for when working in custom work mode.
    perfResponseTagResponseHeader string
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    perfTtlPreferLastModified boolean
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    perfTtlUseShortestCaching boolean
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    refId string
    Customer specific identifier for this operation.
    removeSsl string
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    restrictedCnameReuse string
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    sealLocation string
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    sendSiteSetupEmails string
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    siteId string
    Unique identifier in the API for the site.
    siteIp string
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    timeouts SiteTimeouts
    wildcardSan boolean
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    domain str
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    acceleration_level str
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    account_id float
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    active str

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    approver str
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    data_storage_region str
    The data region to use. Options are APAC, AU, EU, and US.
    deprecated bool
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    domain_redirect_to_full str
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    domain_validation str
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    force_ssl str
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    hash_salt str
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    hashing_enabled bool
    Specify if hashing (masking setting) should be enabled.
    ignore_ssl str
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    log_level str
    The log level. Options are full, security, and none.
    logs_account_id str
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    naked_domain_san bool
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    perf_client_comply_no_cache bool
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    perf_client_enable_client_side_caching bool
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    perf_client_send_age_header bool
    Send Cache-Control: max-age and Age headers.
    perf_key_comply_vary bool
    Comply with Vary. Cache resources in accordance with the Vary response header.
    perf_key_unite_naked_full_cache bool
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    perf_mode_https str
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    perf_mode_level str
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    perf_mode_time float
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    perf_response_cache300x bool
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    perf_response_cache404_enabled bool
    Whether or not to cache 404 responses.
    perf_response_cache404_time float
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    perf_response_cache_empty_responses bool
    Cache responses that don’t have a message body.
    perf_response_cache_http10_responses bool
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    perf_response_cache_response_header_mode str
    The working mode for caching response headers. Options are all, custom and disabled.
    perf_response_cache_response_headers Sequence[str]
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    perf_response_cache_shield bool
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    perf_response_stale_content_mode str
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    perf_response_stale_content_time float
    The time, in seconds, to serve stale content for when working in custom work mode.
    perf_response_tag_response_header str
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    perf_ttl_prefer_last_modified bool
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    perf_ttl_use_shortest_caching bool
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    ref_id str
    Customer specific identifier for this operation.
    remove_ssl str
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    restricted_cname_reuse str
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    seal_location str
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    send_site_setup_emails str
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    site_id str
    Unique identifier in the API for the site.
    site_ip str
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    timeouts SiteTimeoutsArgs
    wildcard_san bool
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    domain String
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    accelerationLevel String
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    accountId Number
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    active String

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    approver String
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    dataStorageRegion String
    The data region to use. Options are APAC, AU, EU, and US.
    deprecated Boolean
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    domainRedirectToFull String
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    domainValidation String
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    forceSsl String
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    hashSalt String
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    hashingEnabled Boolean
    Specify if hashing (masking setting) should be enabled.
    ignoreSsl String
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    logLevel String
    The log level. Options are full, security, and none.
    logsAccountId String
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    nakedDomainSan Boolean
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    perfClientComplyNoCache Boolean
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    perfClientEnableClientSideCaching Boolean
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    perfClientSendAgeHeader Boolean
    Send Cache-Control: max-age and Age headers.
    perfKeyComplyVary Boolean
    Comply with Vary. Cache resources in accordance with the Vary response header.
    perfKeyUniteNakedFullCache Boolean
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    perfModeHttps String
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    perfModeLevel String
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    perfModeTime Number
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    perfResponseCache300x Boolean
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    perfResponseCache404Enabled Boolean
    Whether or not to cache 404 responses.
    perfResponseCache404Time Number
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    perfResponseCacheEmptyResponses Boolean
    Cache responses that don’t have a message body.
    perfResponseCacheHttp10Responses Boolean
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    perfResponseCacheResponseHeaderMode String
    The working mode for caching response headers. Options are all, custom and disabled.
    perfResponseCacheResponseHeaders List<String>
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    perfResponseCacheShield Boolean
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    perfResponseStaleContentMode String
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    perfResponseStaleContentTime Number
    The time, in seconds, to serve stale content for when working in custom work mode.
    perfResponseTagResponseHeader String
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    perfTtlPreferLastModified Boolean
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    perfTtlUseShortestCaching Boolean
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    refId String
    Customer specific identifier for this operation.
    removeSsl String
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    restrictedCnameReuse String
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    sealLocation String
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    sendSiteSetupEmails String
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    siteId String
    Unique identifier in the API for the site.
    siteIp String
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    timeouts Property Map
    wildcardSan Boolean
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true

    Outputs

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

    DnsARecordName string
    The A record name.
    DnsARecordValues List<string>
    The A record value.
    DnsCnameRecordName string
    The CNAME record name.
    DnsCnameRecordValue string
    The CNAME record value.
    DnsRecordName string
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    DomainVerification string
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    Id string
    The provider-assigned unique ID for this managed resource.
    OriginalDataCenterId double
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    SiteCreationDate double
    Numeric representation of the site creation date.
    DnsARecordName string
    The A record name.
    DnsARecordValues []string
    The A record value.
    DnsCnameRecordName string
    The CNAME record name.
    DnsCnameRecordValue string
    The CNAME record value.
    DnsRecordName string
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    DomainVerification string
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    Id string
    The provider-assigned unique ID for this managed resource.
    OriginalDataCenterId float64
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    SiteCreationDate float64
    Numeric representation of the site creation date.
    dnsARecordName String
    The A record name.
    dnsARecordValues List<String>
    The A record value.
    dnsCnameRecordName String
    The CNAME record name.
    dnsCnameRecordValue String
    The CNAME record value.
    dnsRecordName String
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    domainVerification String
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    id String
    The provider-assigned unique ID for this managed resource.
    originalDataCenterId Double
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    siteCreationDate Double
    Numeric representation of the site creation date.
    dnsARecordName string
    The A record name.
    dnsARecordValues string[]
    The A record value.
    dnsCnameRecordName string
    The CNAME record name.
    dnsCnameRecordValue string
    The CNAME record value.
    dnsRecordName string
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    domainVerification string
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    id string
    The provider-assigned unique ID for this managed resource.
    originalDataCenterId number
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    siteCreationDate number
    Numeric representation of the site creation date.
    dns_a_record_name str
    The A record name.
    dns_a_record_values Sequence[str]
    The A record value.
    dns_cname_record_name str
    The CNAME record name.
    dns_cname_record_value str
    The CNAME record value.
    dns_record_name str
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    domain_verification str
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    id str
    The provider-assigned unique ID for this managed resource.
    original_data_center_id float
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    site_creation_date float
    Numeric representation of the site creation date.
    dnsARecordName String
    The A record name.
    dnsARecordValues List<String>
    The A record value.
    dnsCnameRecordName String
    The CNAME record name.
    dnsCnameRecordValue String
    The CNAME record value.
    dnsRecordName String
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    domainVerification String
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    id String
    The provider-assigned unique ID for this managed resource.
    originalDataCenterId Number
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    siteCreationDate Number
    Numeric representation of the site creation date.

    Look up Existing Site Resource

    Get an existing Site 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?: SiteState, opts?: CustomResourceOptions): Site
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            acceleration_level: Optional[str] = None,
            account_id: Optional[float] = None,
            active: Optional[str] = None,
            approver: Optional[str] = None,
            data_storage_region: Optional[str] = None,
            deprecated: Optional[bool] = None,
            dns_a_record_name: Optional[str] = None,
            dns_a_record_values: Optional[Sequence[str]] = None,
            dns_cname_record_name: Optional[str] = None,
            dns_cname_record_value: Optional[str] = None,
            dns_record_name: Optional[str] = None,
            domain: Optional[str] = None,
            domain_redirect_to_full: Optional[str] = None,
            domain_validation: Optional[str] = None,
            domain_verification: Optional[str] = None,
            force_ssl: Optional[str] = None,
            hash_salt: Optional[str] = None,
            hashing_enabled: Optional[bool] = None,
            ignore_ssl: Optional[str] = None,
            log_level: Optional[str] = None,
            logs_account_id: Optional[str] = None,
            naked_domain_san: Optional[bool] = None,
            original_data_center_id: Optional[float] = None,
            perf_client_comply_no_cache: Optional[bool] = None,
            perf_client_enable_client_side_caching: Optional[bool] = None,
            perf_client_send_age_header: Optional[bool] = None,
            perf_key_comply_vary: Optional[bool] = None,
            perf_key_unite_naked_full_cache: Optional[bool] = None,
            perf_mode_https: Optional[str] = None,
            perf_mode_level: Optional[str] = None,
            perf_mode_time: Optional[float] = None,
            perf_response_cache300x: Optional[bool] = None,
            perf_response_cache404_enabled: Optional[bool] = None,
            perf_response_cache404_time: Optional[float] = None,
            perf_response_cache_empty_responses: Optional[bool] = None,
            perf_response_cache_http10_responses: Optional[bool] = None,
            perf_response_cache_response_header_mode: Optional[str] = None,
            perf_response_cache_response_headers: Optional[Sequence[str]] = None,
            perf_response_cache_shield: Optional[bool] = None,
            perf_response_stale_content_mode: Optional[str] = None,
            perf_response_stale_content_time: Optional[float] = None,
            perf_response_tag_response_header: Optional[str] = None,
            perf_ttl_prefer_last_modified: Optional[bool] = None,
            perf_ttl_use_shortest_caching: Optional[bool] = None,
            ref_id: Optional[str] = None,
            remove_ssl: Optional[str] = None,
            restricted_cname_reuse: Optional[str] = None,
            seal_location: Optional[str] = None,
            send_site_setup_emails: Optional[str] = None,
            site_creation_date: Optional[float] = None,
            site_id: Optional[str] = None,
            site_ip: Optional[str] = None,
            timeouts: Optional[SiteTimeoutsArgs] = None,
            wildcard_san: Optional[bool] = None) -> Site
    func GetSite(ctx *Context, name string, id IDInput, state *SiteState, opts ...ResourceOption) (*Site, error)
    public static Site Get(string name, Input<string> id, SiteState? state, CustomResourceOptions? opts = null)
    public static Site get(String name, Output<String> id, SiteState state, CustomResourceOptions options)
    resources:  _:    type: incapsula:Site    get:      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:
    AccelerationLevel string
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    AccountId double
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    Active string

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    Approver string
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    DataStorageRegion string
    The data region to use. Options are APAC, AU, EU, and US.
    Deprecated bool
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    DnsARecordName string
    The A record name.
    DnsARecordValues List<string>
    The A record value.
    DnsCnameRecordName string
    The CNAME record name.
    DnsCnameRecordValue string
    The CNAME record value.
    DnsRecordName string
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    Domain string
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    DomainRedirectToFull string
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    DomainValidation string
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    DomainVerification string
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    ForceSsl string
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    HashSalt string
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    HashingEnabled bool
    Specify if hashing (masking setting) should be enabled.
    IgnoreSsl string
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    LogLevel string
    The log level. Options are full, security, and none.
    LogsAccountId string
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    NakedDomainSan bool
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    OriginalDataCenterId double
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    PerfClientComplyNoCache bool
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    PerfClientEnableClientSideCaching bool
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    PerfClientSendAgeHeader bool
    Send Cache-Control: max-age and Age headers.
    PerfKeyComplyVary bool
    Comply with Vary. Cache resources in accordance with the Vary response header.
    PerfKeyUniteNakedFullCache bool
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    PerfModeHttps string
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    PerfModeLevel string
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    PerfModeTime double
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    PerfResponseCache300x bool
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    PerfResponseCache404Enabled bool
    Whether or not to cache 404 responses.
    PerfResponseCache404Time double
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    PerfResponseCacheEmptyResponses bool
    Cache responses that don’t have a message body.
    PerfResponseCacheHttp10Responses bool
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    PerfResponseCacheResponseHeaderMode string
    The working mode for caching response headers. Options are all, custom and disabled.
    PerfResponseCacheResponseHeaders List<string>
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    PerfResponseCacheShield bool
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    PerfResponseStaleContentMode string
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    PerfResponseStaleContentTime double
    The time, in seconds, to serve stale content for when working in custom work mode.
    PerfResponseTagResponseHeader string
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    PerfTtlPreferLastModified bool
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    PerfTtlUseShortestCaching bool
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    RefId string
    Customer specific identifier for this operation.
    RemoveSsl string
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    RestrictedCnameReuse string
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    SealLocation string
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    SendSiteSetupEmails string
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    SiteCreationDate double
    Numeric representation of the site creation date.
    SiteId string
    Unique identifier in the API for the site.
    SiteIp string
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    Timeouts SiteTimeouts
    WildcardSan bool
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    AccelerationLevel string
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    AccountId float64
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    Active string

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    Approver string
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    DataStorageRegion string
    The data region to use. Options are APAC, AU, EU, and US.
    Deprecated bool
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    DnsARecordName string
    The A record name.
    DnsARecordValues []string
    The A record value.
    DnsCnameRecordName string
    The CNAME record name.
    DnsCnameRecordValue string
    The CNAME record value.
    DnsRecordName string
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    Domain string
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    DomainRedirectToFull string
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    DomainValidation string
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    DomainVerification string
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    ForceSsl string
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    HashSalt string
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    HashingEnabled bool
    Specify if hashing (masking setting) should be enabled.
    IgnoreSsl string
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    LogLevel string
    The log level. Options are full, security, and none.
    LogsAccountId string
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    NakedDomainSan bool
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    OriginalDataCenterId float64
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    PerfClientComplyNoCache bool
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    PerfClientEnableClientSideCaching bool
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    PerfClientSendAgeHeader bool
    Send Cache-Control: max-age and Age headers.
    PerfKeyComplyVary bool
    Comply with Vary. Cache resources in accordance with the Vary response header.
    PerfKeyUniteNakedFullCache bool
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    PerfModeHttps string
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    PerfModeLevel string
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    PerfModeTime float64
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    PerfResponseCache300x bool
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    PerfResponseCache404Enabled bool
    Whether or not to cache 404 responses.
    PerfResponseCache404Time float64
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    PerfResponseCacheEmptyResponses bool
    Cache responses that don’t have a message body.
    PerfResponseCacheHttp10Responses bool
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    PerfResponseCacheResponseHeaderMode string
    The working mode for caching response headers. Options are all, custom and disabled.
    PerfResponseCacheResponseHeaders []string
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    PerfResponseCacheShield bool
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    PerfResponseStaleContentMode string
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    PerfResponseStaleContentTime float64
    The time, in seconds, to serve stale content for when working in custom work mode.
    PerfResponseTagResponseHeader string
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    PerfTtlPreferLastModified bool
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    PerfTtlUseShortestCaching bool
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    RefId string
    Customer specific identifier for this operation.
    RemoveSsl string
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    RestrictedCnameReuse string
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    SealLocation string
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    SendSiteSetupEmails string
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    SiteCreationDate float64
    Numeric representation of the site creation date.
    SiteId string
    Unique identifier in the API for the site.
    SiteIp string
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    Timeouts SiteTimeoutsArgs
    WildcardSan bool
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    accelerationLevel String
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    accountId Double
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    active String

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    approver String
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    dataStorageRegion String
    The data region to use. Options are APAC, AU, EU, and US.
    deprecated Boolean
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    dnsARecordName String
    The A record name.
    dnsARecordValues List<String>
    The A record value.
    dnsCnameRecordName String
    The CNAME record name.
    dnsCnameRecordValue String
    The CNAME record value.
    dnsRecordName String
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    domain String
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    domainRedirectToFull String
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    domainValidation String
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    domainVerification String
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    forceSsl String
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    hashSalt String
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    hashingEnabled Boolean
    Specify if hashing (masking setting) should be enabled.
    ignoreSsl String
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    logLevel String
    The log level. Options are full, security, and none.
    logsAccountId String
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    nakedDomainSan Boolean
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    originalDataCenterId Double
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    perfClientComplyNoCache Boolean
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    perfClientEnableClientSideCaching Boolean
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    perfClientSendAgeHeader Boolean
    Send Cache-Control: max-age and Age headers.
    perfKeyComplyVary Boolean
    Comply with Vary. Cache resources in accordance with the Vary response header.
    perfKeyUniteNakedFullCache Boolean
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    perfModeHttps String
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    perfModeLevel String
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    perfModeTime Double
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    perfResponseCache300x Boolean
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    perfResponseCache404Enabled Boolean
    Whether or not to cache 404 responses.
    perfResponseCache404Time Double
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    perfResponseCacheEmptyResponses Boolean
    Cache responses that don’t have a message body.
    perfResponseCacheHttp10Responses Boolean
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    perfResponseCacheResponseHeaderMode String
    The working mode for caching response headers. Options are all, custom and disabled.
    perfResponseCacheResponseHeaders List<String>
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    perfResponseCacheShield Boolean
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    perfResponseStaleContentMode String
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    perfResponseStaleContentTime Double
    The time, in seconds, to serve stale content for when working in custom work mode.
    perfResponseTagResponseHeader String
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    perfTtlPreferLastModified Boolean
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    perfTtlUseShortestCaching Boolean
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    refId String
    Customer specific identifier for this operation.
    removeSsl String
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    restrictedCnameReuse String
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    sealLocation String
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    sendSiteSetupEmails String
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    siteCreationDate Double
    Numeric representation of the site creation date.
    siteId String
    Unique identifier in the API for the site.
    siteIp String
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    timeouts SiteTimeouts
    wildcardSan Boolean
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    accelerationLevel string
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    accountId number
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    active string

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    approver string
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    dataStorageRegion string
    The data region to use. Options are APAC, AU, EU, and US.
    deprecated boolean
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    dnsARecordName string
    The A record name.
    dnsARecordValues string[]
    The A record value.
    dnsCnameRecordName string
    The CNAME record name.
    dnsCnameRecordValue string
    The CNAME record value.
    dnsRecordName string
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    domain string
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    domainRedirectToFull string
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    domainValidation string
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    domainVerification string
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    forceSsl string
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    hashSalt string
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    hashingEnabled boolean
    Specify if hashing (masking setting) should be enabled.
    ignoreSsl string
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    logLevel string
    The log level. Options are full, security, and none.
    logsAccountId string
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    nakedDomainSan boolean
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    originalDataCenterId number
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    perfClientComplyNoCache boolean
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    perfClientEnableClientSideCaching boolean
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    perfClientSendAgeHeader boolean
    Send Cache-Control: max-age and Age headers.
    perfKeyComplyVary boolean
    Comply with Vary. Cache resources in accordance with the Vary response header.
    perfKeyUniteNakedFullCache boolean
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    perfModeHttps string
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    perfModeLevel string
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    perfModeTime number
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    perfResponseCache300x boolean
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    perfResponseCache404Enabled boolean
    Whether or not to cache 404 responses.
    perfResponseCache404Time number
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    perfResponseCacheEmptyResponses boolean
    Cache responses that don’t have a message body.
    perfResponseCacheHttp10Responses boolean
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    perfResponseCacheResponseHeaderMode string
    The working mode for caching response headers. Options are all, custom and disabled.
    perfResponseCacheResponseHeaders string[]
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    perfResponseCacheShield boolean
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    perfResponseStaleContentMode string
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    perfResponseStaleContentTime number
    The time, in seconds, to serve stale content for when working in custom work mode.
    perfResponseTagResponseHeader string
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    perfTtlPreferLastModified boolean
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    perfTtlUseShortestCaching boolean
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    refId string
    Customer specific identifier for this operation.
    removeSsl string
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    restrictedCnameReuse string
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    sealLocation string
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    sendSiteSetupEmails string
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    siteCreationDate number
    Numeric representation of the site creation date.
    siteId string
    Unique identifier in the API for the site.
    siteIp string
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    timeouts SiteTimeouts
    wildcardSan boolean
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    acceleration_level str
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    account_id float
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    active str

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    approver str
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    data_storage_region str
    The data region to use. Options are APAC, AU, EU, and US.
    deprecated bool
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    dns_a_record_name str
    The A record name.
    dns_a_record_values Sequence[str]
    The A record value.
    dns_cname_record_name str
    The CNAME record name.
    dns_cname_record_value str
    The CNAME record value.
    dns_record_name str
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    domain str
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    domain_redirect_to_full str
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    domain_validation str
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    domain_verification str
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    force_ssl str
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    hash_salt str
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    hashing_enabled bool
    Specify if hashing (masking setting) should be enabled.
    ignore_ssl str
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    log_level str
    The log level. Options are full, security, and none.
    logs_account_id str
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    naked_domain_san bool
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    original_data_center_id float
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    perf_client_comply_no_cache bool
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    perf_client_enable_client_side_caching bool
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    perf_client_send_age_header bool
    Send Cache-Control: max-age and Age headers.
    perf_key_comply_vary bool
    Comply with Vary. Cache resources in accordance with the Vary response header.
    perf_key_unite_naked_full_cache bool
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    perf_mode_https str
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    perf_mode_level str
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    perf_mode_time float
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    perf_response_cache300x bool
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    perf_response_cache404_enabled bool
    Whether or not to cache 404 responses.
    perf_response_cache404_time float
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    perf_response_cache_empty_responses bool
    Cache responses that don’t have a message body.
    perf_response_cache_http10_responses bool
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    perf_response_cache_response_header_mode str
    The working mode for caching response headers. Options are all, custom and disabled.
    perf_response_cache_response_headers Sequence[str]
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    perf_response_cache_shield bool
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    perf_response_stale_content_mode str
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    perf_response_stale_content_time float
    The time, in seconds, to serve stale content for when working in custom work mode.
    perf_response_tag_response_header str
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    perf_ttl_prefer_last_modified bool
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    perf_ttl_use_shortest_caching bool
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    ref_id str
    Customer specific identifier for this operation.
    remove_ssl str
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    restricted_cname_reuse str
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    seal_location str
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    send_site_setup_emails str
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    site_creation_date float
    Numeric representation of the site creation date.
    site_id str
    Unique identifier in the API for the site.
    site_ip str
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    timeouts SiteTimeoutsArgs
    wildcard_san bool
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true
    accelerationLevel String
    Sets the acceleration level of the site. Options are none, standard, and aggressive.
    accountId Number
    The account to operate on. If not specified, operation will be performed on the account identified by the authentication parameters.
    active String

    Whether the site is active or bypassed by the Imperva network. Options are active and bypass.

    NOTE: restricted_cname_reuse parameter is currently not supported. Please do not use/change value.

    approver String
    Sets the approver e-mail address that will be used to perform SSL domain validation.
    dataStorageRegion String
    The data region to use. Options are APAC, AU, EU, and US.
    deprecated Boolean
    Once set to true, this setting is irreversible. Use true to deprecate the resource, preventing any further changes from taking effect. Deleting the resource will not remove the site. Default: false.
    dnsARecordName String
    The A record name.
    dnsARecordValues List<String>
    The A record value.
    dnsCnameRecordName String
    The CNAME record name.
    dnsCnameRecordValue String
    The CNAME record value.
    dnsRecordName String
    the DNS Record type TXT that should be created and set to the domain_verification output value.
    domain String
    The fully qualified domain name of the site. For example: www.example.com, hello.example.com.
    domainRedirectToFull String
    Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
    domainValidation String
    Sets the domain validation method that will be used to generate an SSL certificate. Options are email, html, cname and dns.
    domainVerification String
    The domain verification (e.g. GlobalSign verification, HTML meta tag).
    forceSsl String
    Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
    hashSalt String
    Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
    hashingEnabled Boolean
    Specify if hashing (masking setting) should be enabled.
    ignoreSsl String
    Sets the ignore SSL flag (if the site is in pending-select-approver state). Pass "true" or empty string in the value parameter.
    logLevel String
    The log level. Options are full, security, and none.
    logsAccountId String
    Account where logs should be stored. Available only for Enterprise Plan customers that purchased the Logs Integration SKU. Numeric identifier of the account that purchased the logs integration SKU and which collects the logs. If not specified, operation will be performed on the account identified by the authentication parameters.
    nakedDomainSan Boolean
    Use true to add the naked domain SAN to a www site’s SSL certificate. Default value: true
    originalDataCenterId Number
    Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.

    Deprecated: Deprecated

    perfClientComplyNoCache Boolean
    Comply with No-Cache and Max-Age directives in client requests. By default, these cache directives are ignored. Resources are dynamically profiled and re-configured to optimize performance.
    perfClientEnableClientSideCaching Boolean
    Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
    perfClientSendAgeHeader Boolean
    Send Cache-Control: max-age and Age headers.
    perfKeyComplyVary Boolean
    Comply with Vary. Cache resources in accordance with the Vary response header.
    perfKeyUniteNakedFullCache Boolean
    Use the Same Cache for Full and Naked Domains. For example, use the same cached resource for www.example.com/a and example.com/a.
    perfModeHttps String
    The resources that are cached over HTTPS, the general level applies. Options are disabled, dont_include_html, include_html, and include_all_resources.
    perfModeLevel String
    Caching level. Options are disabled, custom_cache_rules_only, standard, smart, and all_resources.
    perfModeTime Number
    The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the include_html and include_all_resources levels only.
    perfResponseCache300x Boolean
    When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
    perfResponseCache404Enabled Boolean
    Whether or not to cache 404 responses.
    perfResponseCache404Time Number
    The time in seconds to cache 404 responses. Value should be divisible by 60.
    perfResponseCacheEmptyResponses Boolean
    Cache responses that don’t have a message body.
    perfResponseCacheHttp10Responses Boolean
    Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
    perfResponseCacheResponseHeaderMode String
    The working mode for caching response headers. Options are all, custom and disabled.
    perfResponseCacheResponseHeaders List<String>
    An array of strings representing the response headers to be cached when working in custom mode. If empty, no response headers are cached. For example: ["Access-Control-Allow-Origin","Access-Control-Allow-Methods"].
    perfResponseCacheShield Boolean
    Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
    perfResponseStaleContentMode String
    The working mode for serving stale content. Options are disabled, adaptive, and custom.
    perfResponseStaleContentTime Number
    The time, in seconds, to serve stale content for when working in custom work mode.
    perfResponseTagResponseHeader String
    Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
    perfTtlPreferLastModified Boolean
    Prefer 'Last Modified' over eTag. When this option is checked, Imperva prefers using Last Modified values (if available) over eTag values (recommended on multi-server setups).
    perfTtlUseShortestCaching Boolean
    Use shortest caching duration in case of conflicts. By default, the longest duration is used in case of conflict between caching rules or modes. When this option is checked, Imperva uses the shortest duration in case of conflict.
    refId String
    Customer specific identifier for this operation.
    removeSsl String
    Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
    restrictedCnameReuse String
    Use this option to allow Imperva to detect and add domains that are using the Imperva-provided CNAME (not recommended). One of: true | false.
    sealLocation String
    Sets the seal location. Options are api.seal_location.none, api.seal_location.bottom_left, api.seal_location.right_bottom, api.seal_location.left, and api.seal_location.right.
    sendSiteSetupEmails String
    If this value is false, end users will not get emails about the add site process such as DNS instructions and SSL setup.
    siteCreationDate Number
    Numeric representation of the site creation date.
    siteId String
    Unique identifier in the API for the site.
    siteIp String
    The web server IP/CNAME. This field should be specified when creating a site and the domain does not yet exist or the domain already points to Imperva Cloud. When specified, its value will be used for adding site only. After site is already created this field will be ignored. To modify site ip, please use resource incapsula.DataCentersConfiguration instead.
    timeouts Property Map
    wildcardSan Boolean
    Use true to add the wildcard SAN or false to add the full domain SAN to the site’s SSL certificate. Default value: true

    Supporting Types

    SiteTimeouts, SiteTimeoutsArgs

    Delete string
    Delete string
    delete String
    delete string
    delete str
    delete String

    Import

    Site can be imported using the id, e.g.:

    $ pulumi import incapsula:index/site:Site demo 1234
    

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

    Package Details

    Repository
    incapsula imperva/terraform-provider-incapsula
    License
    Notes
    This Pulumi package is based on the incapsula Terraform Provider.
    incapsula logo
    incapsula 3.33.0 published on Wednesday, Apr 30, 2025 by imperva