incapsula.ApplicationDelivery
Explore with Pulumi AI
Configure delivery options to help you optimize your content delivery and improve performance by providing faster loading of your web pages.
Example Usage
Basic Usage - Application Delivery
import * as pulumi from "@pulumi/pulumi";
import * as fs from "fs";
import * as incapsula from "@pulumi/incapsula";
const exampleApplicationDelivery = new incapsula.ApplicationDelivery("exampleApplicationDelivery", {
siteId: incapsula_site["testacc-terraform-site"].id,
fileCompression: true,
compressionType: "GZIP",
minifyCss: true,
minifyJs: true,
minifyStaticHtml: false,
defaultErrorPageTemplate: "<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>",
errorAccessDenied: "<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>",
errorConnectionFailed: fs.readFileSync("error_page_example.txt", "utf8"),
aggressiveCompression: true,
compressJpeg: false,
compressPng: true,
progressiveImageRendering: true,
enableHttp2: false,
http2ToOrigin: false,
originConnectionReuse: false,
portTo: 225,
sslPortTo: 555,
supportNonSniClients: false,
tcpPrePooling: false,
redirectHttpToHttps: false,
redirectNakedToFull: false,
});
import pulumi
import pulumi_incapsula as incapsula
example_application_delivery = incapsula.ApplicationDelivery("exampleApplicationDelivery",
site_id=incapsula_site["testacc-terraform-site"]["id"],
file_compression=True,
compression_type="GZIP",
minify_css=True,
minify_js=True,
minify_static_html=False,
default_error_page_template="<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>",
error_access_denied="<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>",
error_connection_failed=(lambda path: open(path).read())("error_page_example.txt"),
aggressive_compression=True,
compress_jpeg=False,
compress_png=True,
progressive_image_rendering=True,
enable_http2=False,
http2_to_origin=False,
origin_connection_reuse=False,
port_to=225,
ssl_port_to=555,
support_non_sni_clients=False,
tcp_pre_pooling=False,
redirect_http_to_https=False,
redirect_naked_to_full=False)
package main
import (
"os"
"github.com/pulumi/pulumi-terraform-provider/sdks/go/incapsula/v3/incapsula"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func readFileOrPanic(path string) pulumi.StringPtrInput {
data, err := os.ReadFile(path)
if err != nil {
panic(err.Error())
}
return pulumi.String(string(data))
}
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := incapsula.NewApplicationDelivery(ctx, "exampleApplicationDelivery", &incapsula.ApplicationDeliveryArgs{
SiteId: pulumi.Any(incapsula_site.TestaccTerraformSite.Id),
FileCompression: pulumi.Bool(true),
CompressionType: pulumi.String("GZIP"),
MinifyCss: pulumi.Bool(true),
MinifyJs: pulumi.Bool(true),
MinifyStaticHtml: pulumi.Bool(false),
DefaultErrorPageTemplate: pulumi.String("<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>"),
ErrorAccessDenied: pulumi.String("<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>"),
ErrorConnectionFailed: pulumi.String(readFileOrPanic("error_page_example.txt")),
AggressiveCompression: pulumi.Bool(true),
CompressJpeg: pulumi.Bool(false),
CompressPng: pulumi.Bool(true),
ProgressiveImageRendering: pulumi.Bool(true),
EnableHttp2: pulumi.Bool(false),
Http2ToOrigin: pulumi.Bool(false),
OriginConnectionReuse: pulumi.Bool(false),
PortTo: pulumi.Float64(225),
SslPortTo: pulumi.Float64(555),
SupportNonSniClients: pulumi.Bool(false),
TcpPrePooling: pulumi.Bool(false),
RedirectHttpToHttps: pulumi.Bool(false),
RedirectNakedToFull: pulumi.Bool(false),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Pulumi;
using Incapsula = Pulumi.Incapsula;
return await Deployment.RunAsync(() =>
{
var exampleApplicationDelivery = new Incapsula.ApplicationDelivery("exampleApplicationDelivery", new()
{
SiteId = incapsula_site.Testacc_terraform_site.Id,
FileCompression = true,
CompressionType = "GZIP",
MinifyCss = true,
MinifyJs = true,
MinifyStaticHtml = false,
DefaultErrorPageTemplate = "<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>",
ErrorAccessDenied = "<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>",
ErrorConnectionFailed = File.ReadAllText("error_page_example.txt"),
AggressiveCompression = true,
CompressJpeg = false,
CompressPng = true,
ProgressiveImageRendering = true,
EnableHttp2 = false,
Http2ToOrigin = false,
OriginConnectionReuse = false,
PortTo = 225,
SslPortTo = 555,
SupportNonSniClients = false,
TcpPrePooling = false,
RedirectHttpToHttps = false,
RedirectNakedToFull = false,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.incapsula.ApplicationDelivery;
import com.pulumi.incapsula.ApplicationDeliveryArgs;
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 exampleApplicationDelivery = new ApplicationDelivery("exampleApplicationDelivery", ApplicationDeliveryArgs.builder()
.siteId(incapsula_site.testacc-terraform-site().id())
.fileCompression(true)
.compressionType("GZIP")
.minifyCss(true)
.minifyJs(true)
.minifyStaticHtml(false)
.defaultErrorPageTemplate("<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>")
.errorAccessDenied("<html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>")
.errorConnectionFailed(Files.readString(Paths.get("error_page_example.txt")))
.aggressiveCompression(true)
.compressJpeg(false)
.compressPng(true)
.progressiveImageRendering(true)
.enableHttp2(false)
.http2ToOrigin(false)
.originConnectionReuse(false)
.portTo(225)
.sslPortTo(555)
.supportNonSniClients(false)
.tcpPrePooling(false)
.redirectHttpToHttps(false)
.redirectNakedToFull(false)
.build());
}
}
resources:
exampleApplicationDelivery:
type: incapsula:ApplicationDelivery
properties:
siteId: ${incapsula_site"testacc-terraform-site"[%!s(MISSING)].id}
fileCompression: true
compressionType: GZIP
minifyCss: true
minifyJs: true
minifyStaticHtml: false
defaultErrorPageTemplate: <html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>
errorAccessDenied: <html><body><h1>$TITLE$</h1><p>$BODY$</p><div>1</div></body></html>
errorConnectionFailed:
fn::readFile: error_page_example.txt
aggressiveCompression: true
compressJpeg: false
compressPng: true
progressiveImageRendering: true
enableHttp2: false
http2ToOrigin: false
originConnectionReuse: false
portTo: 225
sslPortTo: 555
supportNonSniClients: false
tcpPrePooling: false
redirectHttpToHttps: false
redirectNakedToFull: false
Create ApplicationDelivery Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApplicationDelivery(name: string, args: ApplicationDeliveryArgs, opts?: CustomResourceOptions);
@overload
def ApplicationDelivery(resource_name: str,
args: ApplicationDeliveryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ApplicationDelivery(resource_name: str,
opts: Optional[ResourceOptions] = None,
site_id: Optional[float] = None,
error_parse_resp_error: Optional[str] = None,
minify_static_html: Optional[bool] = None,
compress_png: Optional[bool] = None,
compression_type: Optional[str] = None,
default_error_page_template: Optional[str] = None,
enable_http2: Optional[bool] = None,
error_abp_identification_failed: Optional[str] = None,
error_access_denied: Optional[str] = None,
error_connection_failed: Optional[str] = None,
error_connection_timeout: Optional[str] = None,
error_deny_and_captcha: Optional[str] = None,
error_no_ssl_config: Optional[str] = None,
error_parse_req_error: Optional[str] = None,
aggressive_compression: Optional[bool] = None,
compress_jpeg: Optional[bool] = None,
http2_to_origin: Optional[bool] = None,
error_ssl_failed: Optional[str] = None,
minify_css: Optional[bool] = None,
minify_js: Optional[bool] = None,
file_compression: Optional[bool] = None,
origin_connection_reuse: Optional[bool] = None,
port_to: Optional[float] = None,
progressive_image_rendering: Optional[bool] = None,
redirect_http_to_https: Optional[bool] = None,
redirect_naked_to_full: Optional[bool] = None,
application_delivery_id: Optional[str] = None,
ssl_port_to: Optional[float] = None,
support_non_sni_clients: Optional[bool] = None,
tcp_pre_pooling: Optional[bool] = None)
func NewApplicationDelivery(ctx *Context, name string, args ApplicationDeliveryArgs, opts ...ResourceOption) (*ApplicationDelivery, error)
public ApplicationDelivery(string name, ApplicationDeliveryArgs args, CustomResourceOptions? opts = null)
public ApplicationDelivery(String name, ApplicationDeliveryArgs args)
public ApplicationDelivery(String name, ApplicationDeliveryArgs args, CustomResourceOptions options)
type: incapsula:ApplicationDelivery
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 ApplicationDeliveryArgs
- 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 ApplicationDeliveryArgs
- 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 ApplicationDeliveryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationDeliveryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationDeliveryArgs
- 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 applicationDeliveryResource = new Incapsula.ApplicationDelivery("applicationDeliveryResource", new()
{
SiteId = 0,
ErrorParseRespError = "string",
MinifyStaticHtml = false,
CompressPng = false,
CompressionType = "string",
DefaultErrorPageTemplate = "string",
EnableHttp2 = false,
ErrorAbpIdentificationFailed = "string",
ErrorAccessDenied = "string",
ErrorConnectionFailed = "string",
ErrorConnectionTimeout = "string",
ErrorDenyAndCaptcha = "string",
ErrorNoSslConfig = "string",
ErrorParseReqError = "string",
AggressiveCompression = false,
CompressJpeg = false,
Http2ToOrigin = false,
ErrorSslFailed = "string",
MinifyCss = false,
MinifyJs = false,
FileCompression = false,
OriginConnectionReuse = false,
PortTo = 0,
ProgressiveImageRendering = false,
RedirectHttpToHttps = false,
RedirectNakedToFull = false,
ApplicationDeliveryId = "string",
SslPortTo = 0,
SupportNonSniClients = false,
TcpPrePooling = false,
});
example, err := incapsula.NewApplicationDelivery(ctx, "applicationDeliveryResource", &incapsula.ApplicationDeliveryArgs{
SiteId: pulumi.Float64(0),
ErrorParseRespError: pulumi.String("string"),
MinifyStaticHtml: pulumi.Bool(false),
CompressPng: pulumi.Bool(false),
CompressionType: pulumi.String("string"),
DefaultErrorPageTemplate: pulumi.String("string"),
EnableHttp2: pulumi.Bool(false),
ErrorAbpIdentificationFailed: pulumi.String("string"),
ErrorAccessDenied: pulumi.String("string"),
ErrorConnectionFailed: pulumi.String("string"),
ErrorConnectionTimeout: pulumi.String("string"),
ErrorDenyAndCaptcha: pulumi.String("string"),
ErrorNoSslConfig: pulumi.String("string"),
ErrorParseReqError: pulumi.String("string"),
AggressiveCompression: pulumi.Bool(false),
CompressJpeg: pulumi.Bool(false),
Http2ToOrigin: pulumi.Bool(false),
ErrorSslFailed: pulumi.String("string"),
MinifyCss: pulumi.Bool(false),
MinifyJs: pulumi.Bool(false),
FileCompression: pulumi.Bool(false),
OriginConnectionReuse: pulumi.Bool(false),
PortTo: pulumi.Float64(0),
ProgressiveImageRendering: pulumi.Bool(false),
RedirectHttpToHttps: pulumi.Bool(false),
RedirectNakedToFull: pulumi.Bool(false),
ApplicationDeliveryId: pulumi.String("string"),
SslPortTo: pulumi.Float64(0),
SupportNonSniClients: pulumi.Bool(false),
TcpPrePooling: pulumi.Bool(false),
})
var applicationDeliveryResource = new ApplicationDelivery("applicationDeliveryResource", ApplicationDeliveryArgs.builder()
.siteId(0)
.errorParseRespError("string")
.minifyStaticHtml(false)
.compressPng(false)
.compressionType("string")
.defaultErrorPageTemplate("string")
.enableHttp2(false)
.errorAbpIdentificationFailed("string")
.errorAccessDenied("string")
.errorConnectionFailed("string")
.errorConnectionTimeout("string")
.errorDenyAndCaptcha("string")
.errorNoSslConfig("string")
.errorParseReqError("string")
.aggressiveCompression(false)
.compressJpeg(false)
.http2ToOrigin(false)
.errorSslFailed("string")
.minifyCss(false)
.minifyJs(false)
.fileCompression(false)
.originConnectionReuse(false)
.portTo(0)
.progressiveImageRendering(false)
.redirectHttpToHttps(false)
.redirectNakedToFull(false)
.applicationDeliveryId("string")
.sslPortTo(0)
.supportNonSniClients(false)
.tcpPrePooling(false)
.build());
application_delivery_resource = incapsula.ApplicationDelivery("applicationDeliveryResource",
site_id=0,
error_parse_resp_error="string",
minify_static_html=False,
compress_png=False,
compression_type="string",
default_error_page_template="string",
enable_http2=False,
error_abp_identification_failed="string",
error_access_denied="string",
error_connection_failed="string",
error_connection_timeout="string",
error_deny_and_captcha="string",
error_no_ssl_config="string",
error_parse_req_error="string",
aggressive_compression=False,
compress_jpeg=False,
http2_to_origin=False,
error_ssl_failed="string",
minify_css=False,
minify_js=False,
file_compression=False,
origin_connection_reuse=False,
port_to=0,
progressive_image_rendering=False,
redirect_http_to_https=False,
redirect_naked_to_full=False,
application_delivery_id="string",
ssl_port_to=0,
support_non_sni_clients=False,
tcp_pre_pooling=False)
const applicationDeliveryResource = new incapsula.ApplicationDelivery("applicationDeliveryResource", {
siteId: 0,
errorParseRespError: "string",
minifyStaticHtml: false,
compressPng: false,
compressionType: "string",
defaultErrorPageTemplate: "string",
enableHttp2: false,
errorAbpIdentificationFailed: "string",
errorAccessDenied: "string",
errorConnectionFailed: "string",
errorConnectionTimeout: "string",
errorDenyAndCaptcha: "string",
errorNoSslConfig: "string",
errorParseReqError: "string",
aggressiveCompression: false,
compressJpeg: false,
http2ToOrigin: false,
errorSslFailed: "string",
minifyCss: false,
minifyJs: false,
fileCompression: false,
originConnectionReuse: false,
portTo: 0,
progressiveImageRendering: false,
redirectHttpToHttps: false,
redirectNakedToFull: false,
applicationDeliveryId: "string",
sslPortTo: 0,
supportNonSniClients: false,
tcpPrePooling: false,
});
type: incapsula:ApplicationDelivery
properties:
aggressiveCompression: false
applicationDeliveryId: string
compressJpeg: false
compressPng: false
compressionType: string
defaultErrorPageTemplate: string
enableHttp2: false
errorAbpIdentificationFailed: string
errorAccessDenied: string
errorConnectionFailed: string
errorConnectionTimeout: string
errorDenyAndCaptcha: string
errorNoSslConfig: string
errorParseReqError: string
errorParseRespError: string
errorSslFailed: string
fileCompression: false
http2ToOrigin: false
minifyCss: false
minifyJs: false
minifyStaticHtml: false
originConnectionReuse: false
portTo: 0
progressiveImageRendering: false
redirectHttpToHttps: false
redirectNakedToFull: false
siteId: 0
sslPortTo: 0
supportNonSniClients: false
tcpPrePooling: false
ApplicationDelivery 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 ApplicationDelivery resource accepts the following input properties:
- Site
Id double - Numeric identifier of the site to operate on.
- Aggressive
Compression bool - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- Application
Delivery stringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- Compress
Jpeg bool - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- Compress
Png bool - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- Compression
Type string - BROTLI (recommended for more efficient compression). Default: GZIP
- Default
Error stringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- Enable
Http2 bool - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- Error
Abp stringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- Error
Access stringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Connection stringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Connection stringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Deny stringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
No stringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Parse stringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Parse stringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Ssl stringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- File
Compression bool - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- Http2To
Origin bool - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- Minify
Css bool - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- Minify
Js bool - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- Minify
Static boolHtml - Minify static HTML. Default: true.
- Origin
Connection boolReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- Port
To double - The port number.
- Progressive
Image boolRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- Redirect
Http boolTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- Redirect
Naked boolTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- Ssl
Port doubleTo - The port number to rewrite default SSL port to.
- Support
Non boolSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- Tcp
Pre boolPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- Site
Id float64 - Numeric identifier of the site to operate on.
- Aggressive
Compression bool - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- Application
Delivery stringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- Compress
Jpeg bool - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- Compress
Png bool - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- Compression
Type string - BROTLI (recommended for more efficient compression). Default: GZIP
- Default
Error stringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- Enable
Http2 bool - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- Error
Abp stringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- Error
Access stringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Connection stringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Connection stringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Deny stringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
No stringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Parse stringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Parse stringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Ssl stringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- File
Compression bool - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- Http2To
Origin bool - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- Minify
Css bool - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- Minify
Js bool - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- Minify
Static boolHtml - Minify static HTML. Default: true.
- Origin
Connection boolReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- Port
To float64 - The port number.
- Progressive
Image boolRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- Redirect
Http boolTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- Redirect
Naked boolTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- Ssl
Port float64To - The port number to rewrite default SSL port to.
- Support
Non boolSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- Tcp
Pre boolPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- site
Id Double - Numeric identifier of the site to operate on.
- aggressive
Compression Boolean - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- application
Delivery StringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- compress
Jpeg Boolean - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- compress
Png Boolean - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- compression
Type String - BROTLI (recommended for more efficient compression). Default: GZIP
- default
Error StringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- enable
Http2 Boolean - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- error
Abp StringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- error
Access StringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection StringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection StringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Deny StringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
No StringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse StringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse StringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Ssl StringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- file
Compression Boolean - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- http2To
Origin Boolean - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- minify
Css Boolean - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- minify
Js Boolean - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- minify
Static BooleanHtml - Minify static HTML. Default: true.
- origin
Connection BooleanReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- port
To Double - The port number.
- progressive
Image BooleanRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- redirect
Http BooleanTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- redirect
Naked BooleanTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- ssl
Port DoubleTo - The port number to rewrite default SSL port to.
- support
Non BooleanSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- tcp
Pre BooleanPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- site
Id number - Numeric identifier of the site to operate on.
- aggressive
Compression boolean - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- application
Delivery stringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- compress
Jpeg boolean - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- compress
Png boolean - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- compression
Type string - BROTLI (recommended for more efficient compression). Default: GZIP
- default
Error stringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- enable
Http2 boolean - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- error
Abp stringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- error
Access stringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection stringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection stringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Deny stringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
No stringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse stringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse stringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Ssl stringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- file
Compression boolean - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- http2To
Origin boolean - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- minify
Css boolean - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- minify
Js boolean - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- minify
Static booleanHtml - Minify static HTML. Default: true.
- origin
Connection booleanReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- port
To number - The port number.
- progressive
Image booleanRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- redirect
Http booleanTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- redirect
Naked booleanTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- ssl
Port numberTo - The port number to rewrite default SSL port to.
- support
Non booleanSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- tcp
Pre booleanPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- site_
id float - Numeric identifier of the site to operate on.
- aggressive_
compression bool - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- application_
delivery_ strid - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- compress_
jpeg bool - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- compress_
png bool - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- compression_
type str - BROTLI (recommended for more efficient compression). Default: GZIP
- default_
error_ strpage_ template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- enable_
http2 bool - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- error_
abp_ stridentification_ failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- error_
access_ strdenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
connection_ strfailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
connection_ strtimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
deny_ strand_ captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
no_ strssl_ config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
parse_ strreq_ error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
parse_ strresp_ error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
ssl_ strfailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- file_
compression bool - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- http2_
to_ boolorigin - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- minify_
css bool - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- minify_
js bool - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- minify_
static_ boolhtml - Minify static HTML. Default: true.
- origin_
connection_ boolreuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- port_
to float - The port number.
- progressive_
image_ boolrendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- redirect_
http_ boolto_ https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- redirect_
naked_ boolto_ full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- ssl_
port_ floatto - The port number to rewrite default SSL port to.
- support_
non_ boolsni_ clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- tcp_
pre_ boolpooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- site
Id Number - Numeric identifier of the site to operate on.
- aggressive
Compression Boolean - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- application
Delivery StringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- compress
Jpeg Boolean - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- compress
Png Boolean - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- compression
Type String - BROTLI (recommended for more efficient compression). Default: GZIP
- default
Error StringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- enable
Http2 Boolean - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- error
Abp StringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- error
Access StringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection StringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection StringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Deny StringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
No StringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse StringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse StringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Ssl StringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- file
Compression Boolean - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- http2To
Origin Boolean - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- minify
Css Boolean - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- minify
Js Boolean - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- minify
Static BooleanHtml - Minify static HTML. Default: true.
- origin
Connection BooleanReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- port
To Number - The port number.
- progressive
Image BooleanRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- redirect
Http BooleanTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- redirect
Naked BooleanTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- ssl
Port NumberTo - The port number to rewrite default SSL port to.
- support
Non BooleanSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- tcp
Pre BooleanPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
Outputs
All input properties are implicitly available as output properties. Additionally, the ApplicationDelivery resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ApplicationDelivery Resource
Get an existing ApplicationDelivery 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?: ApplicationDeliveryState, opts?: CustomResourceOptions): ApplicationDelivery
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
aggressive_compression: Optional[bool] = None,
application_delivery_id: Optional[str] = None,
compress_jpeg: Optional[bool] = None,
compress_png: Optional[bool] = None,
compression_type: Optional[str] = None,
default_error_page_template: Optional[str] = None,
enable_http2: Optional[bool] = None,
error_abp_identification_failed: Optional[str] = None,
error_access_denied: Optional[str] = None,
error_connection_failed: Optional[str] = None,
error_connection_timeout: Optional[str] = None,
error_deny_and_captcha: Optional[str] = None,
error_no_ssl_config: Optional[str] = None,
error_parse_req_error: Optional[str] = None,
error_parse_resp_error: Optional[str] = None,
error_ssl_failed: Optional[str] = None,
file_compression: Optional[bool] = None,
http2_to_origin: Optional[bool] = None,
minify_css: Optional[bool] = None,
minify_js: Optional[bool] = None,
minify_static_html: Optional[bool] = None,
origin_connection_reuse: Optional[bool] = None,
port_to: Optional[float] = None,
progressive_image_rendering: Optional[bool] = None,
redirect_http_to_https: Optional[bool] = None,
redirect_naked_to_full: Optional[bool] = None,
site_id: Optional[float] = None,
ssl_port_to: Optional[float] = None,
support_non_sni_clients: Optional[bool] = None,
tcp_pre_pooling: Optional[bool] = None) -> ApplicationDelivery
func GetApplicationDelivery(ctx *Context, name string, id IDInput, state *ApplicationDeliveryState, opts ...ResourceOption) (*ApplicationDelivery, error)
public static ApplicationDelivery Get(string name, Input<string> id, ApplicationDeliveryState? state, CustomResourceOptions? opts = null)
public static ApplicationDelivery get(String name, Output<String> id, ApplicationDeliveryState state, CustomResourceOptions options)
resources: _: type: incapsula:ApplicationDelivery 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.
- Aggressive
Compression bool - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- Application
Delivery stringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- Compress
Jpeg bool - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- Compress
Png bool - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- Compression
Type string - BROTLI (recommended for more efficient compression). Default: GZIP
- Default
Error stringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- Enable
Http2 bool - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- Error
Abp stringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- Error
Access stringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Connection stringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Connection stringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Deny stringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
No stringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Parse stringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Parse stringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Ssl stringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- File
Compression bool - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- Http2To
Origin bool - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- Minify
Css bool - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- Minify
Js bool - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- Minify
Static boolHtml - Minify static HTML. Default: true.
- Origin
Connection boolReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- Port
To double - The port number.
- Progressive
Image boolRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- Redirect
Http boolTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- Redirect
Naked boolTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- Site
Id double - Numeric identifier of the site to operate on.
- Ssl
Port doubleTo - The port number to rewrite default SSL port to.
- Support
Non boolSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- Tcp
Pre boolPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- Aggressive
Compression bool - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- Application
Delivery stringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- Compress
Jpeg bool - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- Compress
Png bool - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- Compression
Type string - BROTLI (recommended for more efficient compression). Default: GZIP
- Default
Error stringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- Enable
Http2 bool - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- Error
Abp stringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- Error
Access stringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Connection stringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Connection stringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Deny stringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
No stringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Parse stringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Parse stringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- Error
Ssl stringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- File
Compression bool - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- Http2To
Origin bool - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- Minify
Css bool - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- Minify
Js bool - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- Minify
Static boolHtml - Minify static HTML. Default: true.
- Origin
Connection boolReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- Port
To float64 - The port number.
- Progressive
Image boolRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- Redirect
Http boolTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- Redirect
Naked boolTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- Site
Id float64 - Numeric identifier of the site to operate on.
- Ssl
Port float64To - The port number to rewrite default SSL port to.
- Support
Non boolSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- Tcp
Pre boolPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- aggressive
Compression Boolean - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- application
Delivery StringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- compress
Jpeg Boolean - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- compress
Png Boolean - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- compression
Type String - BROTLI (recommended for more efficient compression). Default: GZIP
- default
Error StringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- enable
Http2 Boolean - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- error
Abp StringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- error
Access StringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection StringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection StringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Deny StringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
No StringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse StringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse StringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Ssl StringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- file
Compression Boolean - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- http2To
Origin Boolean - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- minify
Css Boolean - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- minify
Js Boolean - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- minify
Static BooleanHtml - Minify static HTML. Default: true.
- origin
Connection BooleanReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- port
To Double - The port number.
- progressive
Image BooleanRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- redirect
Http BooleanTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- redirect
Naked BooleanTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- site
Id Double - Numeric identifier of the site to operate on.
- ssl
Port DoubleTo - The port number to rewrite default SSL port to.
- support
Non BooleanSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- tcp
Pre BooleanPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- aggressive
Compression boolean - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- application
Delivery stringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- compress
Jpeg boolean - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- compress
Png boolean - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- compression
Type string - BROTLI (recommended for more efficient compression). Default: GZIP
- default
Error stringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- enable
Http2 boolean - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- error
Abp stringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- error
Access stringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection stringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection stringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Deny stringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
No stringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse stringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse stringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Ssl stringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- file
Compression boolean - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- http2To
Origin boolean - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- minify
Css boolean - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- minify
Js boolean - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- minify
Static booleanHtml - Minify static HTML. Default: true.
- origin
Connection booleanReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- port
To number - The port number.
- progressive
Image booleanRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- redirect
Http booleanTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- redirect
Naked booleanTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- site
Id number - Numeric identifier of the site to operate on.
- ssl
Port numberTo - The port number to rewrite default SSL port to.
- support
Non booleanSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- tcp
Pre booleanPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- aggressive_
compression bool - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- application_
delivery_ strid - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- compress_
jpeg bool - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- compress_
png bool - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- compression_
type str - BROTLI (recommended for more efficient compression). Default: GZIP
- default_
error_ strpage_ template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- enable_
http2 bool - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- error_
abp_ stridentification_ failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- error_
access_ strdenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
connection_ strfailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
connection_ strtimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
deny_ strand_ captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
no_ strssl_ config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
parse_ strreq_ error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
parse_ strresp_ error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error_
ssl_ strfailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- file_
compression bool - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- http2_
to_ boolorigin - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- minify_
css bool - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- minify_
js bool - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- minify_
static_ boolhtml - Minify static HTML. Default: true.
- origin_
connection_ boolreuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- port_
to float - The port number.
- progressive_
image_ boolrendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- redirect_
http_ boolto_ https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- redirect_
naked_ boolto_ full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- site_
id float - Numeric identifier of the site to operate on.
- ssl_
port_ floatto - The port number to rewrite default SSL port to.
- support_
non_ boolsni_ clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- tcp_
pre_ boolpooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
- aggressive
Compression Boolean - A more aggressive method of compression is applied with the goal of minimizing the image file size, possibly impacting the final quality of the image displayed. Applies to JPEG compression only. Default: false.
- application
Delivery StringId - Unique identifier in the API for the application delivery configuration. The id is identical to Site id.
- compress
Jpeg Boolean - Compress JPEG images. Compression reduces download time by reducing the file size. Default: true
- compress
Png Boolean - Compress PNG images. Compression reduces download time by reducing the file size. PNG compression removes only image meta-data with no impact on quality. Default: true.
- compression
Type String - BROTLI (recommended for more efficient compression). Default: GZIP
- default
Error StringPage Template - The default error page HTML template. $TITLE$ and $BODY$ placeholders are required.
- enable
Http2 Boolean - Allows supporting browsers to take advantage of the performance enhancements provided by HTTP/2 for your website. Non-supporting browsers can connect via HTTP/1.0 or HTTP/1.1.
- error
Abp StringIdentification Failed - The HTML template for 'ABP identification failed' error. Only HTML elements located inside the body tag are supported. Set empty value to return to default.
- error
Access StringDenied - The HTML template for 'Access Denied' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection StringFailed - The HTML template for 'Unable to connect to origin server' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Connection StringTimeout - The HTML template for 'Connection Timeout' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Deny StringAnd Captcha - The HTML template for 'Initial connection denied - CAPTCHA required' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
No StringSsl Config - The HTML template for 'Site not configured for SSL' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse StringReq Error - The HTML template for 'Unable to parse request' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Parse StringResp Error - The HTML template for 'Unable to parse response' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- error
Ssl StringFailed - The HTML template for 'Unable to establish SSL connection' error. $TITLE$ and $BODY$ placeholders are required. Set empty value to return to default.
- file
Compression Boolean - When this option is enabled, files such as JavaScript, CSS and HTML are dynamically compressed using the selected format as they are transferred. They are automatically unzipped within the browser. If Brotli is not supported by the browser, files are automatically sent in Gzip. Default: true
- http2To
Origin Boolean - Enables HTTP/2 for the connection between Imperva and your origin server. (HTTP/2 must also be supported by the origin server.)
- minify
Css Boolean - Content minification can applied only to cached Javascript, CSS and HTML content. Default: true.
- minify
Js Boolean - Minify JavaScript. Minification removes characters that are not necessary for rendering the page, such as whitespace and comments. This makes the files smaller and therefore reduces their access time. Minification has no impact on the functionality of the Javascript, CSS, and HTML files. Default: true
- minify
Static BooleanHtml - Minify static HTML. Default: true.
- origin
Connection BooleanReuse - TCP connections that are opened for a client request remain open for a short time to handle additional requests that may arrive. Default: true
- port
To Number - The port number.
- progressive
Image BooleanRendering - The image is rendered with progressively finer resolution, potentially causing a pixelated effect until the final image is rendered with no loss of quality. This option reduces page load times and allows images to gradually load after the page is rendered. Default: false.
- redirect
Http BooleanTo Https - Sites that require an HTTPS connection force all HTTP requests to be redirected to HTTPS. This option is displayed only for an SSL site. Default: false
- redirect
Naked BooleanTo Full - Redirect all visitors to your site’s full domain (which includes www). This option is displayed only for a naked domain. Default: false
- site
Id Number - Numeric identifier of the site to operate on.
- ssl
Port NumberTo - The port number to rewrite default SSL port to.
- support
Non BooleanSni Clients - By default, non-SNI clients are supported. Disable this option to block non-SNI clients. Default: true
- tcp
Pre BooleanPooling - Maintain a set of idle TCP connections to the origin server to eliminate the latency associated with opening new connections or new requests (TCP handshake). Default: true
Import
Application Delivery configuration can be imported using the id
, e.g.:
$ pulumi import incapsula:index/applicationDelivery:ApplicationDelivery example_application_delivery 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.