Show / Hide Table of Contents

Class GetCertificate

Inheritance
System.Object
GetCertificate
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws.Acm
Assembly: Pulumi.Aws.dll
Syntax
public static class GetCertificate

Methods

View Source

InvokeAsync(GetCertificateArgs, InvokeOptions)

Use this data source to get the ARN of a certificate in AWS Certificate Manager (ACM), you can reference it by domain without having to hard code the ARNs as input.

{{% examples %}}

Example Usage

{{% example %}}

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
public MyStack()
{
    var example = Output.Create(Aws.Acm.GetCertificate.InvokeAsync(new Aws.Acm.GetCertificateArgs
    {
        Domain = "tf.example.com",
        KeyTypes = 
        {
            "RSA_4096",
        },
    }));
}

}

{{% /example %}} {{% /examples %}}

Declaration
public static Task<GetCertificateResult> InvokeAsync(GetCertificateArgs args, InvokeOptions options = null)
Parameters
Type Name Description
GetCertificateArgs args
InvokeOptions options
Returns
Type Description
System.Threading.Tasks.Task<GetCertificateResult>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.