UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

47 lines (46 loc) 1.53 kB
import * as pulumi from "@pulumi/pulumi"; import * as enums from "../types/enums"; /** * Use the AWS::IoT::Certificate resource to declare an AWS IoT X.509 certificate. */ export declare function getCertificate(args: GetCertificateArgs, opts?: pulumi.InvokeOptions): Promise<GetCertificateResult>; export interface GetCertificateArgs { /** * The certificate ID. */ id: string; } export interface GetCertificateResult { /** * Returns the Amazon Resource Name (ARN) for the certificate. For example: * * `{ "Fn::GetAtt": ["MyCertificate", "Arn"] }` * * A value similar to the following is returned: * * `arn:aws:iot:ap-southeast-2:123456789012:cert/a1234567b89c012d3e4fg567hij8k9l01mno1p23q45678901rs234567890t1u2` */ readonly arn?: string; /** * The certificate ID. */ readonly id?: string; /** * The status of the certificate. * * Valid values are ACTIVE, INACTIVE, REVOKED, PENDING_TRANSFER, and PENDING_ACTIVATION. * * The status value REGISTER_INACTIVE is deprecated and should not be used. */ readonly status?: enums.iot.CertificateStatus; } /** * Use the AWS::IoT::Certificate resource to declare an AWS IoT X.509 certificate. */ export declare function getCertificateOutput(args: GetCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCertificateResult>; export interface GetCertificateOutputArgs { /** * The certificate ID. */ id: pulumi.Input<string>; }