UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

54 lines 2.1 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getCertificateAuthorityOutput = exports.getCertificateAuthority = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Get information on a AWS Certificate Manager Private Certificate Authority (ACM PCA Certificate Authority). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.acmpca.getCertificateAuthority({ * arn: "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012", * }); * ``` */ function getCertificateAuthority(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:acmpca/getCertificateAuthority:getCertificateAuthority", { "arn": args.arn, "region": args.region, "tags": args.tags, }, opts); } exports.getCertificateAuthority = getCertificateAuthority; /** * Get information on a AWS Certificate Manager Private Certificate Authority (ACM PCA Certificate Authority). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.acmpca.getCertificateAuthority({ * arn: "arn:aws:acm-pca:us-east-1:123456789012:certificate-authority/12345678-1234-1234-1234-123456789012", * }); * ``` */ function getCertificateAuthorityOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:acmpca/getCertificateAuthority:getCertificateAuthority", { "arn": args.arn, "region": args.region, "tags": args.tags, }, opts); } exports.getCertificateAuthorityOutput = getCertificateAuthorityOutput; //# sourceMappingURL=getCertificateAuthority.js.map