@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
91 lines (90 loc) • 3.04 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Lists the paths to the specified product. A path is how the user has access to a specified product, and is necessary when provisioning a product. A path also determines the constraints put on the product.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.servicecatalog.getLaunchPaths({
* productId: "prod-yakog5pdriver",
* });
* ```
*/
export declare function getLaunchPaths(args: GetLaunchPathsArgs, opts?: pulumi.InvokeOptions): Promise<GetLaunchPathsResult>;
/**
* A collection of arguments for invoking getLaunchPaths.
*/
export interface GetLaunchPathsArgs {
/**
* Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
*/
acceptLanguage?: string;
/**
* Product identifier.
*
* The following arguments are optional:
*/
productId: string;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: string;
}
/**
* A collection of values returned by getLaunchPaths.
*/
export interface GetLaunchPathsResult {
readonly acceptLanguage?: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
readonly productId: string;
readonly region: string;
/**
* Block with information about the launch path. See details below.
*/
readonly summaries: outputs.servicecatalog.GetLaunchPathsSummary[];
}
/**
* Lists the paths to the specified product. A path is how the user has access to a specified product, and is necessary when provisioning a product. A path also determines the constraints put on the product.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.servicecatalog.getLaunchPaths({
* productId: "prod-yakog5pdriver",
* });
* ```
*/
export declare function getLaunchPathsOutput(args: GetLaunchPathsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetLaunchPathsResult>;
/**
* A collection of arguments for invoking getLaunchPaths.
*/
export interface GetLaunchPathsOutputArgs {
/**
* Language code. Valid values: `en` (English), `jp` (Japanese), `zh` (Chinese). Default value is `en`.
*/
acceptLanguage?: pulumi.Input<string>;
/**
* Product identifier.
*
* The following arguments are optional:
*/
productId: pulumi.Input<string>;
/**
* Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
*/
region?: pulumi.Input<string>;
}