1. Packages
  2. Incapsula Provider
  3. API Docs
  4. SiteSslSettings
incapsula 3.32.1 published on Monday, Apr 14, 2025 by imperva

incapsula.SiteSslSettings

Explore with Pulumi AI

incapsula logo
incapsula 3.32.1 published on Monday, Apr 14, 2025 by imperva

    Provides an Incapsula Site SSL Settings resource.

    In this resource you can configure:

    • HSTS: A security mechanism enabling websites to announce themselves as accessible only via HTTPS. For more information about HSTS, click here.
    • TLS settings: Define the supported TLS version and cipher suites used for encryption of the TLS handshake between client and Imperva. For more information about supported TLS versions and ciphers, click here.

    If you run the SSL settings resource from a site for which SSL is not yet enabled and the SSL certificate is not approved, it will result in the following error response:

    • status: 406
    • message: Site does not have SSL configured
    • To enable this feature for your site, you must first configure its SSL settings including a valid certificate.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as incapsula from "@pulumi/incapsula";
    
    const example = new incapsula.SiteSslSettings("example", {
        siteId: incapsula_site.mysite.id,
        accountId: 4321,
        hsts: [{
            isEnabled: true,
            maxAge: 31536000,
            subDomainsIncluded: false,
            preLoaded: false,
        }],
        inboundTlsSettings: [{
            configurationProfile: "CUSTOM",
            tlsConfigurations: [
                {
                    tlsVersion: "TLS_1_2",
                    ciphersSupports: [
                        "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
                        "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
                    ],
                },
                {
                    tlsVersion: "TLS_1_3",
                    ciphersSupports: [
                        "TLS_AES_128_GCM_SHA256",
                        "TLS_CHACHA20_POLY1305_SHA256",
                        "TLS_AES_256_GCM_SHA384",
                    ],
                },
            ],
        }],
    });
    
    import pulumi
    import pulumi_incapsula as incapsula
    
    example = incapsula.SiteSslSettings("example",
        site_id=incapsula_site["mysite"]["id"],
        account_id=4321,
        hsts=[{
            "is_enabled": True,
            "max_age": 31536000,
            "sub_domains_included": False,
            "pre_loaded": False,
        }],
        inbound_tls_settings=[{
            "configuration_profile": "CUSTOM",
            "tls_configurations": [
                {
                    "tls_version": "TLS_1_2",
                    "ciphers_supports": [
                        "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
                        "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
                    ],
                },
                {
                    "tls_version": "TLS_1_3",
                    "ciphers_supports": [
                        "TLS_AES_128_GCM_SHA256",
                        "TLS_CHACHA20_POLY1305_SHA256",
                        "TLS_AES_256_GCM_SHA384",
                    ],
                },
            ],
        }])
    
    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.NewSiteSslSettings(ctx, "example", &incapsula.SiteSslSettingsArgs{
    			SiteId:    pulumi.Any(incapsula_site.Mysite.Id),
    			AccountId: pulumi.Float64(4321),
    			Hsts: incapsula.SiteSslSettingsHstArray{
    				&incapsula.SiteSslSettingsHstArgs{
    					IsEnabled:          pulumi.Bool(true),
    					MaxAge:             pulumi.Float64(31536000),
    					SubDomainsIncluded: pulumi.Bool(false),
    					PreLoaded:          pulumi.Bool(false),
    				},
    			},
    			InboundTlsSettings: incapsula.SiteSslSettingsInboundTlsSettingArray{
    				&incapsula.SiteSslSettingsInboundTlsSettingArgs{
    					ConfigurationProfile: pulumi.String("CUSTOM"),
    					TlsConfigurations: incapsula.SiteSslSettingsInboundTlsSettingTlsConfigurationArray{
    						&incapsula.SiteSslSettingsInboundTlsSettingTlsConfigurationArgs{
    							TlsVersion: pulumi.String("TLS_1_2"),
    							CiphersSupports: pulumi.StringArray{
    								pulumi.String("TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384"),
    								pulumi.String("TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256"),
    							},
    						},
    						&incapsula.SiteSslSettingsInboundTlsSettingTlsConfigurationArgs{
    							TlsVersion: pulumi.String("TLS_1_3"),
    							CiphersSupports: pulumi.StringArray{
    								pulumi.String("TLS_AES_128_GCM_SHA256"),
    								pulumi.String("TLS_CHACHA20_POLY1305_SHA256"),
    								pulumi.String("TLS_AES_256_GCM_SHA384"),
    							},
    						},
    					},
    				},
    			},
    		})
    		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 = new Incapsula.SiteSslSettings("example", new()
        {
            SiteId = incapsula_site.Mysite.Id,
            AccountId = 4321,
            Hsts = new[]
            {
                new Incapsula.Inputs.SiteSslSettingsHstArgs
                {
                    IsEnabled = true,
                    MaxAge = 31536000,
                    SubDomainsIncluded = false,
                    PreLoaded = false,
                },
            },
            InboundTlsSettings = new[]
            {
                new Incapsula.Inputs.SiteSslSettingsInboundTlsSettingArgs
                {
                    ConfigurationProfile = "CUSTOM",
                    TlsConfigurations = new[]
                    {
                        new Incapsula.Inputs.SiteSslSettingsInboundTlsSettingTlsConfigurationArgs
                        {
                            TlsVersion = "TLS_1_2",
                            CiphersSupports = new[]
                            {
                                "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
                                "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
                            },
                        },
                        new Incapsula.Inputs.SiteSslSettingsInboundTlsSettingTlsConfigurationArgs
                        {
                            TlsVersion = "TLS_1_3",
                            CiphersSupports = new[]
                            {
                                "TLS_AES_128_GCM_SHA256",
                                "TLS_CHACHA20_POLY1305_SHA256",
                                "TLS_AES_256_GCM_SHA384",
                            },
                        },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.incapsula.SiteSslSettings;
    import com.pulumi.incapsula.SiteSslSettingsArgs;
    import com.pulumi.incapsula.inputs.SiteSslSettingsHstArgs;
    import com.pulumi.incapsula.inputs.SiteSslSettingsInboundTlsSettingArgs;
    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 = new SiteSslSettings("example", SiteSslSettingsArgs.builder()
                .siteId(incapsula_site.mysite().id())
                .accountId(4321)
                .hsts(SiteSslSettingsHstArgs.builder()
                    .isEnabled(true)
                    .maxAge(31536000)
                    .subDomainsIncluded(false)
                    .preLoaded(false)
                    .build())
                .inboundTlsSettings(SiteSslSettingsInboundTlsSettingArgs.builder()
                    .configurationProfile("CUSTOM")
                    .tlsConfigurations(                
                        SiteSslSettingsInboundTlsSettingTlsConfigurationArgs.builder()
                            .tlsVersion("TLS_1_2")
                            .ciphersSupports(                        
                                "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
                                "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256")
                            .build(),
                        SiteSslSettingsInboundTlsSettingTlsConfigurationArgs.builder()
                            .tlsVersion("TLS_1_3")
                            .ciphersSupports(                        
                                "TLS_AES_128_GCM_SHA256",
                                "TLS_CHACHA20_POLY1305_SHA256",
                                "TLS_AES_256_GCM_SHA384")
                            .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: incapsula:SiteSslSettings
        properties:
          siteId: ${incapsula_site.mysite.id}
          accountId: 4321
          hsts:
            - isEnabled: true
              maxAge: 3.1536e+07
              subDomainsIncluded: false
              preLoaded: false
          inboundTlsSettings:
            - configurationProfile: CUSTOM
              tlsConfigurations:
                - tlsVersion: TLS_1_2
                  ciphersSupports:
                    - TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
                    - TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
                - tlsVersion: TLS_1_3
                  ciphersSupports:
                    - TLS_AES_128_GCM_SHA256
                    - TLS_CHACHA20_POLY1305_SHA256
                    - TLS_AES_256_GCM_SHA384
    

    Schema of hsts_config resource

    The hsts_config resource represents the configuration settings for HTTP Strict Transport Security (HSTS).

    • is_enabled - (Optional): Whether HSTS is enabled for the site.
      • Type: bool
      • Default: false
    • max_age - (Optional): The maximum age, in seconds, that the HSTS policy should be enforced for the site.
      • Type: int
      • Default: 31536000 (1 year)
    • sub_domains_included - (Optional): Whether sub-domains should be included in the HSTS policy.
      • Type: bool
      • Default: false
    • pre_loaded - (Optional): Whether the site is preloaded in the HSTS preload list maintained by browsers.
      • Type: bool
      • Default: false

    Schema of inbound_tls_settings resource

    The inbound_tls_settings resource represents the configuration settings for Transport Layer Security (TLS).

    • configuration_profile - (Required): Where to use a pre-defined or custom configuration for TLS settings. Possible values: DEFAULT, ENHANCED_SECURITY, CUSTOM.
      • Type: string
    • tls_configuration - (Optional): List supported TLS versions and ciphers.
      • Type: List

    Nested Schema for tls_configuration

    • tls_version - (Required): TLS supported versions.
      • Type: string
    • ciphers_support - (Required): List of ciphers to use for this TLS version.
      • Type: List

    Create SiteSslSettings Resource

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

    Constructor syntax

    new SiteSslSettings(name: string, args: SiteSslSettingsArgs, opts?: CustomResourceOptions);
    @overload
    def SiteSslSettings(resource_name: str,
                        args: SiteSslSettingsArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def SiteSslSettings(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        site_id: Optional[float] = None,
                        account_id: Optional[float] = None,
                        hsts: Optional[Sequence[SiteSslSettingsHstArgs]] = None,
                        inbound_tls_settings: Optional[Sequence[SiteSslSettingsInboundTlsSettingArgs]] = None,
                        site_ssl_settings_id: Optional[str] = None)
    func NewSiteSslSettings(ctx *Context, name string, args SiteSslSettingsArgs, opts ...ResourceOption) (*SiteSslSettings, error)
    public SiteSslSettings(string name, SiteSslSettingsArgs args, CustomResourceOptions? opts = null)
    public SiteSslSettings(String name, SiteSslSettingsArgs args)
    public SiteSslSettings(String name, SiteSslSettingsArgs args, CustomResourceOptions options)
    
    type: incapsula:SiteSslSettings
    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 SiteSslSettingsArgs
    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 SiteSslSettingsArgs
    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 SiteSslSettingsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SiteSslSettingsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SiteSslSettingsArgs
    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 siteSslSettingsResource = new Incapsula.SiteSslSettings("siteSslSettingsResource", new()
    {
        SiteId = 0,
        AccountId = 0,
        Hsts = new[]
        {
            new Incapsula.Inputs.SiteSslSettingsHstArgs
            {
                IsEnabled = false,
                MaxAge = 0,
                PreLoaded = false,
                SubDomainsIncluded = false,
            },
        },
        InboundTlsSettings = new[]
        {
            new Incapsula.Inputs.SiteSslSettingsInboundTlsSettingArgs
            {
                ConfigurationProfile = "string",
                TlsConfigurations = new[]
                {
                    new Incapsula.Inputs.SiteSslSettingsInboundTlsSettingTlsConfigurationArgs
                    {
                        CiphersSupports = new[]
                        {
                            "string",
                        },
                        TlsVersion = "string",
                    },
                },
            },
        },
        SiteSslSettingsId = "string",
    });
    
    example, err := incapsula.NewSiteSslSettings(ctx, "siteSslSettingsResource", &incapsula.SiteSslSettingsArgs{
    	SiteId:    pulumi.Float64(0),
    	AccountId: pulumi.Float64(0),
    	Hsts: incapsula.SiteSslSettingsHstArray{
    		&incapsula.SiteSslSettingsHstArgs{
    			IsEnabled:          pulumi.Bool(false),
    			MaxAge:             pulumi.Float64(0),
    			PreLoaded:          pulumi.Bool(false),
    			SubDomainsIncluded: pulumi.Bool(false),
    		},
    	},
    	InboundTlsSettings: incapsula.SiteSslSettingsInboundTlsSettingArray{
    		&incapsula.SiteSslSettingsInboundTlsSettingArgs{
    			ConfigurationProfile: pulumi.String("string"),
    			TlsConfigurations: incapsula.SiteSslSettingsInboundTlsSettingTlsConfigurationArray{
    				&incapsula.SiteSslSettingsInboundTlsSettingTlsConfigurationArgs{
    					CiphersSupports: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    					TlsVersion: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	SiteSslSettingsId: pulumi.String("string"),
    })
    
    var siteSslSettingsResource = new SiteSslSettings("siteSslSettingsResource", SiteSslSettingsArgs.builder()
        .siteId(0)
        .accountId(0)
        .hsts(SiteSslSettingsHstArgs.builder()
            .isEnabled(false)
            .maxAge(0)
            .preLoaded(false)
            .subDomainsIncluded(false)
            .build())
        .inboundTlsSettings(SiteSslSettingsInboundTlsSettingArgs.builder()
            .configurationProfile("string")
            .tlsConfigurations(SiteSslSettingsInboundTlsSettingTlsConfigurationArgs.builder()
                .ciphersSupports("string")
                .tlsVersion("string")
                .build())
            .build())
        .siteSslSettingsId("string")
        .build());
    
    site_ssl_settings_resource = incapsula.SiteSslSettings("siteSslSettingsResource",
        site_id=0,
        account_id=0,
        hsts=[{
            "is_enabled": False,
            "max_age": 0,
            "pre_loaded": False,
            "sub_domains_included": False,
        }],
        inbound_tls_settings=[{
            "configuration_profile": "string",
            "tls_configurations": [{
                "ciphers_supports": ["string"],
                "tls_version": "string",
            }],
        }],
        site_ssl_settings_id="string")
    
    const siteSslSettingsResource = new incapsula.SiteSslSettings("siteSslSettingsResource", {
        siteId: 0,
        accountId: 0,
        hsts: [{
            isEnabled: false,
            maxAge: 0,
            preLoaded: false,
            subDomainsIncluded: false,
        }],
        inboundTlsSettings: [{
            configurationProfile: "string",
            tlsConfigurations: [{
                ciphersSupports: ["string"],
                tlsVersion: "string",
            }],
        }],
        siteSslSettingsId: "string",
    });
    
    type: incapsula:SiteSslSettings
    properties:
        accountId: 0
        hsts:
            - isEnabled: false
              maxAge: 0
              preLoaded: false
              subDomainsIncluded: false
        inboundTlsSettings:
            - configurationProfile: string
              tlsConfigurations:
                - ciphersSupports:
                    - string
                  tlsVersion: string
        siteId: 0
        siteSslSettingsId: string
    

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

    SiteId double
    Numeric identifier of the site to operate on.
    AccountId double
    Numeric identifier of the account in which the site is located.
    Hsts List<SiteSslSettingsHst>
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    InboundTlsSettings List<SiteSslSettingsInboundTlsSetting>
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    SiteSslSettingsId string
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    SiteId float64
    Numeric identifier of the site to operate on.
    AccountId float64
    Numeric identifier of the account in which the site is located.
    Hsts []SiteSslSettingsHstArgs
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    InboundTlsSettings []SiteSslSettingsInboundTlsSettingArgs
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    SiteSslSettingsId string
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    siteId Double
    Numeric identifier of the site to operate on.
    accountId Double
    Numeric identifier of the account in which the site is located.
    hsts List<SiteSslSettingsHst>
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    inboundTlsSettings List<SiteSslSettingsInboundTlsSetting>
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    siteSslSettingsId String
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    siteId number
    Numeric identifier of the site to operate on.
    accountId number
    Numeric identifier of the account in which the site is located.
    hsts SiteSslSettingsHst[]
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    inboundTlsSettings SiteSslSettingsInboundTlsSetting[]
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    siteSslSettingsId string
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    site_id float
    Numeric identifier of the site to operate on.
    account_id float
    Numeric identifier of the account in which the site is located.
    hsts Sequence[SiteSslSettingsHstArgs]
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    inbound_tls_settings Sequence[SiteSslSettingsInboundTlsSettingArgs]
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    site_ssl_settings_id str
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    siteId Number
    Numeric identifier of the site to operate on.
    accountId Number
    Numeric identifier of the account in which the site is located.
    hsts List<Property Map>
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    inboundTlsSettings List<Property Map>
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    siteSslSettingsId String
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the SiteSslSettings 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 SiteSslSettings Resource

    Get an existing SiteSslSettings 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?: SiteSslSettingsState, opts?: CustomResourceOptions): SiteSslSettings
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            account_id: Optional[float] = None,
            hsts: Optional[Sequence[SiteSslSettingsHstArgs]] = None,
            inbound_tls_settings: Optional[Sequence[SiteSslSettingsInboundTlsSettingArgs]] = None,
            site_id: Optional[float] = None,
            site_ssl_settings_id: Optional[str] = None) -> SiteSslSettings
    func GetSiteSslSettings(ctx *Context, name string, id IDInput, state *SiteSslSettingsState, opts ...ResourceOption) (*SiteSslSettings, error)
    public static SiteSslSettings Get(string name, Input<string> id, SiteSslSettingsState? state, CustomResourceOptions? opts = null)
    public static SiteSslSettings get(String name, Output<String> id, SiteSslSettingsState state, CustomResourceOptions options)
    resources:  _:    type: incapsula:SiteSslSettings    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AccountId double
    Numeric identifier of the account in which the site is located.
    Hsts List<SiteSslSettingsHst>
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    InboundTlsSettings List<SiteSslSettingsInboundTlsSetting>
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    SiteId double
    Numeric identifier of the site to operate on.
    SiteSslSettingsId string
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    AccountId float64
    Numeric identifier of the account in which the site is located.
    Hsts []SiteSslSettingsHstArgs
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    InboundTlsSettings []SiteSslSettingsInboundTlsSettingArgs
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    SiteId float64
    Numeric identifier of the site to operate on.
    SiteSslSettingsId string
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    accountId Double
    Numeric identifier of the account in which the site is located.
    hsts List<SiteSslSettingsHst>
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    inboundTlsSettings List<SiteSslSettingsInboundTlsSetting>
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    siteId Double
    Numeric identifier of the site to operate on.
    siteSslSettingsId String
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    accountId number
    Numeric identifier of the account in which the site is located.
    hsts SiteSslSettingsHst[]
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    inboundTlsSettings SiteSslSettingsInboundTlsSetting[]
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    siteId number
    Numeric identifier of the site to operate on.
    siteSslSettingsId string
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    account_id float
    Numeric identifier of the account in which the site is located.
    hsts Sequence[SiteSslSettingsHstArgs]
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    inbound_tls_settings Sequence[SiteSslSettingsInboundTlsSettingArgs]
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    site_id float
    Numeric identifier of the site to operate on.
    site_ssl_settings_id str
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
    accountId Number
    Numeric identifier of the account in which the site is located.
    hsts List<Property Map>
    : HTTP Strict Transport Security (HSTS) configuration settings for the site.

    • Type: set of hsts_config resource (defined below)
    inboundTlsSettings List<Property Map>
    : Transport Layer Security (TLS) configuration settings for the site.

    • Type: set of inbound_tls_settings resource (defined below)
    siteId Number
    Numeric identifier of the site to operate on.
    siteSslSettingsId String
    Unique identifier in the API for the Site SSL settings. The id is identical to Site id.

    Supporting Types

    SiteSslSettingsHst, SiteSslSettingsHstArgs

    isEnabled Boolean
    maxAge Double
    preLoaded Boolean
    subDomainsIncluded Boolean
    isEnabled boolean
    maxAge number
    preLoaded boolean
    subDomainsIncluded boolean
    isEnabled Boolean
    maxAge Number
    preLoaded Boolean
    subDomainsIncluded Boolean

    SiteSslSettingsInboundTlsSetting, SiteSslSettingsInboundTlsSettingArgs

    SiteSslSettingsInboundTlsSettingTlsConfiguration, SiteSslSettingsInboundTlsSettingTlsConfigurationArgs

    CiphersSupports List<string>
    TlsVersion string
    ciphersSupports List<String>
    tlsVersion String
    ciphers_supports Sequence[str]
    tls_version str
    ciphersSupports List<String>
    tlsVersion String

    Import

    Site SSL settings can be imported using the siteId or siteId/accountId for sub-accounts:

    $ pulumi import incapsula:index/siteSslSettings:SiteSslSettings example 1234
    
    $ pulumi import incapsula:index/siteSslSettings:SiteSslSettings example 1234/4321
    

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

    Package Details

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