@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
152 lines (151 loc) • 4 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Use this data source to retrieve information about a Service Catalog product.
*
* > **NOTE:** A "provisioning artifact" is also known as a "version," and a "distributor" is also known as a "vendor."
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.servicecatalog.getProduct({
* id: "prod-dnigbtea24ste",
* });
* ```
*/
export declare function getProduct(args: GetProductArgs, opts?: pulumi.InvokeOptions): Promise<GetProductResult>;
/**
* A collection of arguments for invoking getProduct.
*/
export interface GetProductArgs {
/**
* Language code. Valid values are `en` (English), `jp` (Japanese), `zh` (Chinese). The default value is `en`.
*/
acceptLanguage?: string;
/**
* ID of the product.
*
* The following arguments are optional:
*/
id: 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;
/**
* Tags applied to the product.
*/
tags?: {
[key: string]: string;
};
}
/**
* A collection of values returned by getProduct.
*/
export interface GetProductResult {
readonly acceptLanguage?: string;
/**
* ARN of the product.
*/
readonly arn: string;
/**
* Time when the product was created.
*/
readonly createdTime: string;
/**
* Description of the product.
*/
readonly description: string;
/**
* Vendor of the product.
*/
readonly distributor: string;
/**
* Whether the product has a default path.
*/
readonly hasDefaultPath: boolean;
readonly id: string;
/**
* Name of the product.
*/
readonly name: string;
/**
* Owner of the product.
*/
readonly owner: string;
readonly region: string;
/**
* Status of the product.
*/
readonly status: string;
/**
* Field that provides support information about the product.
*/
readonly supportDescription: string;
/**
* Contact email for product support.
*/
readonly supportEmail: string;
/**
* Contact URL for product support.
*/
readonly supportUrl: string;
/**
* Tags applied to the product.
*/
readonly tags: {
[key: string]: string;
};
/**
* Type of product.
*/
readonly type: string;
}
/**
* Use this data source to retrieve information about a Service Catalog product.
*
* > **NOTE:** A "provisioning artifact" is also known as a "version," and a "distributor" is also known as a "vendor."
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.servicecatalog.getProduct({
* id: "prod-dnigbtea24ste",
* });
* ```
*/
export declare function getProductOutput(args: GetProductOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProductResult>;
/**
* A collection of arguments for invoking getProduct.
*/
export interface GetProductOutputArgs {
/**
* Language code. Valid values are `en` (English), `jp` (Japanese), `zh` (Chinese). The default value is `en`.
*/
acceptLanguage?: pulumi.Input<string>;
/**
* ID of the product.
*
* The following arguments are optional:
*/
id: 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>;
/**
* Tags applied to the product.
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
}