We recommend new projects start with resources from the AWS provider.
aws-native.cassandra.getKeyspace
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::Cassandra::Keyspace
Using getKeyspace
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 getKeyspace(args: GetKeyspaceArgs, opts?: InvokeOptions): Promise<GetKeyspaceResult>
function getKeyspaceOutput(args: GetKeyspaceOutputArgs, opts?: InvokeOptions): Output<GetKeyspaceResult>def get_keyspace(keyspace_name: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetKeyspaceResult
def get_keyspace_output(keyspace_name: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetKeyspaceResult]func LookupKeyspace(ctx *Context, args *LookupKeyspaceArgs, opts ...InvokeOption) (*LookupKeyspaceResult, error)
func LookupKeyspaceOutput(ctx *Context, args *LookupKeyspaceOutputArgs, opts ...InvokeOption) LookupKeyspaceResultOutput> Note: This function is named LookupKeyspace in the Go SDK.
public static class GetKeyspace 
{
    public static Task<GetKeyspaceResult> InvokeAsync(GetKeyspaceArgs args, InvokeOptions? opts = null)
    public static Output<GetKeyspaceResult> Invoke(GetKeyspaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetKeyspaceResult> getKeyspace(GetKeyspaceArgs args, InvokeOptions options)
public static Output<GetKeyspaceResult> getKeyspace(GetKeyspaceArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:cassandra:getKeyspace
  arguments:
    # arguments dictionaryThe following arguments are supported:
- KeyspaceName string
- Name for Cassandra keyspace
- KeyspaceName string
- Name for Cassandra keyspace
- keyspaceName String
- Name for Cassandra keyspace
- keyspaceName string
- Name for Cassandra keyspace
- keyspace_name str
- Name for Cassandra keyspace
- keyspaceName String
- Name for Cassandra keyspace
getKeyspace Result
The following output properties are available:
- ClientSide boolTimestamps Enabled 
- 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.
- ReplicationSpecification Pulumi.Aws Native. Cassandra. Outputs. Keyspace Replication Specification 
- Specifies the - ReplicationStrategyof a keyspace. The options are:- SINGLE_REGIONfor a single Region keyspace (optional) or
- MULTI_REGIONfor a multi-Region keyspace
 - If no - ReplicationStrategyis provided, the default is- SINGLE_REGION. If you choose- MULTI_REGION, you must also provide a- RegionListwith the AWS Regions that the keyspace is replicated in.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- ClientSide boolTimestamps Enabled 
- 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.
- ReplicationSpecification KeyspaceReplication Specification 
- Specifies the - ReplicationStrategyof a keyspace. The options are:- SINGLE_REGIONfor a single Region keyspace (optional) or
- MULTI_REGIONfor a multi-Region keyspace
 - If no - ReplicationStrategyis provided, the default is- SINGLE_REGION. If you choose- MULTI_REGION, you must also provide a- RegionListwith the AWS Regions that the keyspace is replicated in.
- Tag
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- clientSide BooleanTimestamps Enabled 
- 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.
- replicationSpecification KeyspaceReplication Specification 
- Specifies the - ReplicationStrategyof a keyspace. The options are:- SINGLE_REGIONfor a single Region keyspace (optional) or
- MULTI_REGIONfor a multi-Region keyspace
 - If no - ReplicationStrategyis provided, the default is- SINGLE_REGION. If you choose- MULTI_REGION, you must also provide a- RegionListwith the AWS Regions that the keyspace is replicated in.
- List<Tag>
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- clientSide booleanTimestamps Enabled 
- 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.
- replicationSpecification KeyspaceReplication Specification 
- Specifies the - ReplicationStrategyof a keyspace. The options are:- SINGLE_REGIONfor a single Region keyspace (optional) or
- MULTI_REGIONfor a multi-Region keyspace
 - If no - ReplicationStrategyis provided, the default is- SINGLE_REGION. If you choose- MULTI_REGION, you must also provide a- RegionListwith the AWS Regions that the keyspace is replicated in.
- Tag[]
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- client_side_ booltimestamps_ enabled 
- 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.
- replication_specification KeyspaceReplication Specification 
- Specifies the - ReplicationStrategyof a keyspace. The options are:- SINGLE_REGIONfor a single Region keyspace (optional) or
- MULTI_REGIONfor a multi-Region keyspace
 - If no - ReplicationStrategyis provided, the default is- SINGLE_REGION. If you choose- MULTI_REGION, you must also provide a- RegionListwith the AWS Regions that the keyspace is replicated in.
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
- clientSide BooleanTimestamps Enabled 
- 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.
- replicationSpecification Property Map
- Specifies the - ReplicationStrategyof a keyspace. The options are:- SINGLE_REGIONfor a single Region keyspace (optional) or
- MULTI_REGIONfor a multi-Region keyspace
 - If no - ReplicationStrategyis provided, the default is- SINGLE_REGION. If you choose- MULTI_REGION, you must also provide a- RegionListwith the AWS Regions that the keyspace is replicated in.
- List<Property Map>
- An array of key-value pairs to apply to this resource. - For more information, see Tag . 
Supporting Types
KeyspaceRegionListItem   
KeyspaceReplicationSpecification  
- RegionList List<Pulumi.Aws Native. Cassandra. Keyspace Region List Item> 
- Specifies the AWS Regions that the keyspace is replicated in. You must specify at least two and up to six Regions, including the Region that the keyspace is being created in.
- ReplicationStrategy Pulumi.Aws Native. Cassandra. Keyspace Replication Specification Replication Strategy 
- The options are: - SINGLE_REGION(optional)
- MULTI_REGION
 - If no value is specified, the default is - SINGLE_REGION. If- MULTI_REGIONis specified,- RegionListis required.
- RegionList []KeyspaceRegion List Item 
- Specifies the AWS Regions that the keyspace is replicated in. You must specify at least two and up to six Regions, including the Region that the keyspace is being created in.
- ReplicationStrategy KeyspaceReplication Specification Replication Strategy 
- The options are: - SINGLE_REGION(optional)
- MULTI_REGION
 - If no value is specified, the default is - SINGLE_REGION. If- MULTI_REGIONis specified,- RegionListis required.
- regionList List<KeyspaceRegion List Item> 
- Specifies the AWS Regions that the keyspace is replicated in. You must specify at least two and up to six Regions, including the Region that the keyspace is being created in.
- replicationStrategy KeyspaceReplication Specification Replication Strategy 
- The options are: - SINGLE_REGION(optional)
- MULTI_REGION
 - If no value is specified, the default is - SINGLE_REGION. If- MULTI_REGIONis specified,- RegionListis required.
- regionList KeyspaceRegion List Item[] 
- Specifies the AWS Regions that the keyspace is replicated in. You must specify at least two and up to six Regions, including the Region that the keyspace is being created in.
- replicationStrategy KeyspaceReplication Specification Replication Strategy 
- The options are: - SINGLE_REGION(optional)
- MULTI_REGION
 - If no value is specified, the default is - SINGLE_REGION. If- MULTI_REGIONis specified,- RegionListis required.
- region_list Sequence[KeyspaceRegion List Item] 
- Specifies the AWS Regions that the keyspace is replicated in. You must specify at least two and up to six Regions, including the Region that the keyspace is being created in.
- replication_strategy KeyspaceReplication Specification Replication Strategy 
- The options are: - SINGLE_REGION(optional)
- MULTI_REGION
 - If no value is specified, the default is - SINGLE_REGION. If- MULTI_REGIONis specified,- RegionListis required.
- regionList List<"ap-northeast-1" | "ap-northeast-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ca-central-1" | "eu-central-1" | "eu-north-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2">
- Specifies the AWS Regions that the keyspace is replicated in. You must specify at least two and up to six Regions, including the Region that the keyspace is being created in.
- replicationStrategy "SINGLE_REGION" | "MULTI_REGION"
- The options are: - SINGLE_REGION(optional)
- MULTI_REGION
 - If no value is specified, the default is - SINGLE_REGION. If- MULTI_REGIONis specified,- RegionListis required.
KeyspaceReplicationSpecificationReplicationStrategy    
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.