Certificate class
The ACM certificate resource allows requesting and management of certificates from the Amazon Certificate Manager.
ACM certificates can be created in three ways: Amazon-issued, where AWS provides the certificate authority and automatically manages renewal; imported certificates, issued by another certificate authority; and private certificates, issued using an ACM Private Certificate Authority.
For Amazon-issued certificates, this resource deals with requesting certificates and managing their attributes and life-cycle. It does not wait for a certificate to be issued — use aws.acm.CertificateValidation for that. Most commonly used together with aws.route53.Record and aws.acm.CertificateValidation to request a DNS validated certificate, deploy the required validation records, and wait for validation to complete. It's recommended to specify createBeforeDestroy = true in a lifecycle block to replace a certificate which is currently in use (e.g., by aws.lb.Listener).
Imported certificates can be used to make certificates created with an external certificate authority available for AWS services. As they are not managed by AWS, imported certificates are not eligible for automatic renewal. New certificate materials can be supplied to an existing imported certificate to update it in place.
Private certificates are issued by an ACM Private Certificate Authority, which can be created using aws.acmpca.CertificateAuthority. Private certificates created using this resource are eligible for managed renewal if they have been exported or associated with another AWS service. See managed renewal documentation for more information. By default, a certificate is valid for 395 days and the managed renewal process will start 60 days before expiration. To renew the certificate earlier than 60 days before expiration, configure earlyRenewalDuration.
Example Usage
Custom Domain Validation Options
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const cert = new aws.acm.Certificate("cert", {
validationOptions: [{
domainName: "testing.example.com",
validationDomain: "example.com",
}],
domainName: "testing.example.com",
validationMethod: "EMAIL",
});
import pulumi
import pulumi_aws as aws
cert = aws.acm.Certificate("cert",
validation_options=[{
"domain_name": "testing.example.com",
"validation_domain": "example.com",
}],
domain_name="testing.example.com",
validation_method="EMAIL")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var cert = new Aws.Acm.Certificate("cert", new()
{
ValidationOptions = new[]
{
new Aws.Acm.Inputs.CertificateValidationOptionArgs
{
DomainName = "testing.example.com",
ValidationDomain = "example.com",
},
},
DomainName = "testing.example.com",
ValidationMethod = "EMAIL",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/acm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := acm.NewCertificate(ctx, "cert", &acm.CertificateArgs{
ValidationOptions: acm.CertificateValidationOptionArray{
&acm.CertificateValidationOptionArgs{
DomainName: pulumi.String("testing.example.com"),
ValidationDomain: pulumi.String("example.com"),
},
},
DomainName: pulumi.String("testing.example.com"),
ValidationMethod: pulumi.String("EMAIL"),
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_acm_certificate" "cert" {
validation_options {
domain_name = "testing.example.com"
validation_domain = "example.com"
}
domain_name = "testing.example.com"
validation_method = "EMAIL"
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.acm.Certificate;
import com.pulumi.aws.acm.CertificateArgs;
import com.pulumi.aws.acm.inputs.CertificateValidationOptionArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 cert = new Certificate("cert", CertificateArgs.builder()
.validationOptions(CertificateValidationOptionArgs.builder()
.domainName("testing.example.com")
.validationDomain("example.com")
.build())
.domainName("testing.example.com")
.validationMethod("EMAIL")
.build());
}
}
resources:
cert:
type: aws:acm:Certificate
properties:
validationOptions:
- domainName: testing.example.com
validationDomain: example.com
domainName: testing.example.com
validationMethod: EMAIL
Existing Certificate Body Import
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as tls from "@pulumi/tls";
const example = new tls.PrivateKey("example", {algorithm: "RSA"});
const exampleSelfSignedCert = new tls.SelfSignedCert("example", {
subject: [{
commonName: "example.com",
organization: "ACME Examples, Inc",
}],
keyAlgorithm: "RSA",
privateKeyPem: example.privateKeyPem,
validityPeriodHours: 12,
allowedUses: [
"key_encipherment",
"digital_signature",
"server_auth",
],
});
const cert = new aws.acm.Certificate("cert", {
privateKey: example.privateKeyPem,
certificateBody: exampleSelfSignedCert.certPem,
});
import pulumi
import pulumi_aws as aws
import pulumi_tls as tls
example = tls.PrivateKey("example", algorithm="RSA")
example_self_signed_cert = tls.SelfSignedCert("example",
subject=[{
"commonName": "example.com",
"organization": "ACME Examples, Inc",
}],
key_algorithm="RSA",
private_key_pem=example.private_key_pem,
validity_period_hours=12,
allowed_uses=[
"key_encipherment",
"digital_signature",
"server_auth",
])
cert = aws.acm.Certificate("cert",
private_key=example.private_key_pem,
certificate_body=example_self_signed_cert.cert_pem)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
using Tls = Pulumi.Tls;
return await Deployment.RunAsync(() =>
{
var example = new Tls.PrivateKey("example", new()
{
Algorithm = "RSA",
});
var exampleSelfSignedCert = new Tls.SelfSignedCert("example", new()
{
Subject = new[]
{
{
{ "commonName", "example.com" },
{ "organization", "ACME Examples, Inc" },
},
},
KeyAlgorithm = "RSA",
PrivateKeyPem = example.PrivateKeyPem,
ValidityPeriodHours = 12,
AllowedUses = new[]
{
"key_encipherment",
"digital_signature",
"server_auth",
},
});
var cert = new Aws.Acm.Certificate("cert", new()
{
PrivateKey = example.PrivateKeyPem,
CertificateBody = exampleSelfSignedCert.CertPem,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/acm"
"github.com/pulumi/pulumi-tls/sdk/v5/go/tls"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := tls.NewPrivateKey(ctx, "example", &tls.PrivateKeyArgs{
Algorithm: pulumi.String("RSA"),
})
if err != nil {
return err
}
exampleSelfSignedCert, err := tls.NewSelfSignedCert(ctx, "example", &tls.SelfSignedCertArgs{
Subject: tls.SelfSignedCertSubjectArgs{
map[string]string{
"commonName": "example.com",
"organization": "ACME Examples, Inc",
},
},
KeyAlgorithm: "RSA",
PrivateKeyPem: example.PrivateKeyPem,
ValidityPeriodHours: pulumi.Int(12),
AllowedUses: pulumi.StringArray{
pulumi.String("key_encipherment"),
pulumi.String("digital_signature"),
pulumi.String("server_auth"),
},
})
if err != nil {
return err
}
_, err = acm.NewCertificate(ctx, "cert", &acm.CertificateArgs{
PrivateKey: example.PrivateKeyPem,
CertificateBody: exampleSelfSignedCert.CertPem,
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
tls = {
source = "pulumi/tls"
}
}
}
resource "tls_privatekey" "example" {
algorithm = "RSA"
}
resource "tls_selfsignedcert" "example" {
subject = [{
"commonName" = "example.com"
"organization" = "ACME Examples, Inc"
}]
key_algorithm = "RSA"
private_key_pem = tls_privatekey.example.private_key_pem
validity_period_hours = 12
allowed_uses = ["key_encipherment", "digital_signature", "server_auth"]
}
resource "aws_acm_certificate" "cert" {
private_key = tls_privatekey.example.private_key_pem
certificate_body = tls_selfsignedcert.example.cert_pem
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tls.PrivateKey;
import com.pulumi.tls.PrivateKeyArgs;
import com.pulumi.tls.SelfSignedCert;
import com.pulumi.tls.SelfSignedCertArgs;
import com.pulumi.aws.acm.Certificate;
import com.pulumi.aws.acm.CertificateArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new PrivateKey("example", PrivateKeyArgs.builder()
.algorithm("RSA")
.build());
var exampleSelfSignedCert = new SelfSignedCert("exampleSelfSignedCert", SelfSignedCertArgs.builder()
.subject(com.pulumi.tls.inputs.SelfSignedCertSubjectArgs.builder()
.commonName("example.com")
.organization("ACME Examples, Inc")
.build())
.keyAlgorithm("RSA")
.privateKeyPem(example.privateKeyPem())
.validityPeriodHours(12)
.allowedUses(
"key_encipherment",
"digital_signature",
"server_auth")
.build());
var cert = new Certificate("cert", CertificateArgs.builder()
.privateKey(example.privateKeyPem())
.certificateBody(exampleSelfSignedCert.certPem())
.build());
}
}
resources:
example:
type: tls:PrivateKey
properties:
algorithm: RSA
exampleSelfSignedCert:
type: tls:SelfSignedCert
name: example
properties:
subject:
- commonName: example.com
organization: ACME Examples, Inc
keyAlgorithm: RSA
privateKeyPem: ${example.privateKeyPem}
validityPeriodHours: 12
allowedUses:
- key_encipherment
- digital_signature
- server_auth
cert:
type: aws:acm:Certificate
properties:
privateKey: ${example.privateKeyPem}
certificateBody: ${exampleSelfSignedCert.certPem}
Existing Certificate Body Import With Write-Only Private Key
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
import * as tls from "@pulumi/tls";
const example = new tls.PrivateKey("example", {algorithm: "RSA"});
const exampleSelfSignedCert = new tls.SelfSignedCert("example", {
subject: [{
commonName: "example.com",
organization: "ACME Examples, Inc",
}],
keyAlgorithm: "RSA",
privateKeyPem: example.privateKeyPem,
validityPeriodHours: 12,
allowedUses: [
"key_encipherment",
"digital_signature",
"server_auth",
],
});
const cert = new aws.acm.Certificate("cert", {
privateKeyWo: example.privateKeyPem,
privateKeyWoVersion: 1,
certificateBody: exampleSelfSignedCert.certPem,
});
import pulumi
import pulumi_aws as aws
import pulumi_tls as tls
example = tls.PrivateKey("example", algorithm="RSA")
example_self_signed_cert = tls.SelfSignedCert("example",
subject=[{
"commonName": "example.com",
"organization": "ACME Examples, Inc",
}],
key_algorithm="RSA",
private_key_pem=example.private_key_pem,
validity_period_hours=12,
allowed_uses=[
"key_encipherment",
"digital_signature",
"server_auth",
])
cert = aws.acm.Certificate("cert",
private_key_wo=example.private_key_pem,
private_key_wo_version=1,
certificate_body=example_self_signed_cert.cert_pem)
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
using Tls = Pulumi.Tls;
return await Deployment.RunAsync(() =>
{
var example = new Tls.PrivateKey("example", new()
{
Algorithm = "RSA",
});
var exampleSelfSignedCert = new Tls.SelfSignedCert("example", new()
{
Subject = new[]
{
{
{ "commonName", "example.com" },
{ "organization", "ACME Examples, Inc" },
},
},
KeyAlgorithm = "RSA",
PrivateKeyPem = example.PrivateKeyPem,
ValidityPeriodHours = 12,
AllowedUses = new[]
{
"key_encipherment",
"digital_signature",
"server_auth",
},
});
var cert = new Aws.Acm.Certificate("cert", new()
{
PrivateKeyWo = example.PrivateKeyPem,
PrivateKeyWoVersion = 1,
CertificateBody = exampleSelfSignedCert.CertPem,
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/acm"
"github.com/pulumi/pulumi-tls/sdk/v5/go/tls"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := tls.NewPrivateKey(ctx, "example", &tls.PrivateKeyArgs{
Algorithm: pulumi.String("RSA"),
})
if err != nil {
return err
}
exampleSelfSignedCert, err := tls.NewSelfSignedCert(ctx, "example", &tls.SelfSignedCertArgs{
Subject: tls.SelfSignedCertSubjectArgs{
map[string]string{
"commonName": "example.com",
"organization": "ACME Examples, Inc",
},
},
KeyAlgorithm: "RSA",
PrivateKeyPem: example.PrivateKeyPem,
ValidityPeriodHours: pulumi.Int(12),
AllowedUses: pulumi.StringArray{
pulumi.String("key_encipherment"),
pulumi.String("digital_signature"),
pulumi.String("server_auth"),
},
})
if err != nil {
return err
}
_, err = acm.NewCertificate(ctx, "cert", &acm.CertificateArgs{
PrivateKeyWo: example.PrivateKeyPem,
PrivateKeyWoVersion: pulumi.Int(1),
CertificateBody: exampleSelfSignedCert.CertPem,
})
if err != nil {
return err
}
return nil
})
}
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
tls = {
source = "pulumi/tls"
}
}
}
resource "tls_privatekey" "example" {
algorithm = "RSA"
}
resource "tls_selfsignedcert" "example" {
subject = [{
"commonName" = "example.com"
"organization" = "ACME Examples, Inc"
}]
key_algorithm = "RSA"
private_key_pem = tls_privatekey.example.private_key_pem
validity_period_hours = 12
allowed_uses = ["key_encipherment", "digital_signature", "server_auth"]
}
resource "aws_acm_certificate" "cert" {
private_key_wo = tls_privatekey.example.private_key_pem
private_key_wo_version = 1
certificate_body = tls_selfsignedcert.example.cert_pem
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tls.PrivateKey;
import com.pulumi.tls.PrivateKeyArgs;
import com.pulumi.tls.SelfSignedCert;
import com.pulumi.tls.SelfSignedCertArgs;
import com.pulumi.aws.acm.Certificate;
import com.pulumi.aws.acm.CertificateArgs;
import java.util.ArrayList;
import java.util.Arrays;
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 example = new PrivateKey("example", PrivateKeyArgs.builder()
.algorithm("RSA")
.build());
var exampleSelfSignedCert = new SelfSignedCert("exampleSelfSignedCert", SelfSignedCertArgs.builder()
.subject(com.pulumi.tls.inputs.SelfSignedCertSubjectArgs.builder()
.commonName("example.com")
.organization("ACME Examples, Inc")
.build())
.keyAlgorithm("RSA")
.privateKeyPem(example.privateKeyPem())
.validityPeriodHours(12)
.allowedUses(
"key_encipherment",
"digital_signature",
"server_auth")
.build());
var cert = new Certificate("cert", CertificateArgs.builder()
.privateKeyWo(example.privateKeyPem())
.privateKeyWoVersion(1)
.certificateBody(exampleSelfSignedCert.certPem())
.build());
}
}
resources:
example:
type: tls:PrivateKey
properties:
algorithm: RSA
exampleSelfSignedCert:
type: tls:SelfSignedCert
name: example
properties:
subject:
- commonName: example.com
organization: ACME Examples, Inc
keyAlgorithm: RSA
privateKeyPem: ${example.privateKeyPem}
validityPeriodHours: 12
allowedUses:
- key_encipherment
- digital_signature
- server_auth
cert:
type: aws:acm:Certificate
properties:
privateKeyWo: ${example.privateKeyPem}
privateKeyWoVersion: 1
certificateBody: ${exampleSelfSignedCert.certPem}
Referencing domainValidationOptions With forEach Based Resources
See the aws.acm.CertificateValidation resource for a full example of performing DNS validation.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example: {[key: string]: aws.route53.Record} = {};
for (const range of Object.entries(.reduce((__obj, dvo) => ({ ...__obj, [dvo.domainName]: {
name: dvo.resourceRecordName,
record: dvo.resourceRecordValue,
type: dvo.resourceRecordType,
} }), {})).sort().map(([k, v]) => ({key: k, value: v}))) {
example[range.key] = new aws.route53.Record(`example-${range.key}`, {
allowOverwrite: true,
name: range.value.name,
records: [range.value.record],
ttl: 60,
type: aws.route53.RecordType[range.value.type],
zoneId: exampleAwsRoute53Zone.zoneId,
});
}
import pulumi
from typing import Any
import pulumi_aws as aws
example: dict[str, aws.route53.Record] = {}
for example_range in [{"key": k, "value": v} for [k, v] in sorted(({dvo.domain_name: {
name: dvo.resource_record_name,
record: dvo.resource_record_value,
type: dvo.resource_record_type,
} for dvo in example_aws_acm_certificate.domain_validation_options}).items())]:
example[example_range['key']] = aws.route53.Record(f"example-{example_range['key']}",
allow_overwrite=True,
name=example_range["value"]["name"],
records=[example_range["value"]["record"]],
ttl=60,
type=aws.route53.RecordType(example_range["value"]["type"]),
zone_id=example_aws_route53_zone["zoneId"])
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new List<Aws.Route53.Record>();
foreach (var range in .ToDictionary(item => {
var dvo = item.Value;
return dvo.DomainName;
}, item => {
var dvo = item.Value;
return
{
{ "name", dvo.ResourceRecordName },
{ "record", dvo.ResourceRecordValue },
{ "type", dvo.ResourceRecordType },
};
}).Select(pair => new { pair.Key, pair.Value }))
{
example.Add(new Aws.Route53.Record($"example-{range.Key}", new()
{
AllowOverwrite = true,
Name = range.Value.Name,
Records = new[]
{
range.Value.Record,
},
Ttl = 60,
Type = System.Enum.Parse<Aws.Route53.RecordType>(range.Value.Type),
ZoneId = exampleAwsRoute53Zone.ZoneId,
}));
}
});
pulumi {
required_providers {
aws = {
source = "pulumi/aws"
}
}
}
resource "aws_route53_record" "example" {
for_each = {for dvo in exampleAwsAcmCertificate.domainValidationOptions : dvo.domainName => {
"name" = dvo.resourceRecordName
"record" = dvo.resourceRecordValue
"type" = dvo.resourceRecordType
} }
allow_overwrite = true
name = each.value.name
records = [each.value.record]
ttl = 60
type = each.value.type
zone_id = exampleAwsRoute53Zone.zoneId
}
resources:
example:
type: aws:route53:Record
properties:
allowOverwrite: true
name: ${range.value.name}
records:
- ${range.value.record}
ttl: 60
type: ${range.value.type}
zoneId: ${exampleAwsRoute53Zone.zoneId}
options: {}
Import
Identity Schema
Required
arn(String) ARN of the certificate.
Using pulumi import, import certificates using their ARN. For example:
$ pulumi import aws:acm/certificate:Certificate example arn:aws:acm:eu-central-1:123456789012:certificate/7e7a28d2-163f-4b8f-b9cd-822f96c08d6a
Constructors
- Certificate(String name, {CertificateArgs? args, CustomResourceOptions? options})
-
Creates a new Certificate.
nameThe Pulumi resource name.argsArguments used to configure this Certificate. The set of arguments for Certificate.optionsResource options controlling this resource's behavior. - Certificate.reference(String urn)
- Creates a typed reference to an existing Certificate resource.
Properties
-
arn
↔ Output<
String> -
ARN of the certificate
latefinal
-
certificateAuthorityArn
↔ Output<
String?> -
latefinal
-
certificateBody
↔ Output<
String?> -
latefinal
-
certificateChain
↔ Output<
String?> -
latefinal
-
childResources
→ Set<
Resource> -
finalinherited
-
completionSources
↔ Map<
String, IOutputCompletionSource> -
latefinalinherited
-
domainName
↔ Output<
String> -
Domain to be validated
latefinal
-
domainValidationOptions
↔ Output<
List< CertificateDomainValidationOption> > -
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.
Only set if
DNS-validation was used.latefinal -
earlyRenewalDuration
↔ Output<
String?> -
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
-
id
↔ Output<
String> -
getter/setter pairinherited
- isCustom → bool
-
Returns whether this resource is provider-managed.
no setterinherited
- isProtected → bool
-
Returns whether this resource is protected from deletion.
no setterinherited
- isRemote → bool
-
Whether this resource is registered as remote.
no setterinherited
- isResourceReference → bool
-
Whether this instance represents a resource value returned over RPC.
finalinherited
-
keyAlgorithm
↔ Output<
String> -
latefinal
-
notAfter
↔ Output<
String> -
Expiration date and time of the certificate.
latefinal
-
notBefore
↔ Output<
String> -
Start of the validity period of the certificate.
latefinal
-
options
↔ Output<
CertificateOptions> -
latefinal
-
pendingRenewal
↔ Output<
bool> -
trueif a Private certificate eligible for managed renewal is within theearlyRenewalDurationperiod.latefinal -
privateKey
↔ Output<
String?> -
latefinal
-
privateKeyWo
↔ Output<
String?> -
NOTE: This field is write-only and its value will not be updated in state as part of read operations.
latefinal
-
privateKeyWoVersion
↔ Output<
int?> -
latefinal
-
region
↔ Output<
String> -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
latefinal
-
renewalEligibility
↔ Output<
String> -
Whether the certificate is eligible for managed renewal.
latefinal
-
renewalSummaries
↔ Output<
List< CertificateRenewalSummary> > -
Contains information about the status of ACM's managed renewal for the certificate.
latefinal
-
resourceTransforms
→ List<
ResourceTransform> -
Inherited/explicit async transforms.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
status
↔ Output<
String> -
Status of the certificate.
latefinal
-
subjectAlternativeNames
↔ Output<
List< String> > -
latefinal
-
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.latefinal -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.latefinal -
transformations
→ List<
ResourceTransformation> -
Inherited/explicit legacy transformations.
no setterinherited
-
type
↔ Output<
String> -
Source of the certificate.
latefinal
-
urn
↔ Output<
String> -
latefinalinherited
-
validationEmails
↔ Output<
List< String> > -
List of addresses that received a validation email. Only set if
EMAILvalidation was used.latefinal -
validationMethod
↔ Output<
String> -
latefinal
-
validationOptions
↔ Output<
List< CertificateValidationOption> ?> -
latefinal
Methods
-
failId(
Object error) → void -
Completes this resource ID with an error when registration fails.
inherited
-
failOutputs(
Object error) → void -
Completes all output properties with
error.inherited -
failUrn(
Object error) → void -
Completes this resource URN with an error when registration fails.
inherited
-
getProvider(
String moduleMember) → ProviderResource? -
Returns provider for
moduleMember's package, if configured.inherited -
getResourceName(
) → String -
Returns this resource's logical name.
inherited
-
getResourceType(
) → String -
Returns this resource's Pulumi type token.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerOutput<
T> (String propertyName, {Object? decoder(Object?)?, bool isSecret = false}) → Output< T> -
Registers a dynamic output property for this resource.
inherited
-
resolveId(
String? value, {required bool isKnown}) → void -
Resolves the provider-assigned ID for this resource.
inherited
-
resolveOutputs(
Struct outputs) → void -
Resolves all output properties from a monitor response payload.
inherited
-
resolveUrn(
String value) → void -
Resolves this resource's URN once assigned by the engine.
inherited
-
serializeProperties(
Map< String, dynamic> properties) → Future<Struct> -
Serializes resource properties for RPC transmission.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
get(
String name, Input< String> id, {CertificateState? state, CustomResourceOptions? options}) → Certificate -
Gets an existing Certificate resource's state with the given
nameandid.