gcp.compute.RegionSslPolicy
Explore with Pulumi AI
Represents a Regional SSL policy. SSL policies give you the ability to control the features of SSL that your SSL proxy or HTTPS load balancer negotiates.
To get more information about RegionSslPolicy, see:
- API documentation
- How-to Guides
Create RegionSslPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RegionSslPolicy(name: string, args?: RegionSslPolicyArgs, opts?: CustomResourceOptions);
@overload
def RegionSslPolicy(resource_name: str,
args: Optional[RegionSslPolicyArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def RegionSslPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
custom_features: Optional[Sequence[str]] = None,
description: Optional[str] = None,
min_tls_version: Optional[str] = None,
name: Optional[str] = None,
profile: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None)
func NewRegionSslPolicy(ctx *Context, name string, args *RegionSslPolicyArgs, opts ...ResourceOption) (*RegionSslPolicy, error)
public RegionSslPolicy(string name, RegionSslPolicyArgs? args = null, CustomResourceOptions? opts = null)
public RegionSslPolicy(String name, RegionSslPolicyArgs args)
public RegionSslPolicy(String name, RegionSslPolicyArgs args, CustomResourceOptions options)
type: gcp:compute:RegionSslPolicy
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 RegionSslPolicyArgs
- 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 RegionSslPolicyArgs
- 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 RegionSslPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RegionSslPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RegionSslPolicyArgs
- 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 regionSslPolicyResource = new Gcp.Compute.RegionSslPolicy("regionSslPolicyResource", new()
{
CustomFeatures = new[]
{
"string",
},
Description = "string",
MinTlsVersion = "string",
Name = "string",
Profile = "string",
Project = "string",
Region = "string",
});
example, err := compute.NewRegionSslPolicy(ctx, "regionSslPolicyResource", &compute.RegionSslPolicyArgs{
CustomFeatures: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
MinTlsVersion: pulumi.String("string"),
Name: pulumi.String("string"),
Profile: pulumi.String("string"),
Project: pulumi.String("string"),
Region: pulumi.String("string"),
})
var regionSslPolicyResource = new RegionSslPolicy("regionSslPolicyResource", RegionSslPolicyArgs.builder()
.customFeatures("string")
.description("string")
.minTlsVersion("string")
.name("string")
.profile("string")
.project("string")
.region("string")
.build());
region_ssl_policy_resource = gcp.compute.RegionSslPolicy("regionSslPolicyResource",
custom_features=["string"],
description="string",
min_tls_version="string",
name="string",
profile="string",
project="string",
region="string")
const regionSslPolicyResource = new gcp.compute.RegionSslPolicy("regionSslPolicyResource", {
customFeatures: ["string"],
description: "string",
minTlsVersion: "string",
name: "string",
profile: "string",
project: "string",
region: "string",
});
type: gcp:compute:RegionSslPolicy
properties:
customFeatures:
- string
description: string
minTlsVersion: string
name: string
profile: string
project: string
region: string
RegionSslPolicy 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 RegionSslPolicy resource accepts the following input properties:
- Custom
Features List<string> - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - Description string
- An optional description of this resource.
- Min
Tls stringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - Name string
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Profile string
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
- The region where the regional SSL policy resides.
- Custom
Features []string - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - Description string
- An optional description of this resource.
- Min
Tls stringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - Name string
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Profile string
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
- The region where the regional SSL policy resides.
- custom
Features List<String> - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - description String
- An optional description of this resource.
- min
Tls StringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - name String
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile String
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region String
- The region where the regional SSL policy resides.
- custom
Features string[] - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - description string
- An optional description of this resource.
- min
Tls stringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - name string
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile string
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region string
- The region where the regional SSL policy resides.
- custom_
features Sequence[str] - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - description str
- An optional description of this resource.
- min_
tls_ strversion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - name str
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile str
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region str
- The region where the regional SSL policy resides.
- custom
Features List<String> - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - description String
- An optional description of this resource.
- min
Tls StringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - name String
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile String
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region String
- The region where the regional SSL policy resides.
Outputs
All input properties are implicitly available as output properties. Additionally, the RegionSslPolicy resource produces the following output properties:
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Enabled
Features List<string> - The list of features enabled in the SSL policy.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- Id string
- The provider-assigned unique ID for this managed resource.
- Self
Link string - The URI of the created resource.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Enabled
Features []string - The list of features enabled in the SSL policy.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- Id string
- The provider-assigned unique ID for this managed resource.
- Self
Link string - The URI of the created resource.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- enabled
Features List<String> - The list of features enabled in the SSL policy.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- id String
- The provider-assigned unique ID for this managed resource.
- self
Link String - The URI of the created resource.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- enabled
Features string[] - The list of features enabled in the SSL policy.
- fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- id string
- The provider-assigned unique ID for this managed resource.
- self
Link string - The URI of the created resource.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- enabled_
features Sequence[str] - The list of features enabled in the SSL policy.
- fingerprint str
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- id str
- The provider-assigned unique ID for this managed resource.
- self_
link str - The URI of the created resource.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- enabled
Features List<String> - The list of features enabled in the SSL policy.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- id String
- The provider-assigned unique ID for this managed resource.
- self
Link String - The URI of the created resource.
Look up Existing RegionSslPolicy Resource
Get an existing RegionSslPolicy 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?: RegionSslPolicyState, opts?: CustomResourceOptions): RegionSslPolicy
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_timestamp: Optional[str] = None,
custom_features: Optional[Sequence[str]] = None,
description: Optional[str] = None,
enabled_features: Optional[Sequence[str]] = None,
fingerprint: Optional[str] = None,
min_tls_version: Optional[str] = None,
name: Optional[str] = None,
profile: Optional[str] = None,
project: Optional[str] = None,
region: Optional[str] = None,
self_link: Optional[str] = None) -> RegionSslPolicy
func GetRegionSslPolicy(ctx *Context, name string, id IDInput, state *RegionSslPolicyState, opts ...ResourceOption) (*RegionSslPolicy, error)
public static RegionSslPolicy Get(string name, Input<string> id, RegionSslPolicyState? state, CustomResourceOptions? opts = null)
public static RegionSslPolicy get(String name, Output<String> id, RegionSslPolicyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Custom
Features List<string> - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - Description string
- An optional description of this resource.
- Enabled
Features List<string> - The list of features enabled in the SSL policy.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- Min
Tls stringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - Name string
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Profile string
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
- The region where the regional SSL policy resides.
- Self
Link string - The URI of the created resource.
- Creation
Timestamp string - Creation timestamp in RFC3339 text format.
- Custom
Features []string - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - Description string
- An optional description of this resource.
- Enabled
Features []string - The list of features enabled in the SSL policy.
- Fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- Min
Tls stringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - Name string
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - Profile string
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Region string
- The region where the regional SSL policy resides.
- Self
Link string - The URI of the created resource.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- custom
Features List<String> - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - description String
- An optional description of this resource.
- enabled
Features List<String> - The list of features enabled in the SSL policy.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- min
Tls StringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - name String
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile String
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region String
- The region where the regional SSL policy resides.
- self
Link String - The URI of the created resource.
- creation
Timestamp string - Creation timestamp in RFC3339 text format.
- custom
Features string[] - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - description string
- An optional description of this resource.
- enabled
Features string[] - The list of features enabled in the SSL policy.
- fingerprint string
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- min
Tls stringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - name string
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile string
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region string
- The region where the regional SSL policy resides.
- self
Link string - The URI of the created resource.
- creation_
timestamp str - Creation timestamp in RFC3339 text format.
- custom_
features Sequence[str] - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - description str
- An optional description of this resource.
- enabled_
features Sequence[str] - The list of features enabled in the SSL policy.
- fingerprint str
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- min_
tls_ strversion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - name str
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile str
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region str
- The region where the regional SSL policy resides.
- self_
link str - The URI of the created resource.
- creation
Timestamp String - Creation timestamp in RFC3339 text format.
- custom
Features List<String> - A list of features enabled when the selected profile is CUSTOM. The
method returns the set of features that can be specified in this
list. This field must be empty if the profile is not CUSTOM.
See the official documentation
for which ciphers are available to use. Note: this argument
must be present when using the
CUSTOM
profile. This argument must not be present when using any other profile. - description String
- An optional description of this resource.
- enabled
Features List<String> - The list of features enabled in the SSL policy.
- fingerprint String
- Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking.
- min
Tls StringVersion - The minimum version of SSL protocol that can be used by the clients
to establish a connection with the load balancer.
Default value is
TLS_1_0
. Possible values are:TLS_1_0
,TLS_1_1
,TLS_1_2
. - name String
- Name of the resource. Provided by the client when the resource is
created. The name must be 1-63 characters long, and comply with
RFC1035. Specifically, the name must be 1-63 characters long and match
the regular expression
a-z?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. - profile String
- Profile specifies the set of SSL features that can be used by the
load balancer when negotiating SSL with clients. If using
CUSTOM
, the set of SSL features to enable must be specified in thecustomFeatures
field. See the official documentation for information on what cipher suites each profile provides. IfCUSTOM
is used, thecustom_features
attribute must be set. Default value isCOMPATIBLE
. Possible values are:COMPATIBLE
,MODERN
,RESTRICTED
,CUSTOM
. - project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- region String
- The region where the regional SSL policy resides.
- self
Link String - The URI of the created resource.
Import
RegionSslPolicy can be imported using any of these accepted formats:
projects/{{project}}/regions/{{region}}/sslPolicies/{{name}}
{{project}}/{{region}}/{{name}}
{{region}}/{{name}}
{{name}}
When using the pulumi import
command, RegionSslPolicy can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/regionSslPolicy:RegionSslPolicy default projects/{{project}}/regions/{{region}}/sslPolicies/{{name}}
$ pulumi import gcp:compute/regionSslPolicy:RegionSslPolicy default {{project}}/{{region}}/{{name}}
$ pulumi import gcp:compute/regionSslPolicy:RegionSslPolicy default {{region}}/{{name}}
$ pulumi import gcp:compute/regionSslPolicy:RegionSslPolicy default {{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.