UNPKG

@pulumi/aws

Version:

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

102 lines (101 loc) 2.43 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides details about an existing Network Manager site. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.networkmanager.getSite({ * globalNetworkId: globalNetworkId, * siteId: siteId, * }); * ``` */ export declare function getSite(args: GetSiteArgs, opts?: pulumi.InvokeOptions): Promise<GetSiteResult>; /** * A collection of arguments for invoking getSite. */ export interface GetSiteArgs { /** * ID of the Global Network of the site to retrieve. */ globalNetworkId: string; /** * ID of the specific site to retrieve. */ siteId: string; /** * Key-value tags for the Site. */ tags?: { [key: string]: string; }; } /** * A collection of values returned by getSite. */ export interface GetSiteResult { /** * ARN of the site. */ readonly arn: string; /** * Description of the site. */ readonly description: string; readonly globalNetworkId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Site location as documented below. */ readonly locations: outputs.networkmanager.GetSiteLocation[]; readonly siteId: string; /** * Key-value tags for the Site. */ readonly tags: { [key: string]: string; }; } /** * Provides details about an existing Network Manager site. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const example = aws.networkmanager.getSite({ * globalNetworkId: globalNetworkId, * siteId: siteId, * }); * ``` */ export declare function getSiteOutput(args: GetSiteOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSiteResult>; /** * A collection of arguments for invoking getSite. */ export interface GetSiteOutputArgs { /** * ID of the Global Network of the site to retrieve. */ globalNetworkId: pulumi.Input<string>; /** * ID of the specific site to retrieve. */ siteId: pulumi.Input<string>; /** * Key-value tags for the Site. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input<string>; }>; }