UNPKG

@pulumi/aws

Version:

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

114 lines (113 loc) 3.7 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * 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", * }); * ``` */ export declare function getDistributionTenant(args?: GetDistributionTenantArgs, opts?: pulumi.InvokeOptions): Promise<GetDistributionTenantResult>; /** * A collection of arguments for invoking getDistributionTenant. */ export interface GetDistributionTenantArgs { /** * ARN (Amazon Resource Name) for the distribution tenant. */ arn?: string; /** * An associated domain of the distribution tenant. Exactly one of `id` or `domain` must be specified. */ domain?: string; /** * Identifier for the distribution tenant. For example: `EDFDVBD632BHDS5`. Exactly one of `id` or `domain` must be specified. */ id?: string; name?: string; } /** * A collection of values returned by getDistributionTenant. */ export interface GetDistributionTenantResult { /** * ARN (Amazon Resource Name) for the distribution tenant. */ readonly arn: string; /** * The CloudFront connection group the tenant is associated with. */ readonly connectionGroupId: string; readonly customizations: outputs.cloudfront.GetDistributionTenantCustomization[]; /** * The ID of the CloudFront distribution the tenant is associated with. */ readonly distributionId: string; readonly domain?: string; /** * List of domains for the distribution tenant. */ readonly domains: outputs.cloudfront.GetDistributionTenantDomain[]; /** * Whether the distribution tenant is enabled. */ readonly enabled: boolean; /** * Current version of the distribution tenant's information. For example: * `E2QWRUHAPOMQZL`. */ readonly etag: string; readonly id: string; readonly managedCertificateRequests: outputs.cloudfront.GetDistributionTenantManagedCertificateRequest[]; readonly name: string; readonly parameters: outputs.cloudfront.GetDistributionTenantParameter[]; /** * Current status of the distribution tenant. `Deployed` if the * distribution tenant's information is fully propagated throughout the Amazon * CloudFront system. */ readonly status: string; readonly tags: { [key: string]: string; }; } /** * 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", * }); * ``` */ export declare function getDistributionTenantOutput(args?: GetDistributionTenantOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDistributionTenantResult>; /** * A collection of arguments for invoking getDistributionTenant. */ export interface GetDistributionTenantOutputArgs { /** * ARN (Amazon Resource Name) for the distribution tenant. */ arn?: pulumi.Input<string>; /** * An associated domain of the distribution tenant. Exactly one of `id` or `domain` must be specified. */ domain?: pulumi.Input<string>; /** * Identifier for the distribution tenant. For example: `EDFDVBD632BHDS5`. Exactly one of `id` or `domain` must be specified. */ id?: pulumi.Input<string>; name?: pulumi.Input<string>; }