UNPKG

@pulumi/aws

Version:

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

58 lines 1.96 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.getDistributionTenantOutput = exports.getDistributionTenant = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to retrieve information about a CloudFront distribution tenant. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.cloudfront.getDistributionTenant({ * id: "EDFDVBD632BHDS5", * }); * ``` */ function getDistributionTenant(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:cloudfront/getDistributionTenant:getDistributionTenant", { "arn": args.arn, "domain": args.domain, "id": args.id, "name": args.name, }, opts); } exports.getDistributionTenant = getDistributionTenant; /** * Use this data source to retrieve information about a CloudFront distribution tenant. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const test = aws.cloudfront.getDistributionTenant({ * id: "EDFDVBD632BHDS5", * }); * ``` */ function getDistributionTenantOutput(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:cloudfront/getDistributionTenant:getDistributionTenant", { "arn": args.arn, "domain": args.domain, "id": args.id, "name": args.name, }, opts); } exports.getDistributionTenantOutput = getDistributionTenantOutput; //# sourceMappingURL=getDistributionTenant.js.map