incapsula.SiteSslSettings
Explore with Pulumi AI
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:
406message:
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
- Type:
max_age
- (Optional): The maximum age, in seconds, that the HSTS policy should be enforced for the site.- Type:
int
- Default:
31536000
(1 year)
- Type:
sub_domains_included
- (Optional): Whether sub-domains should be included in the HSTS policy.- Type:
bool
- Default:
false
- Type:
pre_loaded
- (Optional): Whether the site is preloaded in the HSTS preload list maintained by browsers.- Type:
bool
- Default:
false
- Type:
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
- Type:
tls_configuration
- (Optional): List supported TLS versions and ciphers.- Type:
List
- Type:
Nested Schema for tls_configuration
tls_version
- (Required): TLS supported versions.- Type:
string
- Type:
ciphers_support
- (Required): List of ciphers to use for this TLS version.- Type:
List
- Type:
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:
- Site
Id double - Numeric identifier of the site to operate on.
- Account
Id double - Numeric identifier of the account in which the site is located.
- Hsts
List<Site
Ssl Settings Hst> - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- Inbound
Tls List<SiteSettings Ssl Settings Inbound Tls Setting> - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- Site
Ssl stringSettings Id - Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
- Site
Id float64 - Numeric identifier of the site to operate on.
- Account
Id float64 - Numeric identifier of the account in which the site is located.
- Hsts
[]Site
Ssl Settings Hst Args - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- Inbound
Tls []SiteSettings Ssl Settings Inbound Tls Setting Args - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- Site
Ssl stringSettings Id - Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
- site
Id Double - Numeric identifier of the site to operate on.
- account
Id Double - Numeric identifier of the account in which the site is located.
- hsts
List<Site
Ssl Settings Hst> - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- inbound
Tls List<SiteSettings Ssl Settings Inbound Tls Setting> - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- site
Ssl StringSettings Id - Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
- site
Id number - Numeric identifier of the site to operate on.
- account
Id number - Numeric identifier of the account in which the site is located.
- hsts
Site
Ssl Settings Hst[] - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- inbound
Tls SiteSettings Ssl Settings Inbound Tls Setting[] - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- site
Ssl stringSettings Id - 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[Site
Ssl Settings Hst Args] - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- inbound_
tls_ Sequence[Sitesettings Ssl Settings Inbound Tls Setting Args] - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- site_
ssl_ strsettings_ id - Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
- site
Id Number - Numeric identifier of the site to operate on.
- account
Id 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
ofhsts_config
resource (defined below)
- Type:
- inbound
Tls List<Property Map>Settings - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- site
Ssl StringSettings Id - 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.
- Account
Id double - Numeric identifier of the account in which the site is located.
- Hsts
List<Site
Ssl Settings Hst> - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- Inbound
Tls List<SiteSettings Ssl Settings Inbound Tls Setting> - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- Site
Id double - Numeric identifier of the site to operate on.
- Site
Ssl stringSettings Id - Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
- Account
Id float64 - Numeric identifier of the account in which the site is located.
- Hsts
[]Site
Ssl Settings Hst Args - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- Inbound
Tls []SiteSettings Ssl Settings Inbound Tls Setting Args - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- Site
Id float64 - Numeric identifier of the site to operate on.
- Site
Ssl stringSettings Id - Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
- account
Id Double - Numeric identifier of the account in which the site is located.
- hsts
List<Site
Ssl Settings Hst> - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- inbound
Tls List<SiteSettings Ssl Settings Inbound Tls Setting> - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- site
Id Double - Numeric identifier of the site to operate on.
- site
Ssl StringSettings Id - Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
- account
Id number - Numeric identifier of the account in which the site is located.
- hsts
Site
Ssl Settings Hst[] - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- inbound
Tls SiteSettings Ssl Settings Inbound Tls Setting[] - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- site
Id number - Numeric identifier of the site to operate on.
- site
Ssl stringSettings Id - 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[Site
Ssl Settings Hst Args] - : HTTP Strict Transport Security (HSTS) configuration settings for the site.
- Type:
set
ofhsts_config
resource (defined below)
- Type:
- inbound_
tls_ Sequence[Sitesettings Ssl Settings Inbound Tls Setting Args] - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- site_
id float - Numeric identifier of the site to operate on.
- site_
ssl_ strsettings_ id - Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
- account
Id 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
ofhsts_config
resource (defined below)
- Type:
- inbound
Tls List<Property Map>Settings - : Transport Layer Security (TLS) configuration settings for the site.
- Type:
set
ofinbound_tls_settings
resource (defined below)
- Type:
- site
Id Number - Numeric identifier of the site to operate on.
- site
Ssl StringSettings Id - Unique identifier in the API for the Site SSL settings. The id is identical to Site id.
Supporting Types
SiteSslSettingsHst, SiteSslSettingsHstArgs
- Is
Enabled bool - Max
Age double - Pre
Loaded bool - Sub
Domains boolIncluded
- Is
Enabled bool - Max
Age float64 - Pre
Loaded bool - Sub
Domains boolIncluded
- is
Enabled Boolean - max
Age Double - pre
Loaded Boolean - sub
Domains BooleanIncluded
- is
Enabled boolean - max
Age number - pre
Loaded boolean - sub
Domains booleanIncluded
- is_
enabled bool - max_
age float - pre_
loaded bool - sub_
domains_ boolincluded
- is
Enabled Boolean - max
Age Number - pre
Loaded Boolean - sub
Domains BooleanIncluded
SiteSslSettingsInboundTlsSetting, SiteSslSettingsInboundTlsSettingArgs
SiteSslSettingsInboundTlsSettingTlsConfiguration, SiteSslSettingsInboundTlsSettingTlsConfigurationArgs
- Ciphers
Supports List<string> - Tls
Version string
- Ciphers
Supports []string - Tls
Version string
- ciphers
Supports List<String> - tls
Version String
- ciphers
Supports string[] - tls
Version string
- ciphers_
supports Sequence[str] - tls_
version str
- ciphers
Supports List<String> - tls
Version 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.