SSLCertificateArgs

data class SSLCertificateArgs(val certificate: Output<String>? = null, val description: Output<String>? = null, val name: Output<String>? = null, val namePrefix: Output<String>? = null, val privateKey: Output<String>? = null, val project: Output<String>? = null) : ConvertibleToJava<SSLCertificateArgs>

An SslCertificate resource, used for HTTPS load balancing. This resource provides a mechanism to upload an SSL key and certificate to the load balancer to serve secure connections from the user. To get more information about SslCertificate, see:

Example Usage

Import

SslCertificate can be imported using any of these accepted formats:

  • projects/{{project}}/global/sslCertificates/{{name}}

  • {{project}}/{{name}}

  • {{name}} When using the pulumi import command, SslCertificate can be imported using one of the formats above. For example:

$ pulumi import gcp:compute/sSLCertificate:SSLCertificate default projects/{{project}}/global/sslCertificates/{{name}}
$ pulumi import gcp:compute/sSLCertificate:SSLCertificate default {{project}}/{{name}}
$ pulumi import gcp:compute/sSLCertificate:SSLCertificate default {{name}}

Constructors

Link copied to clipboard
constructor(certificate: Output<String>? = null, description: Output<String>? = null, name: Output<String>? = null, namePrefix: Output<String>? = null, privateKey: Output<String>? = null, project: Output<String>? = null)

Properties

Link copied to clipboard
val certificate: Output<String>? = null

The certificate in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. Note: This property is sensitive and will not be displayed in the plan.

Link copied to clipboard
val description: Output<String>? = null

An optional description of this resource.

Link copied to clipboard
val name: Output<String>? = null

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. These are in the same namespace as the managed SSL certificates.

Link copied to clipboard
val namePrefix: Output<String>? = null

Creates a unique name beginning with the specified prefix. Conflicts with name.

Link copied to clipboard
val privateKey: Output<String>? = null

The write-only private key in PEM format. Note: This property is sensitive and will not be displayed in the plan.

Link copied to clipboard
val project: Output<String>? = null

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Functions

Link copied to clipboard
open override fun toJava(): SSLCertificateArgs