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)

44 lines (43 loc) 1.9 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Resource schema for AWS::Cassandra::Keyspace */ export declare function getKeyspace(args: GetKeyspaceArgs, opts?: pulumi.InvokeOptions): Promise<GetKeyspaceResult>; export interface GetKeyspaceArgs { /** * Name for Cassandra keyspace */ keyspaceName: string; } export interface GetKeyspaceResult { /** * Indicates whether client-side timestamps are enabled (true) or disabled (false) for all tables in the keyspace. To add a Region to a single-Region keyspace with at least one table, the value must be set to true. After you enabled client-side timestamps for a table, you can’t disable it again. */ readonly clientSideTimestampsEnabled?: boolean; /** * Specifies the `ReplicationStrategy` of a keyspace. The options are: * * - `SINGLE_REGION` for a single Region keyspace (optional) or * - `MULTI_REGION` for a multi-Region keyspace * * If no `ReplicationStrategy` is provided, the default is `SINGLE_REGION` . If you choose `MULTI_REGION` , you must also provide a `RegionList` with the AWS Regions that the keyspace is replicated in. */ readonly replicationSpecification?: outputs.cassandra.KeyspaceReplicationSpecification; /** * An array of key-value pairs to apply to this resource. * * For more information, see [Tag](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html) . */ readonly tags?: outputs.Tag[]; } /** * Resource schema for AWS::Cassandra::Keyspace */ export declare function getKeyspaceOutput(args: GetKeyspaceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetKeyspaceResult>; export interface GetKeyspaceOutputArgs { /** * Name for Cassandra keyspace */ keyspaceName: pulumi.Input<string>; }