Certificate

class Certificate : KotlinCustomResource

Provides a lightsail certificate.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.lightsail.Certificate;
import com.pulumi.aws.lightsail.CertificateArgs;
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 test = new Certificate("test", CertificateArgs.builder()
.domainName("testdomain.com")
.subjectAlternativeNames("www.testdomain.com")
.build());
}
}

Import

aws_lightsail_certificate can be imported using the certificate name, e.g.

$ pulumi import aws:lightsail/certificate:Certificate test CertificateName

Properties

Link copied to clipboard
val arn: Output<String>

The ARN of the lightsail certificate.

Link copied to clipboard
val createdAt: Output<String>

The timestamp when the instance was created.

Link copied to clipboard
val domainName: Output<String>

A domain name for which the certificate should be issued.

Link copied to clipboard

Set of domain validation objects which can be used to complete certificate validation. Can have more than one element, e.g., if SANs are defined.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the Lightsail load balancer.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Set of domains that should be SANs in the issued certificate. domain_name attribute is automatically added as a Subject Alternative Name.

Link copied to clipboard
val tags: Output<Map<String, String>>?

A map of tags to assign to the resource. To create a key-only tag, use an empty string as the value. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>

A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Link copied to clipboard
val urn: Output<String>