SSLPolicy
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
Create a SSLPolicy Resource
new SSLPolicy(name: string, args?: SSLPolicyArgs, opts?: CustomResourceOptions);def SSLPolicy(resource_name, opts=None, custom_features=None, description=None, min_tls_version=None, name=None, profile=None, project=None, __props__=None);func NewSSLPolicy(ctx *Context, name string, args *SSLPolicyArgs, opts ...ResourceOption) (*SSLPolicy, error)public SSLPolicy(string name, SSLPolicyArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args SSLPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SSLPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SSLPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
SSLPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The SSLPolicy resource accepts the following input properties:
- Custom
Features List<string> Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of
COMPATIBLE,MODERN,RESTRICTED, orCUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in thecustomFeaturesfield. See the official documentation for which ciphers are available to use. Note: this argument must be present when using theCUSTOMprofile. 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.
- 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 thecustomFeaturesfield. See the official documentation for information on what cipher suites each profile provides. IfCUSTOMis used, thecustom_featuresattribute must be set.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Custom
Features []string Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of
COMPATIBLE,MODERN,RESTRICTED, orCUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in thecustomFeaturesfield. See the official documentation for which ciphers are available to use. Note: this argument must be present when using theCUSTOMprofile. 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.
- 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 thecustomFeaturesfield. See the official documentation for information on what cipher suites each profile provides. IfCUSTOMis used, thecustom_featuresattribute must be set.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- custom
Features string[] Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of
COMPATIBLE,MODERN,RESTRICTED, orCUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in thecustomFeaturesfield. See the official documentation for which ciphers are available to use. Note: this argument must be present when using theCUSTOMprofile. 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.
- 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 thecustomFeaturesfield. See the official documentation for information on what cipher suites each profile provides. IfCUSTOMis used, thecustom_featuresattribute must be set.- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- custom_
features List[str] Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of
COMPATIBLE,MODERN,RESTRICTED, orCUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in thecustomFeaturesfield. See the official documentation for which ciphers are available to use. Note: this argument must be present when using theCUSTOMprofile. 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.
- 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 thecustomFeaturesfield. See the official documentation for information on what cipher suites each profile provides. IfCUSTOMis used, thecustom_featuresattribute must be set.- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the SSLPolicy 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 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 List[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.
Look up an Existing SSLPolicy Resource
Get an existing SSLPolicy 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?: SSLPolicyState, opts?: CustomResourceOptions): SSLPolicystatic get(resource_name, id, opts=None, creation_timestamp=None, custom_features=None, description=None, enabled_features=None, fingerprint=None, min_tls_version=None, name=None, profile=None, project=None, self_link=None, __props__=None);func GetSSLPolicy(ctx *Context, name string, id IDInput, state *SSLPolicyState, opts ...ResourceOption) (*SSLPolicy, error)public static SSLPolicy Get(string name, Input<string> id, SSLPolicyState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- Creation
Timestamp string Creation timestamp in RFC3339 text format.
- Custom
Features List<string> Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of
COMPATIBLE,MODERN,RESTRICTED, orCUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in thecustomFeaturesfield. See the official documentation for which ciphers are available to use. Note: this argument must be present when using theCUSTOMprofile. 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.
- 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 thecustomFeaturesfield. See the official documentation for information on what cipher suites each profile provides. IfCUSTOMis used, thecustom_featuresattribute must be set.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Self
Link string The URI of the created resource.
- Creation
Timestamp string Creation timestamp in RFC3339 text format.
- Custom
Features []string Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of
COMPATIBLE,MODERN,RESTRICTED, orCUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in thecustomFeaturesfield. See the official documentation for which ciphers are available to use. Note: this argument must be present when using theCUSTOMprofile. 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.
- 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 thecustomFeaturesfield. See the official documentation for information on what cipher suites each profile provides. IfCUSTOMis used, thecustom_featuresattribute must be set.- Project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- Self
Link string The URI of the created resource.
- creation
Timestamp string Creation timestamp in RFC3339 text format.
- custom
Features string[] Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of
COMPATIBLE,MODERN,RESTRICTED, orCUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in thecustomFeaturesfield. See the official documentation for which ciphers are available to use. Note: this argument must be present when using theCUSTOMprofile. 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.
- 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 thecustomFeaturesfield. See the official documentation for information on what cipher suites each profile provides. IfCUSTOMis used, thecustom_featuresattribute must be set.- project string
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- self
Link string The URI of the created resource.
- creation_
timestamp str Creation timestamp in RFC3339 text format.
- custom_
features List[str] Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of
COMPATIBLE,MODERN,RESTRICTED, orCUSTOM. If usingCUSTOM, the set of SSL features to enable must be specified in thecustomFeaturesfield. See the official documentation for which ciphers are available to use. Note: this argument must be present when using theCUSTOMprofile. This argument must not be present when using any other profile.- description str
An optional description of this resource.
- enabled_
features List[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.
- 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 thecustomFeaturesfield. See the official documentation for information on what cipher suites each profile provides. IfCUSTOMis used, thecustom_featuresattribute must be set.- project str
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- self_
link str The URI of the created resource.
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.