@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
110 lines (109 loc) • 2.82 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Data source for managing an AWS DataZone Domain.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.datazone.getDomain({
* name: "example_domain",
* });
* ```
*/
export declare function getDomain(args?: GetDomainArgs, opts?: pulumi.InvokeOptions): Promise<GetDomainResult>;
/**
* A collection of arguments for invoking getDomain.
*/
export interface GetDomainArgs {
/**
* ID of the Domain. One of `name` or `id` is required
*/
id?: string;
/**
* Name of the Domain. One of `name` or `id` is required.
*/
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 getDomain.
*/
export interface GetDomainResult {
/**
* ARN of the Domain.
*/
readonly arn: string;
/**
* The date and time the Domain was created.
*/
readonly createdAt: string;
/**
* Description of the Domain.
*/
readonly description: string;
/**
* Version of the Domain.
*/
readonly domainVersion: string;
readonly id: string;
/**
* The date and time the Domain was last updated.
*/
readonly lastUpdatedAt: string;
/**
* The AWS account ID that owns the Domain.
*/
readonly managedAccountId: string;
readonly name: string;
/**
* URL of the Domain.
*/
readonly portalUrl: string;
readonly region: string;
/**
* Status of the Domain.
*/
readonly status: string;
}
/**
* Data source for managing an AWS DataZone Domain.
*
* ## Example Usage
*
* ### Basic Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const example = aws.datazone.getDomain({
* name: "example_domain",
* });
* ```
*/
export declare function getDomainOutput(args?: GetDomainOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDomainResult>;
/**
* A collection of arguments for invoking getDomain.
*/
export interface GetDomainOutputArgs {
/**
* ID of the Domain. One of `name` or `id` is required
*/
id?: pulumi.Input<string>;
/**
* Name of the Domain. One of `name` or `id` is required.
*/
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>;
}