Documentation ¶
Index ¶
- type Certificate
- type CertificateArgs
- type CertificateArray
- type CertificateArrayInput
- type CertificateArrayOutput
- func (CertificateArrayOutput) ElementType() reflect.Type
- func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
- func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
- type CertificateDomainValidationOption
- type CertificateDomainValidationOptionArgs
- func (CertificateDomainValidationOptionArgs) ElementType() reflect.Type
- func (i CertificateDomainValidationOptionArgs) ToCertificateDomainValidationOptionOutput() CertificateDomainValidationOptionOutput
- func (i CertificateDomainValidationOptionArgs) ToCertificateDomainValidationOptionOutputWithContext(ctx context.Context) CertificateDomainValidationOptionOutput
- type CertificateDomainValidationOptionArray
- func (CertificateDomainValidationOptionArray) ElementType() reflect.Type
- func (i CertificateDomainValidationOptionArray) ToCertificateDomainValidationOptionArrayOutput() CertificateDomainValidationOptionArrayOutput
- func (i CertificateDomainValidationOptionArray) ToCertificateDomainValidationOptionArrayOutputWithContext(ctx context.Context) CertificateDomainValidationOptionArrayOutput
- type CertificateDomainValidationOptionArrayInput
- type CertificateDomainValidationOptionArrayOutput
- func (CertificateDomainValidationOptionArrayOutput) ElementType() reflect.Type
- func (o CertificateDomainValidationOptionArrayOutput) Index(i pulumi.IntInput) CertificateDomainValidationOptionOutput
- func (o CertificateDomainValidationOptionArrayOutput) ToCertificateDomainValidationOptionArrayOutput() CertificateDomainValidationOptionArrayOutput
- func (o CertificateDomainValidationOptionArrayOutput) ToCertificateDomainValidationOptionArrayOutputWithContext(ctx context.Context) CertificateDomainValidationOptionArrayOutput
- type CertificateDomainValidationOptionInput
- type CertificateDomainValidationOptionOutput
- func (o CertificateDomainValidationOptionOutput) DomainName() pulumi.StringPtrOutput
- func (CertificateDomainValidationOptionOutput) ElementType() reflect.Type
- func (o CertificateDomainValidationOptionOutput) ResourceRecordName() pulumi.StringPtrOutput
- func (o CertificateDomainValidationOptionOutput) ResourceRecordType() pulumi.StringPtrOutput
- func (o CertificateDomainValidationOptionOutput) ResourceRecordValue() pulumi.StringPtrOutput
- func (o CertificateDomainValidationOptionOutput) ToCertificateDomainValidationOptionOutput() CertificateDomainValidationOptionOutput
- func (o CertificateDomainValidationOptionOutput) ToCertificateDomainValidationOptionOutputWithContext(ctx context.Context) CertificateDomainValidationOptionOutput
- type CertificateInput
- type CertificateMap
- type CertificateMapInput
- type CertificateMapOutput
- func (CertificateMapOutput) ElementType() reflect.Type
- func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
- func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
- func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
- type CertificateOptions
- type CertificateOptionsArgs
- func (CertificateOptionsArgs) ElementType() reflect.Type
- func (i CertificateOptionsArgs) ToCertificateOptionsOutput() CertificateOptionsOutput
- func (i CertificateOptionsArgs) ToCertificateOptionsOutputWithContext(ctx context.Context) CertificateOptionsOutput
- func (i CertificateOptionsArgs) ToCertificateOptionsPtrOutput() CertificateOptionsPtrOutput
- func (i CertificateOptionsArgs) ToCertificateOptionsPtrOutputWithContext(ctx context.Context) CertificateOptionsPtrOutput
- type CertificateOptionsInput
- type CertificateOptionsOutput
- func (o CertificateOptionsOutput) CertificateTransparencyLoggingPreference() pulumi.StringPtrOutput
- func (CertificateOptionsOutput) ElementType() reflect.Type
- func (o CertificateOptionsOutput) ToCertificateOptionsOutput() CertificateOptionsOutput
- func (o CertificateOptionsOutput) ToCertificateOptionsOutputWithContext(ctx context.Context) CertificateOptionsOutput
- func (o CertificateOptionsOutput) ToCertificateOptionsPtrOutput() CertificateOptionsPtrOutput
- func (o CertificateOptionsOutput) ToCertificateOptionsPtrOutputWithContext(ctx context.Context) CertificateOptionsPtrOutput
- type CertificateOptionsPtrInput
- type CertificateOptionsPtrOutput
- func (o CertificateOptionsPtrOutput) CertificateTransparencyLoggingPreference() pulumi.StringPtrOutput
- func (o CertificateOptionsPtrOutput) Elem() CertificateOptionsOutput
- func (CertificateOptionsPtrOutput) ElementType() reflect.Type
- func (o CertificateOptionsPtrOutput) ToCertificateOptionsPtrOutput() CertificateOptionsPtrOutput
- func (o CertificateOptionsPtrOutput) ToCertificateOptionsPtrOutputWithContext(ctx context.Context) CertificateOptionsPtrOutput
- type CertificateOutput
- func (o CertificateOutput) Arn() pulumi.StringOutput
- func (o CertificateOutput) CertificateAuthorityArn() pulumi.StringPtrOutput
- func (o CertificateOutput) CertificateBody() pulumi.StringPtrOutput
- func (o CertificateOutput) CertificateChain() pulumi.StringPtrOutput
- func (o CertificateOutput) DomainName() pulumi.StringOutput
- func (o CertificateOutput) DomainValidationOptions() CertificateDomainValidationOptionArrayOutput
- func (o CertificateOutput) EarlyRenewalDuration() pulumi.StringPtrOutput
- func (CertificateOutput) ElementType() reflect.Type
- func (o CertificateOutput) KeyAlgorithm() pulumi.StringOutput
- func (o CertificateOutput) NotAfter() pulumi.StringOutput
- func (o CertificateOutput) NotBefore() pulumi.StringOutput
- func (o CertificateOutput) Options() CertificateOptionsOutput
- func (o CertificateOutput) PendingRenewal() pulumi.BoolOutput
- func (o CertificateOutput) PrivateKey() pulumi.StringPtrOutput
- func (o CertificateOutput) RenewalEligibility() pulumi.StringOutput
- func (o CertificateOutput) RenewalSummaries() CertificateRenewalSummaryArrayOutput
- func (o CertificateOutput) Status() pulumi.StringOutput
- func (o CertificateOutput) SubjectAlternativeNames() pulumi.StringArrayOutput
- func (o CertificateOutput) Tags() pulumi.StringMapOutput
- func (o CertificateOutput) TagsAll() pulumi.StringMapOutputdeprecated
- func (o CertificateOutput) ToCertificateOutput() CertificateOutput
- func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
- func (o CertificateOutput) Type() pulumi.StringOutput
- func (o CertificateOutput) ValidationEmails() pulumi.StringArrayOutput
- func (o CertificateOutput) ValidationMethod() pulumi.StringOutput
- func (o CertificateOutput) ValidationOptions() CertificateValidationOptionArrayOutput
- type CertificateRenewalSummary
- type CertificateRenewalSummaryArgs
- func (CertificateRenewalSummaryArgs) ElementType() reflect.Type
- func (i CertificateRenewalSummaryArgs) ToCertificateRenewalSummaryOutput() CertificateRenewalSummaryOutput
- func (i CertificateRenewalSummaryArgs) ToCertificateRenewalSummaryOutputWithContext(ctx context.Context) CertificateRenewalSummaryOutput
- type CertificateRenewalSummaryArray
- func (CertificateRenewalSummaryArray) ElementType() reflect.Type
- func (i CertificateRenewalSummaryArray) ToCertificateRenewalSummaryArrayOutput() CertificateRenewalSummaryArrayOutput
- func (i CertificateRenewalSummaryArray) ToCertificateRenewalSummaryArrayOutputWithContext(ctx context.Context) CertificateRenewalSummaryArrayOutput
- type CertificateRenewalSummaryArrayInput
- type CertificateRenewalSummaryArrayOutput
- func (CertificateRenewalSummaryArrayOutput) ElementType() reflect.Type
- func (o CertificateRenewalSummaryArrayOutput) Index(i pulumi.IntInput) CertificateRenewalSummaryOutput
- func (o CertificateRenewalSummaryArrayOutput) ToCertificateRenewalSummaryArrayOutput() CertificateRenewalSummaryArrayOutput
- func (o CertificateRenewalSummaryArrayOutput) ToCertificateRenewalSummaryArrayOutputWithContext(ctx context.Context) CertificateRenewalSummaryArrayOutput
- type CertificateRenewalSummaryInput
- type CertificateRenewalSummaryOutput
- func (CertificateRenewalSummaryOutput) ElementType() reflect.Type
- func (o CertificateRenewalSummaryOutput) RenewalStatus() pulumi.StringPtrOutput
- func (o CertificateRenewalSummaryOutput) RenewalStatusReason() pulumi.StringPtrOutput
- func (o CertificateRenewalSummaryOutput) ToCertificateRenewalSummaryOutput() CertificateRenewalSummaryOutput
- func (o CertificateRenewalSummaryOutput) ToCertificateRenewalSummaryOutputWithContext(ctx context.Context) CertificateRenewalSummaryOutput
- func (o CertificateRenewalSummaryOutput) UpdatedAt() pulumi.StringPtrOutput
- type CertificateState
- type CertificateValidation
- type CertificateValidationArgs
- type CertificateValidationArray
- func (CertificateValidationArray) ElementType() reflect.Type
- func (i CertificateValidationArray) ToCertificateValidationArrayOutput() CertificateValidationArrayOutput
- func (i CertificateValidationArray) ToCertificateValidationArrayOutputWithContext(ctx context.Context) CertificateValidationArrayOutput
- type CertificateValidationArrayInput
- type CertificateValidationArrayOutput
- func (CertificateValidationArrayOutput) ElementType() reflect.Type
- func (o CertificateValidationArrayOutput) Index(i pulumi.IntInput) CertificateValidationOutput
- func (o CertificateValidationArrayOutput) ToCertificateValidationArrayOutput() CertificateValidationArrayOutput
- func (o CertificateValidationArrayOutput) ToCertificateValidationArrayOutputWithContext(ctx context.Context) CertificateValidationArrayOutput
- type CertificateValidationInput
- type CertificateValidationMap
- type CertificateValidationMapInput
- type CertificateValidationMapOutput
- func (CertificateValidationMapOutput) ElementType() reflect.Type
- func (o CertificateValidationMapOutput) MapIndex(k pulumi.StringInput) CertificateValidationOutput
- func (o CertificateValidationMapOutput) ToCertificateValidationMapOutput() CertificateValidationMapOutput
- func (o CertificateValidationMapOutput) ToCertificateValidationMapOutputWithContext(ctx context.Context) CertificateValidationMapOutput
- type CertificateValidationOption
- type CertificateValidationOptionArgs
- func (CertificateValidationOptionArgs) ElementType() reflect.Type
- func (i CertificateValidationOptionArgs) ToCertificateValidationOptionOutput() CertificateValidationOptionOutput
- func (i CertificateValidationOptionArgs) ToCertificateValidationOptionOutputWithContext(ctx context.Context) CertificateValidationOptionOutput
- type CertificateValidationOptionArray
- func (CertificateValidationOptionArray) ElementType() reflect.Type
- func (i CertificateValidationOptionArray) ToCertificateValidationOptionArrayOutput() CertificateValidationOptionArrayOutput
- func (i CertificateValidationOptionArray) ToCertificateValidationOptionArrayOutputWithContext(ctx context.Context) CertificateValidationOptionArrayOutput
- type CertificateValidationOptionArrayInput
- type CertificateValidationOptionArrayOutput
- func (CertificateValidationOptionArrayOutput) ElementType() reflect.Type
- func (o CertificateValidationOptionArrayOutput) Index(i pulumi.IntInput) CertificateValidationOptionOutput
- func (o CertificateValidationOptionArrayOutput) ToCertificateValidationOptionArrayOutput() CertificateValidationOptionArrayOutput
- func (o CertificateValidationOptionArrayOutput) ToCertificateValidationOptionArrayOutputWithContext(ctx context.Context) CertificateValidationOptionArrayOutput
- type CertificateValidationOptionInput
- type CertificateValidationOptionOutput
- func (o CertificateValidationOptionOutput) DomainName() pulumi.StringOutput
- func (CertificateValidationOptionOutput) ElementType() reflect.Type
- func (o CertificateValidationOptionOutput) ToCertificateValidationOptionOutput() CertificateValidationOptionOutput
- func (o CertificateValidationOptionOutput) ToCertificateValidationOptionOutputWithContext(ctx context.Context) CertificateValidationOptionOutput
- func (o CertificateValidationOptionOutput) ValidationDomain() pulumi.StringOutput
- type CertificateValidationOutput
- func (o CertificateValidationOutput) CertificateArn() pulumi.StringOutput
- func (CertificateValidationOutput) ElementType() reflect.Type
- func (o CertificateValidationOutput) ToCertificateValidationOutput() CertificateValidationOutput
- func (o CertificateValidationOutput) ToCertificateValidationOutputWithContext(ctx context.Context) CertificateValidationOutput
- func (o CertificateValidationOutput) ValidationRecordFqdns() pulumi.StringArrayOutput
- type CertificateValidationState
- type LookupCertificateArgs
- type LookupCertificateOutputArgs
- type LookupCertificateResult
- type LookupCertificateResultOutput
- func (o LookupCertificateResultOutput) Arn() pulumi.StringOutput
- func (o LookupCertificateResultOutput) Certificate() pulumi.StringOutput
- func (o LookupCertificateResultOutput) CertificateChain() pulumi.StringOutput
- func (o LookupCertificateResultOutput) Domain() pulumi.StringOutput
- func (LookupCertificateResultOutput) ElementType() reflect.Type
- func (o LookupCertificateResultOutput) Id() pulumi.StringOutput
- func (o LookupCertificateResultOutput) KeyTypes() pulumi.StringArrayOutput
- func (o LookupCertificateResultOutput) MostRecent() pulumi.BoolPtrOutput
- func (o LookupCertificateResultOutput) Status() pulumi.StringOutput
- func (o LookupCertificateResultOutput) Statuses() pulumi.StringArrayOutput
- func (o LookupCertificateResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupCertificateResultOutput) ToLookupCertificateResultOutput() LookupCertificateResultOutput
- func (o LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContext(ctx context.Context) LookupCertificateResultOutput
- func (o LookupCertificateResultOutput) Types() pulumi.StringArrayOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { pulumi.CustomResourceState // ARN of the certificate Arn pulumi.StringOutput `pulumi:"arn"` // ARN of an ACM PCA CertificateAuthorityArn pulumi.StringPtrOutput `pulumi:"certificateAuthorityArn"` // Certificate's PEM-formatted public key CertificateBody pulumi.StringPtrOutput `pulumi:"certificateBody"` // Certificate's PEM-formatted chain // * Creating a private CA issued certificate CertificateChain pulumi.StringPtrOutput `pulumi:"certificateChain"` // Fully qualified domain name (FQDN) in the certificate. DomainName pulumi.StringOutput `pulumi:"domainName"` // 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. DomainValidationOptions CertificateDomainValidationOptionArrayOutput `pulumi:"domainValidationOptions"` // Amount of time to start automatic renewal process before expiration. // Has no effect if less than 60 days. // Represented by either // a subset of [RFC 3339 duration](https://www.rfc-editor.org/rfc/rfc3339) supporting years, months, and days (e.g., `P90D`), // or a string such as `2160h`. EarlyRenewalDuration pulumi.StringPtrOutput `pulumi:"earlyRenewalDuration"` // Specifies the algorithm of the public and private key pair that your Amazon issued certificate uses to encrypt data. See [ACM Certificate characteristics](https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html#algorithms) for more details. KeyAlgorithm pulumi.StringOutput `pulumi:"keyAlgorithm"` // Expiration date and time of the certificate. NotAfter pulumi.StringOutput `pulumi:"notAfter"` // Start of the validity period of the certificate. NotBefore pulumi.StringOutput `pulumi:"notBefore"` // Configuration block used to set certificate options. Detailed below. Options CertificateOptionsOutput `pulumi:"options"` // `true` if a Private certificate eligible for managed renewal is within the `earlyRenewalDuration` period. PendingRenewal pulumi.BoolOutput `pulumi:"pendingRenewal"` // Certificate's PEM-formatted private key PrivateKey pulumi.StringPtrOutput `pulumi:"privateKey"` // Whether the certificate is eligible for managed renewal. RenewalEligibility pulumi.StringOutput `pulumi:"renewalEligibility"` // Contains information about the status of ACM's [managed renewal](https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for the certificate. RenewalSummaries CertificateRenewalSummaryArrayOutput `pulumi:"renewalSummaries"` // Status of the certificate. Status pulumi.StringOutput `pulumi:"status"` // Set of domains that should be SANs in the issued certificate. // To remove all elements of a previously configured list, set this value equal to an empty list (`[]`) SubjectAlternativeNames pulumi.StringArrayOutput `pulumi:"subjectAlternativeNames"` // Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapOutput `pulumi:"tags"` // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"` // Source of the certificate. Type pulumi.StringOutput `pulumi:"type"` // List of addresses that received a validation email. Only set if `EMAIL` validation was used. ValidationEmails pulumi.StringArrayOutput `pulumi:"validationEmails"` // Which method to use for validation. `DNS` or `EMAIL` are valid. This parameter must not be set for certificates that were imported into ACM and then into Pulumi. ValidationMethod pulumi.StringOutput `pulumi:"validationMethod"` // Configuration block used to specify information about the initial validation of each domain name. Detailed below. // * Importing an existing certificate ValidationOptions CertificateValidationOptionArrayOutput `pulumi:"validationOptions"` }
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.
## Amazon-Issued Certificates
For Amazon-issued certificates, this resource deals with requesting certificates and managing their attributes and life-cycle. This resource does not deal with validation of a certificate but can provide inputs for other resources implementing the validation. It does not wait for a certificate to be issued. Use a `acm.CertificateValidation` resource for this.
Most commonly, this resource is used together with `route53.Record` and `acm.CertificateValidation` to request a DNS validated certificate, deploy the required validation records and wait for validation to complete.
Domain validation through email is also supported but should be avoided as it requires a manual step outside of this provider.
## Certificates Imported from Other Certificate Authority
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
Private certificates are issued by an ACM Private Certificate Authority, which can be created using the resource type `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](https://docs.aws.amazon.com/acm/latest/userguide/managed-renewal.html) 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
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/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{ DomainName: pulumi.String("testing.example.com"), ValidationMethod: pulumi.String("EMAIL"), ValidationOptions: acm.CertificateValidationOptionArray{ &acm.CertificateValidationOptionArgs{ DomainName: pulumi.String("testing.example.com"), ValidationDomain: pulumi.String("example.com"), }, }, }) if err != nil { return err } return nil }) }
```
### Existing Certificate Body Import
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/acm" "github.com/pulumi/pulumi-tls/sdk/v4/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{ KeyAlgorithm: pulumi.String("RSA"), PrivateKeyPem: example.PrivateKeyPem, Subject: &tls.SelfSignedCertSubjectArgs{ CommonName: pulumi.String("example.com"), Organization: pulumi.String("ACME Examples, Inc"), }, 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 }) }
```
## Import
Using `pulumi import`, import certificates using their ARN. For example:
```sh $ pulumi import aws:acm/certificate:Certificate cert arn:aws:acm:eu-central-1:123456789012:certificate/7e7a28d2-163f-4b8f-b9cd-822f96c08d6a ```
func GetCertificate ¶
func GetCertificate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CertificateState, opts ...pulumi.ResourceOption) (*Certificate, error)
GetCertificate gets an existing Certificate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCertificate ¶
func NewCertificate(ctx *pulumi.Context, name string, args *CertificateArgs, opts ...pulumi.ResourceOption) (*Certificate, error)
NewCertificate registers a new resource with the given unique name, arguments, and options.
func (*Certificate) ElementType ¶
func (*Certificate) ElementType() reflect.Type
func (*Certificate) ToCertificateOutput ¶
func (i *Certificate) ToCertificateOutput() CertificateOutput
func (*Certificate) ToCertificateOutputWithContext ¶
func (i *Certificate) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
type CertificateArgs ¶
type CertificateArgs struct { // ARN of an ACM PCA CertificateAuthorityArn pulumi.StringPtrInput // Certificate's PEM-formatted public key CertificateBody pulumi.StringPtrInput // Certificate's PEM-formatted chain // * Creating a private CA issued certificate CertificateChain pulumi.StringPtrInput // Fully qualified domain name (FQDN) in the certificate. DomainName pulumi.StringPtrInput // Amount of time to start automatic renewal process before expiration. // Has no effect if less than 60 days. // Represented by either // a subset of [RFC 3339 duration](https://www.rfc-editor.org/rfc/rfc3339) supporting years, months, and days (e.g., `P90D`), // or a string such as `2160h`. EarlyRenewalDuration pulumi.StringPtrInput // Specifies the algorithm of the public and private key pair that your Amazon issued certificate uses to encrypt data. See [ACM Certificate characteristics](https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html#algorithms) for more details. KeyAlgorithm pulumi.StringPtrInput // Configuration block used to set certificate options. Detailed below. Options CertificateOptionsPtrInput // Certificate's PEM-formatted private key PrivateKey pulumi.StringPtrInput // Set of domains that should be SANs in the issued certificate. // To remove all elements of a previously configured list, set this value equal to an empty list (`[]`) SubjectAlternativeNames pulumi.StringArrayInput // Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Which method to use for validation. `DNS` or `EMAIL` are valid. This parameter must not be set for certificates that were imported into ACM and then into Pulumi. ValidationMethod pulumi.StringPtrInput // Configuration block used to specify information about the initial validation of each domain name. Detailed below. // * Importing an existing certificate ValidationOptions CertificateValidationOptionArrayInput }
The set of arguments for constructing a Certificate resource.
func (CertificateArgs) ElementType ¶
func (CertificateArgs) ElementType() reflect.Type
type CertificateArray ¶
type CertificateArray []CertificateInput
func (CertificateArray) ElementType ¶
func (CertificateArray) ElementType() reflect.Type
func (CertificateArray) ToCertificateArrayOutput ¶
func (i CertificateArray) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArray) ToCertificateArrayOutputWithContext ¶
func (i CertificateArray) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateArrayInput ¶
type CertificateArrayInput interface { pulumi.Input ToCertificateArrayOutput() CertificateArrayOutput ToCertificateArrayOutputWithContext(context.Context) CertificateArrayOutput }
CertificateArrayInput is an input type that accepts CertificateArray and CertificateArrayOutput values. You can construct a concrete instance of `CertificateArrayInput` via:
CertificateArray{ CertificateArgs{...} }
type CertificateArrayOutput ¶
type CertificateArrayOutput struct{ *pulumi.OutputState }
func (CertificateArrayOutput) ElementType ¶
func (CertificateArrayOutput) ElementType() reflect.Type
func (CertificateArrayOutput) Index ¶
func (o CertificateArrayOutput) Index(i pulumi.IntInput) CertificateOutput
func (CertificateArrayOutput) ToCertificateArrayOutput ¶
func (o CertificateArrayOutput) ToCertificateArrayOutput() CertificateArrayOutput
func (CertificateArrayOutput) ToCertificateArrayOutputWithContext ¶
func (o CertificateArrayOutput) ToCertificateArrayOutputWithContext(ctx context.Context) CertificateArrayOutput
type CertificateDomainValidationOption ¶
type CertificateDomainValidationOption struct { // Fully qualified domain name (FQDN) in the certificate. DomainName *string `pulumi:"domainName"` // The name of the DNS record to create to validate the certificate ResourceRecordName *string `pulumi:"resourceRecordName"` // The type of DNS record to create ResourceRecordType *string `pulumi:"resourceRecordType"` // The value the DNS record needs to have ResourceRecordValue *string `pulumi:"resourceRecordValue"` }
type CertificateDomainValidationOptionArgs ¶
type CertificateDomainValidationOptionArgs struct { // Fully qualified domain name (FQDN) in the certificate. DomainName pulumi.StringPtrInput `pulumi:"domainName"` // The name of the DNS record to create to validate the certificate ResourceRecordName pulumi.StringPtrInput `pulumi:"resourceRecordName"` // The type of DNS record to create ResourceRecordType pulumi.StringPtrInput `pulumi:"resourceRecordType"` // The value the DNS record needs to have ResourceRecordValue pulumi.StringPtrInput `pulumi:"resourceRecordValue"` }
func (CertificateDomainValidationOptionArgs) ElementType ¶
func (CertificateDomainValidationOptionArgs) ElementType() reflect.Type
func (CertificateDomainValidationOptionArgs) ToCertificateDomainValidationOptionOutput ¶
func (i CertificateDomainValidationOptionArgs) ToCertificateDomainValidationOptionOutput() CertificateDomainValidationOptionOutput
func (CertificateDomainValidationOptionArgs) ToCertificateDomainValidationOptionOutputWithContext ¶
func (i CertificateDomainValidationOptionArgs) ToCertificateDomainValidationOptionOutputWithContext(ctx context.Context) CertificateDomainValidationOptionOutput
type CertificateDomainValidationOptionArray ¶
type CertificateDomainValidationOptionArray []CertificateDomainValidationOptionInput
func (CertificateDomainValidationOptionArray) ElementType ¶
func (CertificateDomainValidationOptionArray) ElementType() reflect.Type
func (CertificateDomainValidationOptionArray) ToCertificateDomainValidationOptionArrayOutput ¶
func (i CertificateDomainValidationOptionArray) ToCertificateDomainValidationOptionArrayOutput() CertificateDomainValidationOptionArrayOutput
func (CertificateDomainValidationOptionArray) ToCertificateDomainValidationOptionArrayOutputWithContext ¶
func (i CertificateDomainValidationOptionArray) ToCertificateDomainValidationOptionArrayOutputWithContext(ctx context.Context) CertificateDomainValidationOptionArrayOutput
type CertificateDomainValidationOptionArrayInput ¶
type CertificateDomainValidationOptionArrayInput interface { pulumi.Input ToCertificateDomainValidationOptionArrayOutput() CertificateDomainValidationOptionArrayOutput ToCertificateDomainValidationOptionArrayOutputWithContext(context.Context) CertificateDomainValidationOptionArrayOutput }
CertificateDomainValidationOptionArrayInput is an input type that accepts CertificateDomainValidationOptionArray and CertificateDomainValidationOptionArrayOutput values. You can construct a concrete instance of `CertificateDomainValidationOptionArrayInput` via:
CertificateDomainValidationOptionArray{ CertificateDomainValidationOptionArgs{...} }
type CertificateDomainValidationOptionArrayOutput ¶
type CertificateDomainValidationOptionArrayOutput struct{ *pulumi.OutputState }
func (CertificateDomainValidationOptionArrayOutput) ElementType ¶
func (CertificateDomainValidationOptionArrayOutput) ElementType() reflect.Type
func (CertificateDomainValidationOptionArrayOutput) ToCertificateDomainValidationOptionArrayOutput ¶
func (o CertificateDomainValidationOptionArrayOutput) ToCertificateDomainValidationOptionArrayOutput() CertificateDomainValidationOptionArrayOutput
func (CertificateDomainValidationOptionArrayOutput) ToCertificateDomainValidationOptionArrayOutputWithContext ¶
func (o CertificateDomainValidationOptionArrayOutput) ToCertificateDomainValidationOptionArrayOutputWithContext(ctx context.Context) CertificateDomainValidationOptionArrayOutput
type CertificateDomainValidationOptionInput ¶
type CertificateDomainValidationOptionInput interface { pulumi.Input ToCertificateDomainValidationOptionOutput() CertificateDomainValidationOptionOutput ToCertificateDomainValidationOptionOutputWithContext(context.Context) CertificateDomainValidationOptionOutput }
CertificateDomainValidationOptionInput is an input type that accepts CertificateDomainValidationOptionArgs and CertificateDomainValidationOptionOutput values. You can construct a concrete instance of `CertificateDomainValidationOptionInput` via:
CertificateDomainValidationOptionArgs{...}
type CertificateDomainValidationOptionOutput ¶
type CertificateDomainValidationOptionOutput struct{ *pulumi.OutputState }
func (CertificateDomainValidationOptionOutput) DomainName ¶
func (o CertificateDomainValidationOptionOutput) DomainName() pulumi.StringPtrOutput
Fully qualified domain name (FQDN) in the certificate.
func (CertificateDomainValidationOptionOutput) ElementType ¶
func (CertificateDomainValidationOptionOutput) ElementType() reflect.Type
func (CertificateDomainValidationOptionOutput) ResourceRecordName ¶
func (o CertificateDomainValidationOptionOutput) ResourceRecordName() pulumi.StringPtrOutput
The name of the DNS record to create to validate the certificate
func (CertificateDomainValidationOptionOutput) ResourceRecordType ¶
func (o CertificateDomainValidationOptionOutput) ResourceRecordType() pulumi.StringPtrOutput
The type of DNS record to create
func (CertificateDomainValidationOptionOutput) ResourceRecordValue ¶
func (o CertificateDomainValidationOptionOutput) ResourceRecordValue() pulumi.StringPtrOutput
The value the DNS record needs to have
func (CertificateDomainValidationOptionOutput) ToCertificateDomainValidationOptionOutput ¶
func (o CertificateDomainValidationOptionOutput) ToCertificateDomainValidationOptionOutput() CertificateDomainValidationOptionOutput
func (CertificateDomainValidationOptionOutput) ToCertificateDomainValidationOptionOutputWithContext ¶
func (o CertificateDomainValidationOptionOutput) ToCertificateDomainValidationOptionOutputWithContext(ctx context.Context) CertificateDomainValidationOptionOutput
type CertificateInput ¶
type CertificateInput interface { pulumi.Input ToCertificateOutput() CertificateOutput ToCertificateOutputWithContext(ctx context.Context) CertificateOutput }
type CertificateMap ¶
type CertificateMap map[string]CertificateInput
func (CertificateMap) ElementType ¶
func (CertificateMap) ElementType() reflect.Type
func (CertificateMap) ToCertificateMapOutput ¶
func (i CertificateMap) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMap) ToCertificateMapOutputWithContext ¶
func (i CertificateMap) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateMapInput ¶
type CertificateMapInput interface { pulumi.Input ToCertificateMapOutput() CertificateMapOutput ToCertificateMapOutputWithContext(context.Context) CertificateMapOutput }
CertificateMapInput is an input type that accepts CertificateMap and CertificateMapOutput values. You can construct a concrete instance of `CertificateMapInput` via:
CertificateMap{ "key": CertificateArgs{...} }
type CertificateMapOutput ¶
type CertificateMapOutput struct{ *pulumi.OutputState }
func (CertificateMapOutput) ElementType ¶
func (CertificateMapOutput) ElementType() reflect.Type
func (CertificateMapOutput) MapIndex ¶
func (o CertificateMapOutput) MapIndex(k pulumi.StringInput) CertificateOutput
func (CertificateMapOutput) ToCertificateMapOutput ¶
func (o CertificateMapOutput) ToCertificateMapOutput() CertificateMapOutput
func (CertificateMapOutput) ToCertificateMapOutputWithContext ¶
func (o CertificateMapOutput) ToCertificateMapOutputWithContext(ctx context.Context) CertificateMapOutput
type CertificateOptions ¶
type CertificateOptions struct { // Whether certificate details should be added to a certificate transparency log. Valid values are `ENABLED` or `DISABLED`. See https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency for more details. CertificateTransparencyLoggingPreference *string `pulumi:"certificateTransparencyLoggingPreference"` }
type CertificateOptionsArgs ¶
type CertificateOptionsArgs struct { // Whether certificate details should be added to a certificate transparency log. Valid values are `ENABLED` or `DISABLED`. See https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency for more details. CertificateTransparencyLoggingPreference pulumi.StringPtrInput `pulumi:"certificateTransparencyLoggingPreference"` }
func (CertificateOptionsArgs) ElementType ¶
func (CertificateOptionsArgs) ElementType() reflect.Type
func (CertificateOptionsArgs) ToCertificateOptionsOutput ¶
func (i CertificateOptionsArgs) ToCertificateOptionsOutput() CertificateOptionsOutput
func (CertificateOptionsArgs) ToCertificateOptionsOutputWithContext ¶
func (i CertificateOptionsArgs) ToCertificateOptionsOutputWithContext(ctx context.Context) CertificateOptionsOutput
func (CertificateOptionsArgs) ToCertificateOptionsPtrOutput ¶
func (i CertificateOptionsArgs) ToCertificateOptionsPtrOutput() CertificateOptionsPtrOutput
func (CertificateOptionsArgs) ToCertificateOptionsPtrOutputWithContext ¶
func (i CertificateOptionsArgs) ToCertificateOptionsPtrOutputWithContext(ctx context.Context) CertificateOptionsPtrOutput
type CertificateOptionsInput ¶
type CertificateOptionsInput interface { pulumi.Input ToCertificateOptionsOutput() CertificateOptionsOutput ToCertificateOptionsOutputWithContext(context.Context) CertificateOptionsOutput }
CertificateOptionsInput is an input type that accepts CertificateOptionsArgs and CertificateOptionsOutput values. You can construct a concrete instance of `CertificateOptionsInput` via:
CertificateOptionsArgs{...}
type CertificateOptionsOutput ¶
type CertificateOptionsOutput struct{ *pulumi.OutputState }
func (CertificateOptionsOutput) CertificateTransparencyLoggingPreference ¶
func (o CertificateOptionsOutput) CertificateTransparencyLoggingPreference() pulumi.StringPtrOutput
Whether certificate details should be added to a certificate transparency log. Valid values are `ENABLED` or `DISABLED`. See https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency for more details.
func (CertificateOptionsOutput) ElementType ¶
func (CertificateOptionsOutput) ElementType() reflect.Type
func (CertificateOptionsOutput) ToCertificateOptionsOutput ¶
func (o CertificateOptionsOutput) ToCertificateOptionsOutput() CertificateOptionsOutput
func (CertificateOptionsOutput) ToCertificateOptionsOutputWithContext ¶
func (o CertificateOptionsOutput) ToCertificateOptionsOutputWithContext(ctx context.Context) CertificateOptionsOutput
func (CertificateOptionsOutput) ToCertificateOptionsPtrOutput ¶
func (o CertificateOptionsOutput) ToCertificateOptionsPtrOutput() CertificateOptionsPtrOutput
func (CertificateOptionsOutput) ToCertificateOptionsPtrOutputWithContext ¶
func (o CertificateOptionsOutput) ToCertificateOptionsPtrOutputWithContext(ctx context.Context) CertificateOptionsPtrOutput
type CertificateOptionsPtrInput ¶
type CertificateOptionsPtrInput interface { pulumi.Input ToCertificateOptionsPtrOutput() CertificateOptionsPtrOutput ToCertificateOptionsPtrOutputWithContext(context.Context) CertificateOptionsPtrOutput }
CertificateOptionsPtrInput is an input type that accepts CertificateOptionsArgs, CertificateOptionsPtr and CertificateOptionsPtrOutput values. You can construct a concrete instance of `CertificateOptionsPtrInput` via:
CertificateOptionsArgs{...} or: nil
func CertificateOptionsPtr ¶
func CertificateOptionsPtr(v *CertificateOptionsArgs) CertificateOptionsPtrInput
type CertificateOptionsPtrOutput ¶
type CertificateOptionsPtrOutput struct{ *pulumi.OutputState }
func (CertificateOptionsPtrOutput) CertificateTransparencyLoggingPreference ¶
func (o CertificateOptionsPtrOutput) CertificateTransparencyLoggingPreference() pulumi.StringPtrOutput
Whether certificate details should be added to a certificate transparency log. Valid values are `ENABLED` or `DISABLED`. See https://docs.aws.amazon.com/acm/latest/userguide/acm-concepts.html#concept-transparency for more details.
func (CertificateOptionsPtrOutput) Elem ¶
func (o CertificateOptionsPtrOutput) Elem() CertificateOptionsOutput
func (CertificateOptionsPtrOutput) ElementType ¶
func (CertificateOptionsPtrOutput) ElementType() reflect.Type
func (CertificateOptionsPtrOutput) ToCertificateOptionsPtrOutput ¶
func (o CertificateOptionsPtrOutput) ToCertificateOptionsPtrOutput() CertificateOptionsPtrOutput
func (CertificateOptionsPtrOutput) ToCertificateOptionsPtrOutputWithContext ¶
func (o CertificateOptionsPtrOutput) ToCertificateOptionsPtrOutputWithContext(ctx context.Context) CertificateOptionsPtrOutput
type CertificateOutput ¶
type CertificateOutput struct{ *pulumi.OutputState }
func (CertificateOutput) Arn ¶
func (o CertificateOutput) Arn() pulumi.StringOutput
ARN of the certificate
func (CertificateOutput) CertificateAuthorityArn ¶
func (o CertificateOutput) CertificateAuthorityArn() pulumi.StringPtrOutput
ARN of an ACM PCA
func (CertificateOutput) CertificateBody ¶
func (o CertificateOutput) CertificateBody() pulumi.StringPtrOutput
Certificate's PEM-formatted public key
func (CertificateOutput) CertificateChain ¶
func (o CertificateOutput) CertificateChain() pulumi.StringPtrOutput
Certificate's PEM-formatted chain * Creating a private CA issued certificate
func (CertificateOutput) DomainName ¶
func (o CertificateOutput) DomainName() pulumi.StringOutput
Fully qualified domain name (FQDN) in the certificate.
func (CertificateOutput) DomainValidationOptions ¶
func (o CertificateOutput) DomainValidationOptions() CertificateDomainValidationOptionArrayOutput
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.
func (CertificateOutput) EarlyRenewalDuration ¶
func (o CertificateOutput) EarlyRenewalDuration() pulumi.StringPtrOutput
Amount of time to start automatic renewal process before expiration. Has no effect if less than 60 days. Represented by either a subset of [RFC 3339 duration](https://www.rfc-editor.org/rfc/rfc3339) supporting years, months, and days (e.g., `P90D`), or a string such as `2160h`.
func (CertificateOutput) ElementType ¶
func (CertificateOutput) ElementType() reflect.Type
func (CertificateOutput) KeyAlgorithm ¶
func (o CertificateOutput) KeyAlgorithm() pulumi.StringOutput
Specifies the algorithm of the public and private key pair that your Amazon issued certificate uses to encrypt data. See [ACM Certificate characteristics](https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html#algorithms) for more details.
func (CertificateOutput) NotAfter ¶
func (o CertificateOutput) NotAfter() pulumi.StringOutput
Expiration date and time of the certificate.
func (CertificateOutput) NotBefore ¶
func (o CertificateOutput) NotBefore() pulumi.StringOutput
Start of the validity period of the certificate.
func (CertificateOutput) Options ¶
func (o CertificateOutput) Options() CertificateOptionsOutput
Configuration block used to set certificate options. Detailed below.
func (CertificateOutput) PendingRenewal ¶
func (o CertificateOutput) PendingRenewal() pulumi.BoolOutput
`true` if a Private certificate eligible for managed renewal is within the `earlyRenewalDuration` period.
func (CertificateOutput) PrivateKey ¶
func (o CertificateOutput) PrivateKey() pulumi.StringPtrOutput
Certificate's PEM-formatted private key
func (CertificateOutput) RenewalEligibility ¶
func (o CertificateOutput) RenewalEligibility() pulumi.StringOutput
Whether the certificate is eligible for managed renewal.
func (CertificateOutput) RenewalSummaries ¶
func (o CertificateOutput) RenewalSummaries() CertificateRenewalSummaryArrayOutput
Contains information about the status of ACM's [managed renewal](https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for the certificate.
func (CertificateOutput) Status ¶
func (o CertificateOutput) Status() pulumi.StringOutput
Status of the certificate.
func (CertificateOutput) SubjectAlternativeNames ¶
func (o CertificateOutput) SubjectAlternativeNames() pulumi.StringArrayOutput
Set of domains that should be SANs in the issued certificate. To remove all elements of a previously configured list, set this value equal to an empty list (`[]`)
func (CertificateOutput) Tags ¶
func (o CertificateOutput) Tags() pulumi.StringMapOutput
Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
func (CertificateOutput) TagsAll
deprecated
func (o CertificateOutput) TagsAll() pulumi.StringMapOutput
Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
Deprecated: Please use `tags` instead.
func (CertificateOutput) ToCertificateOutput ¶
func (o CertificateOutput) ToCertificateOutput() CertificateOutput
func (CertificateOutput) ToCertificateOutputWithContext ¶
func (o CertificateOutput) ToCertificateOutputWithContext(ctx context.Context) CertificateOutput
func (CertificateOutput) Type ¶
func (o CertificateOutput) Type() pulumi.StringOutput
Source of the certificate.
func (CertificateOutput) ValidationEmails ¶
func (o CertificateOutput) ValidationEmails() pulumi.StringArrayOutput
List of addresses that received a validation email. Only set if `EMAIL` validation was used.
func (CertificateOutput) ValidationMethod ¶
func (o CertificateOutput) ValidationMethod() pulumi.StringOutput
Which method to use for validation. `DNS` or `EMAIL` are valid. This parameter must not be set for certificates that were imported into ACM and then into Pulumi.
func (CertificateOutput) ValidationOptions ¶
func (o CertificateOutput) ValidationOptions() CertificateValidationOptionArrayOutput
Configuration block used to specify information about the initial validation of each domain name. Detailed below. * Importing an existing certificate
type CertificateRenewalSummary ¶
type CertificateRenewalSummary struct { // The status of ACM's managed renewal of the certificate RenewalStatus *string `pulumi:"renewalStatus"` // The reason that a renewal request was unsuccessful or is pending RenewalStatusReason *string `pulumi:"renewalStatusReason"` UpdatedAt *string `pulumi:"updatedAt"` }
type CertificateRenewalSummaryArgs ¶
type CertificateRenewalSummaryArgs struct { // The status of ACM's managed renewal of the certificate RenewalStatus pulumi.StringPtrInput `pulumi:"renewalStatus"` // The reason that a renewal request was unsuccessful or is pending RenewalStatusReason pulumi.StringPtrInput `pulumi:"renewalStatusReason"` UpdatedAt pulumi.StringPtrInput `pulumi:"updatedAt"` }
func (CertificateRenewalSummaryArgs) ElementType ¶
func (CertificateRenewalSummaryArgs) ElementType() reflect.Type
func (CertificateRenewalSummaryArgs) ToCertificateRenewalSummaryOutput ¶
func (i CertificateRenewalSummaryArgs) ToCertificateRenewalSummaryOutput() CertificateRenewalSummaryOutput
func (CertificateRenewalSummaryArgs) ToCertificateRenewalSummaryOutputWithContext ¶
func (i CertificateRenewalSummaryArgs) ToCertificateRenewalSummaryOutputWithContext(ctx context.Context) CertificateRenewalSummaryOutput
type CertificateRenewalSummaryArray ¶
type CertificateRenewalSummaryArray []CertificateRenewalSummaryInput
func (CertificateRenewalSummaryArray) ElementType ¶
func (CertificateRenewalSummaryArray) ElementType() reflect.Type
func (CertificateRenewalSummaryArray) ToCertificateRenewalSummaryArrayOutput ¶
func (i CertificateRenewalSummaryArray) ToCertificateRenewalSummaryArrayOutput() CertificateRenewalSummaryArrayOutput
func (CertificateRenewalSummaryArray) ToCertificateRenewalSummaryArrayOutputWithContext ¶
func (i CertificateRenewalSummaryArray) ToCertificateRenewalSummaryArrayOutputWithContext(ctx context.Context) CertificateRenewalSummaryArrayOutput
type CertificateRenewalSummaryArrayInput ¶
type CertificateRenewalSummaryArrayInput interface { pulumi.Input ToCertificateRenewalSummaryArrayOutput() CertificateRenewalSummaryArrayOutput ToCertificateRenewalSummaryArrayOutputWithContext(context.Context) CertificateRenewalSummaryArrayOutput }
CertificateRenewalSummaryArrayInput is an input type that accepts CertificateRenewalSummaryArray and CertificateRenewalSummaryArrayOutput values. You can construct a concrete instance of `CertificateRenewalSummaryArrayInput` via:
CertificateRenewalSummaryArray{ CertificateRenewalSummaryArgs{...} }
type CertificateRenewalSummaryArrayOutput ¶
type CertificateRenewalSummaryArrayOutput struct{ *pulumi.OutputState }
func (CertificateRenewalSummaryArrayOutput) ElementType ¶
func (CertificateRenewalSummaryArrayOutput) ElementType() reflect.Type
func (CertificateRenewalSummaryArrayOutput) Index ¶
func (o CertificateRenewalSummaryArrayOutput) Index(i pulumi.IntInput) CertificateRenewalSummaryOutput
func (CertificateRenewalSummaryArrayOutput) ToCertificateRenewalSummaryArrayOutput ¶
func (o CertificateRenewalSummaryArrayOutput) ToCertificateRenewalSummaryArrayOutput() CertificateRenewalSummaryArrayOutput
func (CertificateRenewalSummaryArrayOutput) ToCertificateRenewalSummaryArrayOutputWithContext ¶
func (o CertificateRenewalSummaryArrayOutput) ToCertificateRenewalSummaryArrayOutputWithContext(ctx context.Context) CertificateRenewalSummaryArrayOutput
type CertificateRenewalSummaryInput ¶
type CertificateRenewalSummaryInput interface { pulumi.Input ToCertificateRenewalSummaryOutput() CertificateRenewalSummaryOutput ToCertificateRenewalSummaryOutputWithContext(context.Context) CertificateRenewalSummaryOutput }
CertificateRenewalSummaryInput is an input type that accepts CertificateRenewalSummaryArgs and CertificateRenewalSummaryOutput values. You can construct a concrete instance of `CertificateRenewalSummaryInput` via:
CertificateRenewalSummaryArgs{...}
type CertificateRenewalSummaryOutput ¶
type CertificateRenewalSummaryOutput struct{ *pulumi.OutputState }
func (CertificateRenewalSummaryOutput) ElementType ¶
func (CertificateRenewalSummaryOutput) ElementType() reflect.Type
func (CertificateRenewalSummaryOutput) RenewalStatus ¶
func (o CertificateRenewalSummaryOutput) RenewalStatus() pulumi.StringPtrOutput
The status of ACM's managed renewal of the certificate
func (CertificateRenewalSummaryOutput) RenewalStatusReason ¶
func (o CertificateRenewalSummaryOutput) RenewalStatusReason() pulumi.StringPtrOutput
The reason that a renewal request was unsuccessful or is pending
func (CertificateRenewalSummaryOutput) ToCertificateRenewalSummaryOutput ¶
func (o CertificateRenewalSummaryOutput) ToCertificateRenewalSummaryOutput() CertificateRenewalSummaryOutput
func (CertificateRenewalSummaryOutput) ToCertificateRenewalSummaryOutputWithContext ¶
func (o CertificateRenewalSummaryOutput) ToCertificateRenewalSummaryOutputWithContext(ctx context.Context) CertificateRenewalSummaryOutput
func (CertificateRenewalSummaryOutput) UpdatedAt ¶
func (o CertificateRenewalSummaryOutput) UpdatedAt() pulumi.StringPtrOutput
type CertificateState ¶
type CertificateState struct { // ARN of the certificate Arn pulumi.StringPtrInput // ARN of an ACM PCA CertificateAuthorityArn pulumi.StringPtrInput // Certificate's PEM-formatted public key CertificateBody pulumi.StringPtrInput // Certificate's PEM-formatted chain // * Creating a private CA issued certificate CertificateChain pulumi.StringPtrInput // Fully qualified domain name (FQDN) in the certificate. DomainName pulumi.StringPtrInput // 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. DomainValidationOptions CertificateDomainValidationOptionArrayInput // Amount of time to start automatic renewal process before expiration. // Has no effect if less than 60 days. // Represented by either // a subset of [RFC 3339 duration](https://www.rfc-editor.org/rfc/rfc3339) supporting years, months, and days (e.g., `P90D`), // or a string such as `2160h`. EarlyRenewalDuration pulumi.StringPtrInput // Specifies the algorithm of the public and private key pair that your Amazon issued certificate uses to encrypt data. See [ACM Certificate characteristics](https://docs.aws.amazon.com/acm/latest/userguide/acm-certificate.html#algorithms) for more details. KeyAlgorithm pulumi.StringPtrInput // Expiration date and time of the certificate. NotAfter pulumi.StringPtrInput // Start of the validity period of the certificate. NotBefore pulumi.StringPtrInput // Configuration block used to set certificate options. Detailed below. Options CertificateOptionsPtrInput // `true` if a Private certificate eligible for managed renewal is within the `earlyRenewalDuration` period. PendingRenewal pulumi.BoolPtrInput // Certificate's PEM-formatted private key PrivateKey pulumi.StringPtrInput // Whether the certificate is eligible for managed renewal. RenewalEligibility pulumi.StringPtrInput // Contains information about the status of ACM's [managed renewal](https://docs.aws.amazon.com/acm/latest/userguide/acm-renewal.html) for the certificate. RenewalSummaries CertificateRenewalSummaryArrayInput // Status of the certificate. Status pulumi.StringPtrInput // Set of domains that should be SANs in the issued certificate. // To remove all elements of a previously configured list, set this value equal to an empty list (`[]`) SubjectAlternativeNames pulumi.StringArrayInput // Map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. Tags pulumi.StringMapInput // Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block. // // Deprecated: Please use `tags` instead. TagsAll pulumi.StringMapInput // Source of the certificate. Type pulumi.StringPtrInput // List of addresses that received a validation email. Only set if `EMAIL` validation was used. ValidationEmails pulumi.StringArrayInput // Which method to use for validation. `DNS` or `EMAIL` are valid. This parameter must not be set for certificates that were imported into ACM and then into Pulumi. ValidationMethod pulumi.StringPtrInput // Configuration block used to specify information about the initial validation of each domain name. Detailed below. // * Importing an existing certificate ValidationOptions CertificateValidationOptionArrayInput }
func (CertificateState) ElementType ¶
func (CertificateState) ElementType() reflect.Type
type CertificateValidation ¶
type CertificateValidation struct { pulumi.CustomResourceState // ARN of the certificate that is being validated. CertificateArn pulumi.StringOutput `pulumi:"certificateArn"` // List of FQDNs that implement the validation. Only valid for DNS validation method ACM certificates. If this is set, the resource can implement additional sanity checks and has an explicit dependency on the resource that is implementing the validation ValidationRecordFqdns pulumi.StringArrayOutput `pulumi:"validationRecordFqdns"` }
This resource represents a successful validation of an ACM certificate in concert with other resources.
Most commonly, this resource is used together with `route53.Record` and `acm.Certificate` to request a DNS validated certificate, deploy the required validation records and wait for validation to complete.
> **WARNING:** This resource implements a part of the validation workflow. It does not represent a real-world entity in AWS, therefore changing or deleting this resource on its own has no immediate effect.
## Example Usage
### Email Validation
In this situation, the resource is simply a waiter for manual email approval of ACM certificates.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/acm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := acm.NewCertificate(ctx, "example", &acm.CertificateArgs{ DomainName: pulumi.String("example.com"), ValidationMethod: pulumi.String("EMAIL"), }) if err != nil { return err } _, err = acm.NewCertificateValidation(ctx, "example", &acm.CertificateValidationArgs{ CertificateArn: example.Arn, }) if err != nil { return err } return nil }) }
```
func GetCertificateValidation ¶
func GetCertificateValidation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CertificateValidationState, opts ...pulumi.ResourceOption) (*CertificateValidation, error)
GetCertificateValidation gets an existing CertificateValidation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCertificateValidation ¶
func NewCertificateValidation(ctx *pulumi.Context, name string, args *CertificateValidationArgs, opts ...pulumi.ResourceOption) (*CertificateValidation, error)
NewCertificateValidation registers a new resource with the given unique name, arguments, and options.
func (*CertificateValidation) ElementType ¶
func (*CertificateValidation) ElementType() reflect.Type
func (*CertificateValidation) ToCertificateValidationOutput ¶
func (i *CertificateValidation) ToCertificateValidationOutput() CertificateValidationOutput
func (*CertificateValidation) ToCertificateValidationOutputWithContext ¶
func (i *CertificateValidation) ToCertificateValidationOutputWithContext(ctx context.Context) CertificateValidationOutput
type CertificateValidationArgs ¶
type CertificateValidationArgs struct { // ARN of the certificate that is being validated. CertificateArn pulumi.StringInput // List of FQDNs that implement the validation. Only valid for DNS validation method ACM certificates. If this is set, the resource can implement additional sanity checks and has an explicit dependency on the resource that is implementing the validation ValidationRecordFqdns pulumi.StringArrayInput }
The set of arguments for constructing a CertificateValidation resource.
func (CertificateValidationArgs) ElementType ¶
func (CertificateValidationArgs) ElementType() reflect.Type
type CertificateValidationArray ¶
type CertificateValidationArray []CertificateValidationInput
func (CertificateValidationArray) ElementType ¶
func (CertificateValidationArray) ElementType() reflect.Type
func (CertificateValidationArray) ToCertificateValidationArrayOutput ¶
func (i CertificateValidationArray) ToCertificateValidationArrayOutput() CertificateValidationArrayOutput
func (CertificateValidationArray) ToCertificateValidationArrayOutputWithContext ¶
func (i CertificateValidationArray) ToCertificateValidationArrayOutputWithContext(ctx context.Context) CertificateValidationArrayOutput
type CertificateValidationArrayInput ¶
type CertificateValidationArrayInput interface { pulumi.Input ToCertificateValidationArrayOutput() CertificateValidationArrayOutput ToCertificateValidationArrayOutputWithContext(context.Context) CertificateValidationArrayOutput }
CertificateValidationArrayInput is an input type that accepts CertificateValidationArray and CertificateValidationArrayOutput values. You can construct a concrete instance of `CertificateValidationArrayInput` via:
CertificateValidationArray{ CertificateValidationArgs{...} }
type CertificateValidationArrayOutput ¶
type CertificateValidationArrayOutput struct{ *pulumi.OutputState }
func (CertificateValidationArrayOutput) ElementType ¶
func (CertificateValidationArrayOutput) ElementType() reflect.Type
func (CertificateValidationArrayOutput) Index ¶
func (o CertificateValidationArrayOutput) Index(i pulumi.IntInput) CertificateValidationOutput
func (CertificateValidationArrayOutput) ToCertificateValidationArrayOutput ¶
func (o CertificateValidationArrayOutput) ToCertificateValidationArrayOutput() CertificateValidationArrayOutput
func (CertificateValidationArrayOutput) ToCertificateValidationArrayOutputWithContext ¶
func (o CertificateValidationArrayOutput) ToCertificateValidationArrayOutputWithContext(ctx context.Context) CertificateValidationArrayOutput
type CertificateValidationInput ¶
type CertificateValidationInput interface { pulumi.Input ToCertificateValidationOutput() CertificateValidationOutput ToCertificateValidationOutputWithContext(ctx context.Context) CertificateValidationOutput }
type CertificateValidationMap ¶
type CertificateValidationMap map[string]CertificateValidationInput
func (CertificateValidationMap) ElementType ¶
func (CertificateValidationMap) ElementType() reflect.Type
func (CertificateValidationMap) ToCertificateValidationMapOutput ¶
func (i CertificateValidationMap) ToCertificateValidationMapOutput() CertificateValidationMapOutput
func (CertificateValidationMap) ToCertificateValidationMapOutputWithContext ¶
func (i CertificateValidationMap) ToCertificateValidationMapOutputWithContext(ctx context.Context) CertificateValidationMapOutput
type CertificateValidationMapInput ¶
type CertificateValidationMapInput interface { pulumi.Input ToCertificateValidationMapOutput() CertificateValidationMapOutput ToCertificateValidationMapOutputWithContext(context.Context) CertificateValidationMapOutput }
CertificateValidationMapInput is an input type that accepts CertificateValidationMap and CertificateValidationMapOutput values. You can construct a concrete instance of `CertificateValidationMapInput` via:
CertificateValidationMap{ "key": CertificateValidationArgs{...} }
type CertificateValidationMapOutput ¶
type CertificateValidationMapOutput struct{ *pulumi.OutputState }
func (CertificateValidationMapOutput) ElementType ¶
func (CertificateValidationMapOutput) ElementType() reflect.Type
func (CertificateValidationMapOutput) MapIndex ¶
func (o CertificateValidationMapOutput) MapIndex(k pulumi.StringInput) CertificateValidationOutput
func (CertificateValidationMapOutput) ToCertificateValidationMapOutput ¶
func (o CertificateValidationMapOutput) ToCertificateValidationMapOutput() CertificateValidationMapOutput
func (CertificateValidationMapOutput) ToCertificateValidationMapOutputWithContext ¶
func (o CertificateValidationMapOutput) ToCertificateValidationMapOutputWithContext(ctx context.Context) CertificateValidationMapOutput
type CertificateValidationOption ¶
type CertificateValidationOption struct { // Fully qualified domain name (FQDN) in the certificate. DomainName string `pulumi:"domainName"` // Domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the `domainName` value or a superdomain of the `domainName` value. For example, if you request a certificate for `"testing.example.com"`, you can specify `"example.com"` for this value. ValidationDomain string `pulumi:"validationDomain"` }
type CertificateValidationOptionArgs ¶
type CertificateValidationOptionArgs struct { // Fully qualified domain name (FQDN) in the certificate. DomainName pulumi.StringInput `pulumi:"domainName"` // Domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the `domainName` value or a superdomain of the `domainName` value. For example, if you request a certificate for `"testing.example.com"`, you can specify `"example.com"` for this value. ValidationDomain pulumi.StringInput `pulumi:"validationDomain"` }
func (CertificateValidationOptionArgs) ElementType ¶
func (CertificateValidationOptionArgs) ElementType() reflect.Type
func (CertificateValidationOptionArgs) ToCertificateValidationOptionOutput ¶
func (i CertificateValidationOptionArgs) ToCertificateValidationOptionOutput() CertificateValidationOptionOutput
func (CertificateValidationOptionArgs) ToCertificateValidationOptionOutputWithContext ¶
func (i CertificateValidationOptionArgs) ToCertificateValidationOptionOutputWithContext(ctx context.Context) CertificateValidationOptionOutput
type CertificateValidationOptionArray ¶
type CertificateValidationOptionArray []CertificateValidationOptionInput
func (CertificateValidationOptionArray) ElementType ¶
func (CertificateValidationOptionArray) ElementType() reflect.Type
func (CertificateValidationOptionArray) ToCertificateValidationOptionArrayOutput ¶
func (i CertificateValidationOptionArray) ToCertificateValidationOptionArrayOutput() CertificateValidationOptionArrayOutput
func (CertificateValidationOptionArray) ToCertificateValidationOptionArrayOutputWithContext ¶
func (i CertificateValidationOptionArray) ToCertificateValidationOptionArrayOutputWithContext(ctx context.Context) CertificateValidationOptionArrayOutput
type CertificateValidationOptionArrayInput ¶
type CertificateValidationOptionArrayInput interface { pulumi.Input ToCertificateValidationOptionArrayOutput() CertificateValidationOptionArrayOutput ToCertificateValidationOptionArrayOutputWithContext(context.Context) CertificateValidationOptionArrayOutput }
CertificateValidationOptionArrayInput is an input type that accepts CertificateValidationOptionArray and CertificateValidationOptionArrayOutput values. You can construct a concrete instance of `CertificateValidationOptionArrayInput` via:
CertificateValidationOptionArray{ CertificateValidationOptionArgs{...} }
type CertificateValidationOptionArrayOutput ¶
type CertificateValidationOptionArrayOutput struct{ *pulumi.OutputState }
func (CertificateValidationOptionArrayOutput) ElementType ¶
func (CertificateValidationOptionArrayOutput) ElementType() reflect.Type
func (CertificateValidationOptionArrayOutput) ToCertificateValidationOptionArrayOutput ¶
func (o CertificateValidationOptionArrayOutput) ToCertificateValidationOptionArrayOutput() CertificateValidationOptionArrayOutput
func (CertificateValidationOptionArrayOutput) ToCertificateValidationOptionArrayOutputWithContext ¶
func (o CertificateValidationOptionArrayOutput) ToCertificateValidationOptionArrayOutputWithContext(ctx context.Context) CertificateValidationOptionArrayOutput
type CertificateValidationOptionInput ¶
type CertificateValidationOptionInput interface { pulumi.Input ToCertificateValidationOptionOutput() CertificateValidationOptionOutput ToCertificateValidationOptionOutputWithContext(context.Context) CertificateValidationOptionOutput }
CertificateValidationOptionInput is an input type that accepts CertificateValidationOptionArgs and CertificateValidationOptionOutput values. You can construct a concrete instance of `CertificateValidationOptionInput` via:
CertificateValidationOptionArgs{...}
type CertificateValidationOptionOutput ¶
type CertificateValidationOptionOutput struct{ *pulumi.OutputState }
func (CertificateValidationOptionOutput) DomainName ¶
func (o CertificateValidationOptionOutput) DomainName() pulumi.StringOutput
Fully qualified domain name (FQDN) in the certificate.
func (CertificateValidationOptionOutput) ElementType ¶
func (CertificateValidationOptionOutput) ElementType() reflect.Type
func (CertificateValidationOptionOutput) ToCertificateValidationOptionOutput ¶
func (o CertificateValidationOptionOutput) ToCertificateValidationOptionOutput() CertificateValidationOptionOutput
func (CertificateValidationOptionOutput) ToCertificateValidationOptionOutputWithContext ¶
func (o CertificateValidationOptionOutput) ToCertificateValidationOptionOutputWithContext(ctx context.Context) CertificateValidationOptionOutput
func (CertificateValidationOptionOutput) ValidationDomain ¶
func (o CertificateValidationOptionOutput) ValidationDomain() pulumi.StringOutput
Domain name that you want ACM to use to send you validation emails. This domain name is the suffix of the email addresses that you want ACM to use. This must be the same as the `domainName` value or a superdomain of the `domainName` value. For example, if you request a certificate for `"testing.example.com"`, you can specify `"example.com"` for this value.
type CertificateValidationOutput ¶
type CertificateValidationOutput struct{ *pulumi.OutputState }
func (CertificateValidationOutput) CertificateArn ¶
func (o CertificateValidationOutput) CertificateArn() pulumi.StringOutput
ARN of the certificate that is being validated.
func (CertificateValidationOutput) ElementType ¶
func (CertificateValidationOutput) ElementType() reflect.Type
func (CertificateValidationOutput) ToCertificateValidationOutput ¶
func (o CertificateValidationOutput) ToCertificateValidationOutput() CertificateValidationOutput
func (CertificateValidationOutput) ToCertificateValidationOutputWithContext ¶
func (o CertificateValidationOutput) ToCertificateValidationOutputWithContext(ctx context.Context) CertificateValidationOutput
func (CertificateValidationOutput) ValidationRecordFqdns ¶
func (o CertificateValidationOutput) ValidationRecordFqdns() pulumi.StringArrayOutput
List of FQDNs that implement the validation. Only valid for DNS validation method ACM certificates. If this is set, the resource can implement additional sanity checks and has an explicit dependency on the resource that is implementing the validation
type CertificateValidationState ¶
type CertificateValidationState struct { // ARN of the certificate that is being validated. CertificateArn pulumi.StringPtrInput // List of FQDNs that implement the validation. Only valid for DNS validation method ACM certificates. If this is set, the resource can implement additional sanity checks and has an explicit dependency on the resource that is implementing the validation ValidationRecordFqdns pulumi.StringArrayInput }
func (CertificateValidationState) ElementType ¶
func (CertificateValidationState) ElementType() reflect.Type
type LookupCertificateArgs ¶
type LookupCertificateArgs struct { // Domain of the certificate to look up. If set and no certificate is found with this name, an error will be returned. Domain *string `pulumi:"domain"` // List of key algorithms to filter certificates. By default, ACM does not return all certificate types when searching. See the [ACM API Reference](https://docs.aws.amazon.com/acm/latest/APIReference/API_CertificateDetail.html#ACM-Type-CertificateDetail-KeyAlgorithm) for supported key algorithms. KeyTypes []string `pulumi:"keyTypes"` // If set to true, it sorts the certificates matched by previous criteria by the NotBefore field, returning only the most recent one. If set to false, it returns an error if more than one certificate is found. Defaults to false. MostRecent *bool `pulumi:"mostRecent"` // List of statuses on which to filter the returned list. Valid values are `PENDING_VALIDATION`, `ISSUED`, // `INACTIVE`, `EXPIRED`, `VALIDATION_TIMED_OUT`, `REVOKED` and `FAILED`. If no value is specified, only certificates in the `ISSUED` state // are returned. Statuses []string `pulumi:"statuses"` // A mapping of tags, each pair of which must exactly match a pair on the desired certificates. Tags map[string]string `pulumi:"tags"` // List of types on which to filter the returned list. Valid values are `AMAZON_ISSUED`, `PRIVATE`, and `IMPORTED`. Types []string `pulumi:"types"` }
A collection of arguments for invoking getCertificate.
type LookupCertificateOutputArgs ¶
type LookupCertificateOutputArgs struct { // Domain of the certificate to look up. If set and no certificate is found with this name, an error will be returned. Domain pulumi.StringPtrInput `pulumi:"domain"` // List of key algorithms to filter certificates. By default, ACM does not return all certificate types when searching. See the [ACM API Reference](https://docs.aws.amazon.com/acm/latest/APIReference/API_CertificateDetail.html#ACM-Type-CertificateDetail-KeyAlgorithm) for supported key algorithms. KeyTypes pulumi.StringArrayInput `pulumi:"keyTypes"` // If set to true, it sorts the certificates matched by previous criteria by the NotBefore field, returning only the most recent one. If set to false, it returns an error if more than one certificate is found. Defaults to false. MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"` // List of statuses on which to filter the returned list. Valid values are `PENDING_VALIDATION`, `ISSUED`, // `INACTIVE`, `EXPIRED`, `VALIDATION_TIMED_OUT`, `REVOKED` and `FAILED`. If no value is specified, only certificates in the `ISSUED` state // are returned. Statuses pulumi.StringArrayInput `pulumi:"statuses"` // A mapping of tags, each pair of which must exactly match a pair on the desired certificates. Tags pulumi.StringMapInput `pulumi:"tags"` // List of types on which to filter the returned list. Valid values are `AMAZON_ISSUED`, `PRIVATE`, and `IMPORTED`. Types pulumi.StringArrayInput `pulumi:"types"` }
A collection of arguments for invoking getCertificate.
func (LookupCertificateOutputArgs) ElementType ¶
func (LookupCertificateOutputArgs) ElementType() reflect.Type
type LookupCertificateResult ¶
type LookupCertificateResult struct { // ARN of the found certificate, suitable for referencing in other resources that support ACM certificates. Arn string `pulumi:"arn"` // ACM-issued certificate. Certificate string `pulumi:"certificate"` // Certificates forming the requested ACM-issued certificate's chain of trust. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs. CertificateChain string `pulumi:"certificateChain"` Domain string `pulumi:"domain"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` KeyTypes []string `pulumi:"keyTypes"` MostRecent *bool `pulumi:"mostRecent"` // Status of the found certificate. Status string `pulumi:"status"` Statuses []string `pulumi:"statuses"` // Mapping of tags for the resource. Tags map[string]string `pulumi:"tags"` Types []string `pulumi:"types"` }
A collection of values returned by getCertificate.
func LookupCertificate ¶
func LookupCertificate(ctx *pulumi.Context, args *LookupCertificateArgs, opts ...pulumi.InvokeOption) (*LookupCertificateResult, error)
Use this data source to get the ARN of a certificate in AWS Certificate Manager (ACM). You can reference the certificate by domain or tags without having to hard code the ARNs as input.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/acm" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { // Find a certificate that is issued _, err := acm.LookupCertificate(ctx, &acm.LookupCertificateArgs{ Domain: pulumi.StringRef("tf.example.com"), Statuses: []string{ "ISSUED", }, }, nil) if err != nil { return err } // Find a certificate issued by (not imported into) ACM _, err = acm.LookupCertificate(ctx, &acm.LookupCertificateArgs{ Domain: pulumi.StringRef("tf.example.com"), Types: []string{ "AMAZON_ISSUED", }, MostRecent: pulumi.BoolRef(true), }, nil) if err != nil { return err } // Find a RSA 4096 bit certificate _, err = acm.LookupCertificate(ctx, &acm.LookupCertificateArgs{ Domain: pulumi.StringRef("tf.example.com"), KeyTypes: []string{ "RSA_4096", }, }, nil) if err != nil { return err } return nil }) }
```
type LookupCertificateResultOutput ¶
type LookupCertificateResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getCertificate.
func LookupCertificateOutput ¶
func LookupCertificateOutput(ctx *pulumi.Context, args LookupCertificateOutputArgs, opts ...pulumi.InvokeOption) LookupCertificateResultOutput
func (LookupCertificateResultOutput) Arn ¶
func (o LookupCertificateResultOutput) Arn() pulumi.StringOutput
ARN of the found certificate, suitable for referencing in other resources that support ACM certificates.
func (LookupCertificateResultOutput) Certificate ¶
func (o LookupCertificateResultOutput) Certificate() pulumi.StringOutput
ACM-issued certificate.
func (LookupCertificateResultOutput) CertificateChain ¶
func (o LookupCertificateResultOutput) CertificateChain() pulumi.StringOutput
Certificates forming the requested ACM-issued certificate's chain of trust. The chain consists of the certificate of the issuing CA and the intermediate certificates of any other subordinate CAs.
func (LookupCertificateResultOutput) Domain ¶
func (o LookupCertificateResultOutput) Domain() pulumi.StringOutput
func (LookupCertificateResultOutput) ElementType ¶
func (LookupCertificateResultOutput) ElementType() reflect.Type
func (LookupCertificateResultOutput) Id ¶
func (o LookupCertificateResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupCertificateResultOutput) KeyTypes ¶
func (o LookupCertificateResultOutput) KeyTypes() pulumi.StringArrayOutput
func (LookupCertificateResultOutput) MostRecent ¶
func (o LookupCertificateResultOutput) MostRecent() pulumi.BoolPtrOutput
func (LookupCertificateResultOutput) Status ¶
func (o LookupCertificateResultOutput) Status() pulumi.StringOutput
Status of the found certificate.
func (LookupCertificateResultOutput) Statuses ¶
func (o LookupCertificateResultOutput) Statuses() pulumi.StringArrayOutput
func (LookupCertificateResultOutput) Tags ¶
func (o LookupCertificateResultOutput) Tags() pulumi.StringMapOutput
Mapping of tags for the resource.
func (LookupCertificateResultOutput) ToLookupCertificateResultOutput ¶
func (o LookupCertificateResultOutput) ToLookupCertificateResultOutput() LookupCertificateResultOutput
func (LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContext ¶
func (o LookupCertificateResultOutput) ToLookupCertificateResultOutputWithContext(ctx context.Context) LookupCertificateResultOutput
func (LookupCertificateResultOutput) Types ¶
func (o LookupCertificateResultOutput) Types() pulumi.StringArrayOutput