UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

37 lines (36 loc) 1.43 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * The AWS::Timestream::Database resource creates a Timestream database. */ export declare function getDatabase(args: GetDatabaseArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseResult>; export interface GetDatabaseArgs { /** * The name for the database. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the database name. */ databaseName: string; } export interface GetDatabaseResult { /** * The `arn` of the database. */ readonly arn?: string; /** * The KMS key for the database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account. */ readonly kmsKeyId?: string; /** * An array of key-value pairs to apply to this resource. */ readonly tags?: outputs.Tag[]; } /** * The AWS::Timestream::Database resource creates a Timestream database. */ export declare function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseResult>; export interface GetDatabaseOutputArgs { /** * The name for the database. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the database name. */ databaseName: pulumi.Input<string>; }