AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getDatabase

The AWS::Timestream::Database resource creates a Timestream database.

Using getDatabase

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDatabase(args: GetDatabaseArgs, opts?: InvokeOptions): Promise<GetDatabaseResult>
function getDatabaseOutput(args: GetDatabaseOutputArgs, opts?: InvokeOptions): Output<GetDatabaseResult>
def get_database(database_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetDatabaseResult
def get_database_output(database_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetDatabaseResult]
func LookupDatabase(ctx *Context, args *LookupDatabaseArgs, opts ...InvokeOption) (*LookupDatabaseResult, error)
func LookupDatabaseOutput(ctx *Context, args *LookupDatabaseOutputArgs, opts ...InvokeOption) LookupDatabaseResultOutput

> Note: This function is named LookupDatabase in the Go SDK.

public static class GetDatabase 
{
    public static Task<GetDatabaseResult> InvokeAsync(GetDatabaseArgs args, InvokeOptions? opts = null)
    public static Output<GetDatabaseResult> Invoke(GetDatabaseInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDatabaseResult> getDatabase(GetDatabaseArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:timestream:getDatabase
  Arguments:
    # Arguments dictionary

The following arguments are supported:

DatabaseName string

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

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

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

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.

database_name str

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

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.

getDatabase Result

The following output properties are available:

Arn string
KmsKeyId 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.

Tags List<Pulumi.AwsNative.Timestream.Outputs.DatabaseTag>

An array of key-value pairs to apply to this resource.

Arn string
KmsKeyId 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.

Tags []DatabaseTag

An array of key-value pairs to apply to this resource.

arn String
kmsKeyId 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.

tags List<DatabaseTag>

An array of key-value pairs to apply to this resource.

arn string
kmsKeyId 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.

tags DatabaseTag[]

An array of key-value pairs to apply to this resource.

arn str
kms_key_id str

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.

tags Sequence[DatabaseTag]

An array of key-value pairs to apply to this resource.

arn String
kmsKeyId 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.

tags List<Property Map>

An array of key-value pairs to apply to this resource.

Supporting Types

DatabaseTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0