incapsula.Site
Explore with Pulumi AI
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)
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.
- Acceleration
Level string - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - Account
Id 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
andbypass
.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.
- Data
Storage stringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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 stringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- Domain
Validation string - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - Force
Ssl string - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- Hash
Salt string - 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 string - 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 string - The log level. Options are
full
,security
, andnone
. - Logs
Account stringId - 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 boolSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- Perf
Client boolComply No Cache - 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 boolEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- Perf
Client boolSend Age Header - Send Cache-Control: max-age and Age headers.
- Perf
Key boolComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- Perf
Key boolUnite Naked Full Cache - 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 stringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - Perf
Mode stringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - Perf
Mode doubleTime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - Perf
Response boolCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- Perf
Response boolCache404Enabled - Whether or not to cache 404 responses.
- Perf
Response doubleCache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- Perf
Response boolCache Empty Responses - Cache responses that don’t have a message body.
- Perf
Response boolCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- Perf
Response stringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - Perf
Response List<string>Cache Response Headers - 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 boolCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- Perf
Response stringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - Perf
Response doubleStale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - Perf
Response stringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- Perf
Ttl boolPrefer Last Modified - 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 boolUse Shortest Caching - 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 string - Customer specific identifier for this operation.
- Remove
Ssl string - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- Restricted
Cname stringReuse - 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 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
, andapi.seal_location.right
. - Send
Site stringSetup Emails - 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 string - Unique identifier in the API for the site.
- Site
Ip 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
Site
Timeouts - Wildcard
San bool - Use
true
to add the wildcard SAN orfalse
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.
- Acceleration
Level string - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - Account
Id 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
andbypass
.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.
- Data
Storage stringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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 stringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- Domain
Validation string - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - Force
Ssl string - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- Hash
Salt string - 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 string - 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 string - The log level. Options are
full
,security
, andnone
. - Logs
Account stringId - 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 boolSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- Perf
Client boolComply No Cache - 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 boolEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- Perf
Client boolSend Age Header - Send Cache-Control: max-age and Age headers.
- Perf
Key boolComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- Perf
Key boolUnite Naked Full Cache - 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 stringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - Perf
Mode stringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - Perf
Mode float64Time - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - Perf
Response boolCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- Perf
Response boolCache404Enabled - Whether or not to cache 404 responses.
- Perf
Response float64Cache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- Perf
Response boolCache Empty Responses - Cache responses that don’t have a message body.
- Perf
Response boolCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- Perf
Response stringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - Perf
Response []stringCache Response Headers - 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 boolCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- Perf
Response stringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - Perf
Response float64Stale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - Perf
Response stringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- Perf
Ttl boolPrefer Last Modified - 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 boolUse Shortest Caching - 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 string - Customer specific identifier for this operation.
- Remove
Ssl string - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- Restricted
Cname stringReuse - 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 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
, andapi.seal_location.right
. - Send
Site stringSetup Emails - 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 string - Unique identifier in the API for the site.
- Site
Ip 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
Site
Timeouts Args - Wildcard
San bool - Use
true
to add the wildcard SAN orfalse
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.
- acceleration
Level String - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - account
Id 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
andbypass
.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.
- data
Storage StringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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.
- domain
Redirect StringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- domain
Validation String - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - force
Ssl String - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- hash
Salt String - Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
- hashing
Enabled Boolean - Specify if hashing (masking setting) should be enabled.
- ignore
Ssl String - 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 String - The log level. Options are
full
,security
, andnone
. - logs
Account StringId - 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 BooleanSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- perf
Client BooleanComply No Cache - 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 BooleanEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- perf
Client BooleanSend Age Header - Send Cache-Control: max-age and Age headers.
- perf
Key BooleanComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- perf
Key BooleanUnite Naked Full Cache - 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 StringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - perf
Mode StringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - perf
Mode DoubleTime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - perf
Response BooleanCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- perf
Response BooleanCache404Enabled - Whether or not to cache 404 responses.
- perf
Response DoubleCache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- perf
Response BooleanCache Empty Responses - Cache responses that don’t have a message body.
- perf
Response BooleanCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- perf
Response StringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - perf
Response List<String>Cache Response Headers - 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 BooleanCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- perf
Response StringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - perf
Response DoubleStale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - perf
Response StringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- perf
Ttl BooleanPrefer Last Modified - 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 BooleanUse Shortest Caching - 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 String - Customer specific identifier for this operation.
- remove
Ssl String - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- restricted
Cname StringReuse - 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 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
, andapi.seal_location.right
. - send
Site StringSetup Emails - 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 String - Unique identifier in the API for the site.
- site
Ip 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
Site
Timeouts - wildcard
San Boolean - Use
true
to add the wildcard SAN orfalse
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.
- acceleration
Level string - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - account
Id 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
andbypass
.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.
- data
Storage stringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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.
- domain
Redirect stringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- domain
Validation string - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - force
Ssl string - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- hash
Salt string - Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
- hashing
Enabled boolean - Specify if hashing (masking setting) should be enabled.
- ignore
Ssl string - 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 string - The log level. Options are
full
,security
, andnone
. - logs
Account stringId - 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 booleanSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- perf
Client booleanComply No Cache - 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 booleanEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- perf
Client booleanSend Age Header - Send Cache-Control: max-age and Age headers.
- perf
Key booleanComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- perf
Key booleanUnite Naked Full Cache - 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 stringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - perf
Mode stringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - perf
Mode numberTime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - perf
Response booleanCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- perf
Response booleanCache404Enabled - Whether or not to cache 404 responses.
- perf
Response numberCache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- perf
Response booleanCache Empty Responses - Cache responses that don’t have a message body.
- perf
Response booleanCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- perf
Response stringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - perf
Response string[]Cache Response Headers - 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 booleanCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- perf
Response stringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - perf
Response numberStale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - perf
Response stringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- perf
Ttl booleanPrefer Last Modified - 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 booleanUse Shortest Caching - 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 string - Customer specific identifier for this operation.
- remove
Ssl string - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- restricted
Cname stringReuse - 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 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
, andapi.seal_location.right
. - send
Site stringSetup Emails - 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 string - Unique identifier in the API for the site.
- site
Ip 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
Site
Timeouts - wildcard
San boolean - Use
true
to add the wildcard SAN orfalse
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
, andaggressive
. - 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
andbypass
.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_ strregion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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_ strto_ full - 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
anddns
. - 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
, andnone
. - logs_
account_ strid - 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_ boolsan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- perf_
client_ boolcomply_ no_ cache - 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_ boolenable_ client_ side_ caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- perf_
client_ boolsend_ age_ header - Send Cache-Control: max-age and Age headers.
- perf_
key_ boolcomply_ vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- perf_
key_ boolunite_ naked_ full_ cache - 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_ strhttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - perf_
mode_ strlevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - perf_
mode_ floattime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - perf_
response_ boolcache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- perf_
response_ boolcache404_ enabled - Whether or not to cache 404 responses.
- perf_
response_ floatcache404_ time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- perf_
response_ boolcache_ empty_ responses - Cache responses that don’t have a message body.
- perf_
response_ boolcache_ http10_ responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- perf_
response_ strcache_ response_ header_ mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - perf_
response_ Sequence[str]cache_ response_ headers - 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_ boolcache_ shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- perf_
response_ strstale_ content_ mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - perf_
response_ floatstale_ content_ time - The time, in seconds, to serve stale content for when working in
custom
work mode. - perf_
response_ strtag_ response_ header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- perf_
ttl_ boolprefer_ last_ modified - 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_ booluse_ shortest_ caching - 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_ strreuse - 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
, andapi.seal_location.right
. - send_
site_ strsetup_ emails - 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
Site
Timeouts Args - wildcard_
san bool - Use
true
to add the wildcard SAN orfalse
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.
- acceleration
Level String - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - account
Id 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
andbypass
.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.
- data
Storage StringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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.
- domain
Redirect StringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- domain
Validation String - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - force
Ssl String - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- hash
Salt String - Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
- hashing
Enabled Boolean - Specify if hashing (masking setting) should be enabled.
- ignore
Ssl String - 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 String - The log level. Options are
full
,security
, andnone
. - logs
Account StringId - 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 BooleanSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- perf
Client BooleanComply No Cache - 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 BooleanEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- perf
Client BooleanSend Age Header - Send Cache-Control: max-age and Age headers.
- perf
Key BooleanComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- perf
Key BooleanUnite Naked Full Cache - 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 StringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - perf
Mode StringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - perf
Mode NumberTime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - perf
Response BooleanCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- perf
Response BooleanCache404Enabled - Whether or not to cache 404 responses.
- perf
Response NumberCache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- perf
Response BooleanCache Empty Responses - Cache responses that don’t have a message body.
- perf
Response BooleanCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- perf
Response StringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - perf
Response List<String>Cache Response Headers - 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 BooleanCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- perf
Response StringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - perf
Response NumberStale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - perf
Response StringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- perf
Ttl BooleanPrefer Last Modified - 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 BooleanUse Shortest Caching - 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 String - Customer specific identifier for this operation.
- remove
Ssl String - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- restricted
Cname StringReuse - 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 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
, andapi.seal_location.right
. - send
Site StringSetup Emails - 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 String - Unique identifier in the API for the site.
- site
Ip 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
- wildcard
San Boolean - Use
true
to add the wildcard SAN orfalse
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:
- Dns
ARecord stringName - The A record name.
- Dns
ARecord List<string>Values - The A record value.
- Dns
Cname stringRecord Name - The CNAME record name.
- Dns
Cname stringRecord Value - The CNAME record value.
- Dns
Record stringName - the DNS Record type TXT that should be created and set to the
domain_verification
output value. - Domain
Verification string - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- Id string
- The provider-assigned unique ID for this managed resource.
- Original
Data doubleCenter Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- Site
Creation doubleDate - Numeric representation of the site creation date.
- Dns
ARecord stringName - The A record name.
- Dns
ARecord []stringValues - The A record value.
- Dns
Cname stringRecord Name - The CNAME record name.
- Dns
Cname stringRecord Value - The CNAME record value.
- Dns
Record stringName - the DNS Record type TXT that should be created and set to the
domain_verification
output value. - Domain
Verification string - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- Id string
- The provider-assigned unique ID for this managed resource.
- Original
Data float64Center Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- Site
Creation float64Date - Numeric representation of the site creation date.
- dns
ARecord StringName - The A record name.
- dns
ARecord List<String>Values - The A record value.
- dns
Cname StringRecord Name - The CNAME record name.
- dns
Cname StringRecord Value - The CNAME record value.
- dns
Record StringName - the DNS Record type TXT that should be created and set to the
domain_verification
output value. - domain
Verification String - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- id String
- The provider-assigned unique ID for this managed resource.
- original
Data DoubleCenter Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- site
Creation DoubleDate - Numeric representation of the site creation date.
- dns
ARecord stringName - The A record name.
- dns
ARecord string[]Values - The A record value.
- dns
Cname stringRecord Name - The CNAME record name.
- dns
Cname stringRecord Value - The CNAME record value.
- dns
Record stringName - the DNS Record type TXT that should be created and set to the
domain_verification
output value. - domain
Verification string - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- id string
- The provider-assigned unique ID for this managed resource.
- original
Data numberCenter Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- site
Creation numberDate - Numeric representation of the site creation date.
- dns_
a_ strrecord_ name - The A record name.
- dns_
a_ Sequence[str]record_ values - The A record value.
- dns_
cname_ strrecord_ name - The CNAME record name.
- dns_
cname_ strrecord_ value - The CNAME record value.
- dns_
record_ strname - 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_ floatcenter_ id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- site_
creation_ floatdate - Numeric representation of the site creation date.
- dns
ARecord StringName - The A record name.
- dns
ARecord List<String>Values - The A record value.
- dns
Cname StringRecord Name - The CNAME record name.
- dns
Cname StringRecord Value - The CNAME record value.
- dns
Record StringName - the DNS Record type TXT that should be created and set to the
domain_verification
output value. - domain
Verification String - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- id String
- The provider-assigned unique ID for this managed resource.
- original
Data NumberCenter Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- site
Creation NumberDate - 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.
- Acceleration
Level string - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - Account
Id 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
andbypass
.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.
- Data
Storage stringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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
ARecord stringName - The A record name.
- Dns
ARecord List<string>Values - The A record value.
- Dns
Cname stringRecord Name - The CNAME record name.
- Dns
Cname stringRecord Value - The CNAME record value.
- Dns
Record stringName - 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.
- Domain
Redirect stringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- Domain
Validation string - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - Domain
Verification string - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- Force
Ssl string - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- Hash
Salt string - 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 string - 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 string - The log level. Options are
full
,security
, andnone
. - Logs
Account stringId - 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 boolSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- Original
Data doubleCenter Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- Perf
Client boolComply No Cache - 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 boolEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- Perf
Client boolSend Age Header - Send Cache-Control: max-age and Age headers.
- Perf
Key boolComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- Perf
Key boolUnite Naked Full Cache - 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 stringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - Perf
Mode stringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - Perf
Mode doubleTime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - Perf
Response boolCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- Perf
Response boolCache404Enabled - Whether or not to cache 404 responses.
- Perf
Response doubleCache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- Perf
Response boolCache Empty Responses - Cache responses that don’t have a message body.
- Perf
Response boolCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- Perf
Response stringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - Perf
Response List<string>Cache Response Headers - 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 boolCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- Perf
Response stringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - Perf
Response doubleStale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - Perf
Response stringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- Perf
Ttl boolPrefer Last Modified - 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 boolUse Shortest Caching - 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 string - Customer specific identifier for this operation.
- Remove
Ssl string - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- Restricted
Cname stringReuse - 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 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
, andapi.seal_location.right
. - Send
Site stringSetup Emails - 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 doubleDate - Numeric representation of the site creation date.
- Site
Id string - Unique identifier in the API for the site.
- Site
Ip 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
Site
Timeouts - Wildcard
San bool - Use
true
to add the wildcard SAN orfalse
to add the full domain SAN to the site’s SSL certificate. Default value:true
- Acceleration
Level string - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - Account
Id 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
andbypass
.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.
- Data
Storage stringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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
ARecord stringName - The A record name.
- Dns
ARecord []stringValues - The A record value.
- Dns
Cname stringRecord Name - The CNAME record name.
- Dns
Cname stringRecord Value - The CNAME record value.
- Dns
Record stringName - 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.
- Domain
Redirect stringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- Domain
Validation string - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - Domain
Verification string - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- Force
Ssl string - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- Hash
Salt string - 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 string - 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 string - The log level. Options are
full
,security
, andnone
. - Logs
Account stringId - 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 boolSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- Original
Data float64Center Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- Perf
Client boolComply No Cache - 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 boolEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- Perf
Client boolSend Age Header - Send Cache-Control: max-age and Age headers.
- Perf
Key boolComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- Perf
Key boolUnite Naked Full Cache - 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 stringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - Perf
Mode stringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - Perf
Mode float64Time - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - Perf
Response boolCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- Perf
Response boolCache404Enabled - Whether or not to cache 404 responses.
- Perf
Response float64Cache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- Perf
Response boolCache Empty Responses - Cache responses that don’t have a message body.
- Perf
Response boolCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- Perf
Response stringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - Perf
Response []stringCache Response Headers - 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 boolCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- Perf
Response stringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - Perf
Response float64Stale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - Perf
Response stringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- Perf
Ttl boolPrefer Last Modified - 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 boolUse Shortest Caching - 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 string - Customer specific identifier for this operation.
- Remove
Ssl string - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- Restricted
Cname stringReuse - 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 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
, andapi.seal_location.right
. - Send
Site stringSetup Emails - 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 float64Date - Numeric representation of the site creation date.
- Site
Id string - Unique identifier in the API for the site.
- Site
Ip 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
Site
Timeouts Args - Wildcard
San bool - Use
true
to add the wildcard SAN orfalse
to add the full domain SAN to the site’s SSL certificate. Default value:true
- acceleration
Level String - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - account
Id 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
andbypass
.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.
- data
Storage StringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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.
- dns
ARecord StringName - The A record name.
- dns
ARecord List<String>Values - The A record value.
- dns
Cname StringRecord Name - The CNAME record name.
- dns
Cname StringRecord Value - The CNAME record value.
- dns
Record StringName - 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.
- domain
Redirect StringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- domain
Validation String - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - domain
Verification String - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- force
Ssl String - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- hash
Salt String - Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
- hashing
Enabled Boolean - Specify if hashing (masking setting) should be enabled.
- ignore
Ssl String - 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 String - The log level. Options are
full
,security
, andnone
. - logs
Account StringId - 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 BooleanSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- original
Data DoubleCenter Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- perf
Client BooleanComply No Cache - 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 BooleanEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- perf
Client BooleanSend Age Header - Send Cache-Control: max-age and Age headers.
- perf
Key BooleanComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- perf
Key BooleanUnite Naked Full Cache - 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 StringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - perf
Mode StringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - perf
Mode DoubleTime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - perf
Response BooleanCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- perf
Response BooleanCache404Enabled - Whether or not to cache 404 responses.
- perf
Response DoubleCache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- perf
Response BooleanCache Empty Responses - Cache responses that don’t have a message body.
- perf
Response BooleanCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- perf
Response StringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - perf
Response List<String>Cache Response Headers - 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 BooleanCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- perf
Response StringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - perf
Response DoubleStale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - perf
Response StringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- perf
Ttl BooleanPrefer Last Modified - 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 BooleanUse Shortest Caching - 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 String - Customer specific identifier for this operation.
- remove
Ssl String - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- restricted
Cname StringReuse - 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 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
, andapi.seal_location.right
. - send
Site StringSetup Emails - 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 DoubleDate - Numeric representation of the site creation date.
- site
Id String - Unique identifier in the API for the site.
- site
Ip 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
Site
Timeouts - wildcard
San Boolean - Use
true
to add the wildcard SAN orfalse
to add the full domain SAN to the site’s SSL certificate. Default value:true
- acceleration
Level string - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - account
Id 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
andbypass
.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.
- data
Storage stringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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.
- dns
ARecord stringName - The A record name.
- dns
ARecord string[]Values - The A record value.
- dns
Cname stringRecord Name - The CNAME record name.
- dns
Cname stringRecord Value - The CNAME record value.
- dns
Record stringName - 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.
- domain
Redirect stringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- domain
Validation string - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - domain
Verification string - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- force
Ssl string - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- hash
Salt string - Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
- hashing
Enabled boolean - Specify if hashing (masking setting) should be enabled.
- ignore
Ssl string - 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 string - The log level. Options are
full
,security
, andnone
. - logs
Account stringId - 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 booleanSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- original
Data numberCenter Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- perf
Client booleanComply No Cache - 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 booleanEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- perf
Client booleanSend Age Header - Send Cache-Control: max-age and Age headers.
- perf
Key booleanComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- perf
Key booleanUnite Naked Full Cache - 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 stringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - perf
Mode stringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - perf
Mode numberTime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - perf
Response booleanCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- perf
Response booleanCache404Enabled - Whether or not to cache 404 responses.
- perf
Response numberCache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- perf
Response booleanCache Empty Responses - Cache responses that don’t have a message body.
- perf
Response booleanCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- perf
Response stringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - perf
Response string[]Cache Response Headers - 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 booleanCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- perf
Response stringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - perf
Response numberStale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - perf
Response stringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- perf
Ttl booleanPrefer Last Modified - 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 booleanUse Shortest Caching - 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 string - Customer specific identifier for this operation.
- remove
Ssl string - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- restricted
Cname stringReuse - 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 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
, andapi.seal_location.right
. - send
Site stringSetup Emails - 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 numberDate - Numeric representation of the site creation date.
- site
Id string - Unique identifier in the API for the site.
- site
Ip 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
Site
Timeouts - wildcard
San boolean - Use
true
to add the wildcard SAN orfalse
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
, andaggressive
. - 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
andbypass
.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_ strregion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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_ strrecord_ name - The A record name.
- dns_
a_ Sequence[str]record_ values - The A record value.
- dns_
cname_ strrecord_ name - The CNAME record name.
- dns_
cname_ strrecord_ value - The CNAME record value.
- dns_
record_ strname - 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_ strto_ full - 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
anddns
. - 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
, andnone
. - logs_
account_ strid - 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_ boolsan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- original_
data_ floatcenter_ id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- perf_
client_ boolcomply_ no_ cache - 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_ boolenable_ client_ side_ caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- perf_
client_ boolsend_ age_ header - Send Cache-Control: max-age and Age headers.
- perf_
key_ boolcomply_ vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- perf_
key_ boolunite_ naked_ full_ cache - 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_ strhttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - perf_
mode_ strlevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - perf_
mode_ floattime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - perf_
response_ boolcache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- perf_
response_ boolcache404_ enabled - Whether or not to cache 404 responses.
- perf_
response_ floatcache404_ time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- perf_
response_ boolcache_ empty_ responses - Cache responses that don’t have a message body.
- perf_
response_ boolcache_ http10_ responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- perf_
response_ strcache_ response_ header_ mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - perf_
response_ Sequence[str]cache_ response_ headers - 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_ boolcache_ shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- perf_
response_ strstale_ content_ mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - perf_
response_ floatstale_ content_ time - The time, in seconds, to serve stale content for when working in
custom
work mode. - perf_
response_ strtag_ response_ header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- perf_
ttl_ boolprefer_ last_ modified - 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_ booluse_ shortest_ caching - 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_ strreuse - 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
, andapi.seal_location.right
. - send_
site_ strsetup_ emails - 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_ floatdate - 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
Site
Timeouts Args - wildcard_
san bool - Use
true
to add the wildcard SAN orfalse
to add the full domain SAN to the site’s SSL certificate. Default value:true
- acceleration
Level String - Sets the acceleration level of the site. Options are
none
,standard
, andaggressive
. - account
Id 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
andbypass
.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.
- data
Storage StringRegion - The data region to use. Options are
APAC
,AU
,EU
, andUS
. - 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.
- dns
ARecord StringName - The A record name.
- dns
ARecord List<String>Values - The A record value.
- dns
Cname StringRecord Name - The CNAME record name.
- dns
Cname StringRecord Value - The CNAME record value.
- dns
Record StringName - 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.
- domain
Redirect StringTo Full - Sets the redirect naked to full flag. Pass "true" or empty string in the value parameter.
- domain
Validation String - Sets the domain validation method that will be used to generate an SSL certificate. Options are
email
,html
,cname
anddns
. - domain
Verification String - The domain verification (e.g. GlobalSign verification, HTML meta tag).
- force
Ssl String - Force SSL. This option is only available for sites with manually configured IP/CNAME and for specific accounts.
- hash
Salt String - Specify the hash salt (masking setting), required if hashing is enabled. Maximum length of 64 characters.
- hashing
Enabled Boolean - Specify if hashing (masking setting) should be enabled.
- ignore
Ssl String - 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 String - The log level. Options are
full
,security
, andnone
. - logs
Account StringId - 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 BooleanSan - Use
true
to add the naked domain SAN to a www site’s SSL certificate. Default value:true
- original
Data NumberCenter Id - Numeric representation of the data center created with the site. This parameter is deprecated. Please, use data_source_data_center instead.
- perf
Client BooleanComply No Cache - 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 BooleanEnable Client Side Caching - Cache content on client browsers or applications. When not enabled, content is cached only on the Imperva proxies.
- perf
Client BooleanSend Age Header - Send Cache-Control: max-age and Age headers.
- perf
Key BooleanComply Vary - Comply with Vary. Cache resources in accordance with the Vary response header.
- perf
Key BooleanUnite Naked Full Cache - 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 StringHttps - The resources that are cached over HTTPS, the general level applies. Options are
disabled
,dont_include_html
,include_html
, andinclude_all_resources
. - perf
Mode StringLevel - Caching level. Options are
disabled
,custom_cache_rules_only
,standard
,smart
, andall_resources
. - perf
Mode NumberTime - The time, in seconds, that you set for this option determines how often the cache is refreshed. Relevant for the
include_html
andinclude_all_resources
levels only. - perf
Response BooleanCache300x - When this option is checked Imperva will cache 301, 302, 303, 307, and 308 redirect response headers containing the target URI.
- perf
Response BooleanCache404Enabled - Whether or not to cache 404 responses.
- perf
Response NumberCache404Time - The time in seconds to cache 404 responses. Value should be divisible by 60.
- perf
Response BooleanCache Empty Responses - Cache responses that don’t have a message body.
- perf
Response BooleanCache Http10Responses - Cache HTTP 1.0 type responses that don’t include the Content-Length header or chunking.
- perf
Response StringCache Response Header Mode - The working mode for caching response headers. Options are
all
,custom
anddisabled
. - perf
Response List<String>Cache Response Headers - 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 BooleanCache Shield - Adds an intermediate cache between other Imperva PoPs and your origin servers to protect your servers from redundant requests.
- perf
Response StringStale Content Mode - The working mode for serving stale content. Options are
disabled
,adaptive
, andcustom
. - perf
Response NumberStale Content Time - The time, in seconds, to serve stale content for when working in
custom
work mode. - perf
Response StringTag Response Header - Tag the response according to the value of this header. Specify which origin response header contains the cache tags in your resources.
- perf
Ttl BooleanPrefer Last Modified - 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 BooleanUse Shortest Caching - 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 String - Customer specific identifier for this operation.
- remove
Ssl String - Sets the remove SSL from site flag. Pass "true" or empty string in the value parameter.
- restricted
Cname StringReuse - 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 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
, andapi.seal_location.right
. - send
Site StringSetup Emails - 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 NumberDate - Numeric representation of the site creation date.
- site
Id String - Unique identifier in the API for the site.
- site
Ip 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
- wildcard
San Boolean - Use
true
to add the wildcard SAN orfalse
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.