@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
111 lines (110 loc) • 3.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for managing an AWS DataZone Environment Blueprint.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const exampleDomain = new aws.datazone.Domain("example", {
* name: "example_domain",
* domainExecutionRole: domainExecutionRole.arn,
* });
* const example = aws.datazone.getEnvironmentBlueprintOutput({
* domainId: exampleDomain.id,
* name: "DefaultDataLake",
* managed: true,
* });
* ```
*/
export declare function getEnvironmentBlueprint(args: GetEnvironmentBlueprintArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentBlueprintResult>;
/**
* A collection of arguments for invoking getEnvironmentBlueprint.
*/
export interface GetEnvironmentBlueprintArgs {
/**
* ID of the domain.
*/
domainId: string;
/**
* Whether the blueprint is managed by Amazon DataZone.
*/
managed: boolean;
/**
* Name of the blueprint.
*/
name: 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 getEnvironmentBlueprint.
*/
export interface GetEnvironmentBlueprintResult {
/**
* Provider of the blueprint
*/
readonly blueprintProvider: string;
/**
* Description of the blueprint
*/
readonly description: string;
readonly domainId: string;
/**
* ID of the environment blueprint
*/
readonly id: string;
readonly managed: boolean;
readonly name: string;
readonly region: string;
}
/**
* Data source for managing an AWS DataZone Environment Blueprint.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const exampleDomain = new aws.datazone.Domain("example", {
* name: "example_domain",
* domainExecutionRole: domainExecutionRole.arn,
* });
* const example = aws.datazone.getEnvironmentBlueprintOutput({
* domainId: exampleDomain.id,
* name: "DefaultDataLake",
* managed: true,
* });
* ```
*/
export declare function getEnvironmentBlueprintOutput(args: GetEnvironmentBlueprintOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnvironmentBlueprintResult>;
/**
* A collection of arguments for invoking getEnvironmentBlueprint.
*/
export interface GetEnvironmentBlueprintOutputArgs {
/**
* ID of the domain.
*/
domainId: pulumi.Input<string>;
/**
* Whether the blueprint is managed by Amazon DataZone.
*/
managed: pulumi.Input<boolean>;
/**
* Name of the blueprint.
*/
name: 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>;
}