We recommend new projects start with resources from the AWS provider.
aws-native.cassandra.getTable
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::Cassandra::Table
Using getTable
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 getTable(args: GetTableArgs, opts?: InvokeOptions): Promise<GetTableResult>
function getTableOutput(args: GetTableOutputArgs, opts?: InvokeOptions): Output<GetTableResult>def get_table(keyspace_name: Optional[str] = None,
              table_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetTableResult
def get_table_output(keyspace_name: Optional[pulumi.Input[str]] = None,
              table_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetTableResult]func LookupTable(ctx *Context, args *LookupTableArgs, opts ...InvokeOption) (*LookupTableResult, error)
func LookupTableOutput(ctx *Context, args *LookupTableOutputArgs, opts ...InvokeOption) LookupTableResultOutput> Note: This function is named LookupTable in the Go SDK.
public static class GetTable 
{
    public static Task<GetTableResult> InvokeAsync(GetTableArgs args, InvokeOptions? opts = null)
    public static Output<GetTableResult> Invoke(GetTableInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTableResult> getTable(GetTableArgs args, InvokeOptions options)
public static Output<GetTableResult> getTable(GetTableArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:cassandra:getTable
  arguments:
    # arguments dictionaryThe following arguments are supported:
- KeyspaceName string
- Name for Cassandra keyspace
- TableName string
- Name for Cassandra table
- KeyspaceName string
- Name for Cassandra keyspace
- TableName string
- Name for Cassandra table
- keyspaceName String
- Name for Cassandra keyspace
- tableName String
- Name for Cassandra table
- keyspaceName string
- Name for Cassandra keyspace
- tableName string
- Name for Cassandra table
- keyspace_name str
- Name for Cassandra keyspace
- table_name str
- Name for Cassandra table
- keyspaceName String
- Name for Cassandra keyspace
- tableName String
- Name for Cassandra table
getTable Result
The following output properties are available:
- BillingMode Pulumi.Aws Native. Cassandra. Outputs. Table Billing Mode 
- The billing mode for the table, which determines how you'll be charged for reads and writes: - On-demand mode (default) - You pay based on the actual reads and writes your application performs.
- Provisioned mode - Lets you specify the number of reads and writes per second that you need for your application.
 - If you don't specify a value for this property, then the table will use on-demand mode. 
- DefaultTime intTo Live 
- Default TTL (Time To Live) in seconds, where zero is disabled. If the value is greater than zero, TTL is enabled for the entire table and an expiration timestamp is added to each column.
- EncryptionSpecification Pulumi.Aws Native. Cassandra. Outputs. Table Encryption Specification 
- The encryption at rest options for the table. - AWS owned key (default) - The key is owned by Amazon Keyspaces .
- Customer managed key - The key is stored in your account and is created, owned, and managed by you.
 - If you choose encryption with a customer managed key, you must specify a valid customer managed KMS key with permissions granted to Amazon Keyspaces. - For more information, see Encryption at rest in Amazon Keyspaces in the Amazon Keyspaces Developer Guide . 
- PointIn boolTime Recovery Enabled 
- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- RegularColumns List<Pulumi.Aws Native. Cassandra. Outputs. Table Column> 
- Non-key columns of the table
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- An array of key-value pairs to apply to this resource
- BillingMode TableBilling Mode 
- The billing mode for the table, which determines how you'll be charged for reads and writes: - On-demand mode (default) - You pay based on the actual reads and writes your application performs.
- Provisioned mode - Lets you specify the number of reads and writes per second that you need for your application.
 - If you don't specify a value for this property, then the table will use on-demand mode. 
- DefaultTime intTo Live 
- Default TTL (Time To Live) in seconds, where zero is disabled. If the value is greater than zero, TTL is enabled for the entire table and an expiration timestamp is added to each column.
- EncryptionSpecification TableEncryption Specification 
- The encryption at rest options for the table. - AWS owned key (default) - The key is owned by Amazon Keyspaces .
- Customer managed key - The key is stored in your account and is created, owned, and managed by you.
 - If you choose encryption with a customer managed key, you must specify a valid customer managed KMS key with permissions granted to Amazon Keyspaces. - For more information, see Encryption at rest in Amazon Keyspaces in the Amazon Keyspaces Developer Guide . 
- PointIn boolTime Recovery Enabled 
- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- RegularColumns []TableColumn 
- Non-key columns of the table
- Tag
- An array of key-value pairs to apply to this resource
- billingMode TableBilling Mode 
- The billing mode for the table, which determines how you'll be charged for reads and writes: - On-demand mode (default) - You pay based on the actual reads and writes your application performs.
- Provisioned mode - Lets you specify the number of reads and writes per second that you need for your application.
 - If you don't specify a value for this property, then the table will use on-demand mode. 
- defaultTime IntegerTo Live 
- Default TTL (Time To Live) in seconds, where zero is disabled. If the value is greater than zero, TTL is enabled for the entire table and an expiration timestamp is added to each column.
- encryptionSpecification TableEncryption Specification 
- The encryption at rest options for the table. - AWS owned key (default) - The key is owned by Amazon Keyspaces .
- Customer managed key - The key is stored in your account and is created, owned, and managed by you.
 - If you choose encryption with a customer managed key, you must specify a valid customer managed KMS key with permissions granted to Amazon Keyspaces. - For more information, see Encryption at rest in Amazon Keyspaces in the Amazon Keyspaces Developer Guide . 
- pointIn BooleanTime Recovery Enabled 
- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- regularColumns List<TableColumn> 
- Non-key columns of the table
- List<Tag>
- An array of key-value pairs to apply to this resource
- billingMode TableBilling Mode 
- The billing mode for the table, which determines how you'll be charged for reads and writes: - On-demand mode (default) - You pay based on the actual reads and writes your application performs.
- Provisioned mode - Lets you specify the number of reads and writes per second that you need for your application.
 - If you don't specify a value for this property, then the table will use on-demand mode. 
- defaultTime numberTo Live 
- Default TTL (Time To Live) in seconds, where zero is disabled. If the value is greater than zero, TTL is enabled for the entire table and an expiration timestamp is added to each column.
- encryptionSpecification TableEncryption Specification 
- The encryption at rest options for the table. - AWS owned key (default) - The key is owned by Amazon Keyspaces .
- Customer managed key - The key is stored in your account and is created, owned, and managed by you.
 - If you choose encryption with a customer managed key, you must specify a valid customer managed KMS key with permissions granted to Amazon Keyspaces. - For more information, see Encryption at rest in Amazon Keyspaces in the Amazon Keyspaces Developer Guide . 
- pointIn booleanTime Recovery Enabled 
- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- regularColumns TableColumn[] 
- Non-key columns of the table
- Tag[]
- An array of key-value pairs to apply to this resource
- billing_mode TableBilling Mode 
- The billing mode for the table, which determines how you'll be charged for reads and writes: - On-demand mode (default) - You pay based on the actual reads and writes your application performs.
- Provisioned mode - Lets you specify the number of reads and writes per second that you need for your application.
 - If you don't specify a value for this property, then the table will use on-demand mode. 
- default_time_ intto_ live 
- Default TTL (Time To Live) in seconds, where zero is disabled. If the value is greater than zero, TTL is enabled for the entire table and an expiration timestamp is added to each column.
- encryption_specification TableEncryption Specification 
- The encryption at rest options for the table. - AWS owned key (default) - The key is owned by Amazon Keyspaces .
- Customer managed key - The key is stored in your account and is created, owned, and managed by you.
 - If you choose encryption with a customer managed key, you must specify a valid customer managed KMS key with permissions granted to Amazon Keyspaces. - For more information, see Encryption at rest in Amazon Keyspaces in the Amazon Keyspaces Developer Guide . 
- point_in_ booltime_ recovery_ enabled 
- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- regular_columns Sequence[TableColumn] 
- Non-key columns of the table
- Sequence[root_Tag]
- An array of key-value pairs to apply to this resource
- billingMode Property Map
- The billing mode for the table, which determines how you'll be charged for reads and writes: - On-demand mode (default) - You pay based on the actual reads and writes your application performs.
- Provisioned mode - Lets you specify the number of reads and writes per second that you need for your application.
 - If you don't specify a value for this property, then the table will use on-demand mode. 
- defaultTime NumberTo Live 
- Default TTL (Time To Live) in seconds, where zero is disabled. If the value is greater than zero, TTL is enabled for the entire table and an expiration timestamp is added to each column.
- encryptionSpecification Property Map
- The encryption at rest options for the table. - AWS owned key (default) - The key is owned by Amazon Keyspaces .
- Customer managed key - The key is stored in your account and is created, owned, and managed by you.
 - If you choose encryption with a customer managed key, you must specify a valid customer managed KMS key with permissions granted to Amazon Keyspaces. - For more information, see Encryption at rest in Amazon Keyspaces in the Amazon Keyspaces Developer Guide . 
- pointIn BooleanTime Recovery Enabled 
- Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- regularColumns List<Property Map>
- Non-key columns of the table
- List<Property Map>
- An array of key-value pairs to apply to this resource
Supporting Types
TableBillingMode  
- Mode
Pulumi.Aws Native. Cassandra. Table Mode 
- The billing mode for the table: - On-demand mode - ON_DEMAND
- Provisioned mode - PROVISIONED
 - If you choose - PROVISIONEDmode, then you also need to specify provisioned throughput (read and write capacity) for the table.- Valid values: - ON_DEMAND|- PROVISIONED
- On-demand mode - 
- ProvisionedThroughput Pulumi.Aws Native. Cassandra. Inputs. Table Provisioned Throughput 
- The provisioned read capacity and write capacity for the table. For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .
- Mode
TableMode 
- The billing mode for the table: - On-demand mode - ON_DEMAND
- Provisioned mode - PROVISIONED
 - If you choose - PROVISIONEDmode, then you also need to specify provisioned throughput (read and write capacity) for the table.- Valid values: - ON_DEMAND|- PROVISIONED
- On-demand mode - 
- ProvisionedThroughput TableProvisioned Throughput 
- The provisioned read capacity and write capacity for the table. For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .
- mode
TableMode 
- The billing mode for the table: - On-demand mode - ON_DEMAND
- Provisioned mode - PROVISIONED
 - If you choose - PROVISIONEDmode, then you also need to specify provisioned throughput (read and write capacity) for the table.- Valid values: - ON_DEMAND|- PROVISIONED
- On-demand mode - 
- provisionedThroughput TableProvisioned Throughput 
- The provisioned read capacity and write capacity for the table. For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .
- mode
TableMode 
- The billing mode for the table: - On-demand mode - ON_DEMAND
- Provisioned mode - PROVISIONED
 - If you choose - PROVISIONEDmode, then you also need to specify provisioned throughput (read and write capacity) for the table.- Valid values: - ON_DEMAND|- PROVISIONED
- On-demand mode - 
- provisionedThroughput TableProvisioned Throughput 
- The provisioned read capacity and write capacity for the table. For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .
- mode
TableMode 
- The billing mode for the table: - On-demand mode - ON_DEMAND
- Provisioned mode - PROVISIONED
 - If you choose - PROVISIONEDmode, then you also need to specify provisioned throughput (read and write capacity) for the table.- Valid values: - ON_DEMAND|- PROVISIONED
- On-demand mode - 
- provisioned_throughput TableProvisioned Throughput 
- The provisioned read capacity and write capacity for the table. For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .
- mode "PROVISIONED" | "ON_DEMAND"
- The billing mode for the table: - On-demand mode - ON_DEMAND
- Provisioned mode - PROVISIONED
 - If you choose - PROVISIONEDmode, then you also need to specify provisioned throughput (read and write capacity) for the table.- Valid values: - ON_DEMAND|- PROVISIONED
- On-demand mode - 
- provisionedThroughput Property Map
- The provisioned read capacity and write capacity for the table. For more information, see Provisioned throughput capacity mode in the Amazon Keyspaces Developer Guide .
TableColumn 
- ColumnName string
- The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- ColumnType string
- The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
- ColumnName string
- The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- ColumnType string
- The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
- columnName String
- The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- columnType String
- The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
- columnName string
- The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- columnType string
- The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
- column_name str
- The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- column_type str
- The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
- columnName String
- The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- columnType String
- The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
TableEncryptionSpecification  
- EncryptionType Pulumi.Aws Native. Cassandra. Table Encryption Type 
- The encryption at rest options for the table. - AWS owned key (default) - AWS_OWNED_KMS_KEY
- Customer managed key - CUSTOMER_MANAGED_KMS_KEY
 - If you choose - CUSTOMER_MANAGED_KMS_KEY, a- kms_key_identifierin the format of a key ARN is required.- Valid values: - CUSTOMER_MANAGED_KMS_KEY|- AWS_OWNED_KMS_KEY.
- AWS owned key (default) - 
- KmsKey stringIdentifier 
- Requires a kms_key_identifierin the format of a key ARN.
- EncryptionType TableEncryption Type 
- The encryption at rest options for the table. - AWS owned key (default) - AWS_OWNED_KMS_KEY
- Customer managed key - CUSTOMER_MANAGED_KMS_KEY
 - If you choose - CUSTOMER_MANAGED_KMS_KEY, a- kms_key_identifierin the format of a key ARN is required.- Valid values: - CUSTOMER_MANAGED_KMS_KEY|- AWS_OWNED_KMS_KEY.
- AWS owned key (default) - 
- KmsKey stringIdentifier 
- Requires a kms_key_identifierin the format of a key ARN.
- encryptionType TableEncryption Type 
- The encryption at rest options for the table. - AWS owned key (default) - AWS_OWNED_KMS_KEY
- Customer managed key - CUSTOMER_MANAGED_KMS_KEY
 - If you choose - CUSTOMER_MANAGED_KMS_KEY, a- kms_key_identifierin the format of a key ARN is required.- Valid values: - CUSTOMER_MANAGED_KMS_KEY|- AWS_OWNED_KMS_KEY.
- AWS owned key (default) - 
- kmsKey StringIdentifier 
- Requires a kms_key_identifierin the format of a key ARN.
- encryptionType TableEncryption Type 
- The encryption at rest options for the table. - AWS owned key (default) - AWS_OWNED_KMS_KEY
- Customer managed key - CUSTOMER_MANAGED_KMS_KEY
 - If you choose - CUSTOMER_MANAGED_KMS_KEY, a- kms_key_identifierin the format of a key ARN is required.- Valid values: - CUSTOMER_MANAGED_KMS_KEY|- AWS_OWNED_KMS_KEY.
- AWS owned key (default) - 
- kmsKey stringIdentifier 
- Requires a kms_key_identifierin the format of a key ARN.
- encryption_type TableEncryption Type 
- The encryption at rest options for the table. - AWS owned key (default) - AWS_OWNED_KMS_KEY
- Customer managed key - CUSTOMER_MANAGED_KMS_KEY
 - If you choose - CUSTOMER_MANAGED_KMS_KEY, a- kms_key_identifierin the format of a key ARN is required.- Valid values: - CUSTOMER_MANAGED_KMS_KEY|- AWS_OWNED_KMS_KEY.
- AWS owned key (default) - 
- kms_key_ stridentifier 
- Requires a kms_key_identifierin the format of a key ARN.
- encryptionType "AWS_OWNED_KMS_KEY" | "CUSTOMER_MANAGED_KMS_KEY"
- The encryption at rest options for the table. - AWS owned key (default) - AWS_OWNED_KMS_KEY
- Customer managed key - CUSTOMER_MANAGED_KMS_KEY
 - If you choose - CUSTOMER_MANAGED_KMS_KEY, a- kms_key_identifierin the format of a key ARN is required.- Valid values: - CUSTOMER_MANAGED_KMS_KEY|- AWS_OWNED_KMS_KEY.
- AWS owned key (default) - 
- kmsKey StringIdentifier 
- Requires a kms_key_identifierin the format of a key ARN.
TableEncryptionType  
TableMode 
TableProvisionedThroughput  
- ReadCapacity intUnits 
- The amount of read capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- WriteCapacity intUnits 
- The amount of write capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- ReadCapacity intUnits 
- The amount of read capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- WriteCapacity intUnits 
- The amount of write capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- readCapacity IntegerUnits 
- The amount of read capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- writeCapacity IntegerUnits 
- The amount of write capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- readCapacity numberUnits 
- The amount of read capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- writeCapacity numberUnits 
- The amount of write capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- read_capacity_ intunits 
- The amount of read capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- write_capacity_ intunits 
- The amount of write capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- readCapacity NumberUnits 
- The amount of read capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
- writeCapacity NumberUnits 
- The amount of write capacity that's provisioned for the table. For more information, see Read/write capacity mode in the Amazon Keyspaces Developer Guide .
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.