Expand description
Represents a 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 SslPolicy, see:
- API documentation
- How-to Guides
§Example Usage
§Ssl Policy Basic
resources:
prod-ssl-policy:
type: gcp:compute:SSLPolicy
properties:
name: production-ssl-policy
profile: MODERN
nonprod-ssl-policy:
type: gcp:compute:SSLPolicy
properties:
name: nonprod-ssl-policy
profile: MODERN
minTlsVersion: TLS_1_2
custom-ssl-policy:
type: gcp:compute:SSLPolicy
properties:
name: custom-ssl-policy
minTlsVersion: TLS_1_2
profile: CUSTOM
customFeatures:
- TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
§Import
SslPolicy can be imported using any of these accepted formats:
-
projects/{{project}}/global/sslPolicies/{{name}}
-
{{project}}/{{name}}
-
{{name}}
When using the pulumi import
command, SslPolicy can be imported using one of the formats above. For example:
$ pulumi import gcp:compute/sSLPolicy:SSLPolicy default projects/{{project}}/global/sslPolicies/{{name}}
$ pulumi import gcp:compute/sSLPolicy:SSLPolicy default {{project}}/{{name}}
$ pulumi import gcp:compute/sSLPolicy:SSLPolicy default {{name}}
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments