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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:cassandra:getTable
arguments:
# arguments dictionary
The following arguments are supported:
- Keyspace
Name string - Name for Cassandra keyspace
- Table
Name string - Name for Cassandra table
- Keyspace
Name string - Name for Cassandra keyspace
- Table
Name string - Name for Cassandra table
- keyspace
Name String - Name for Cassandra keyspace
- table
Name String - Name for Cassandra table
- keyspace
Name string - Name for Cassandra keyspace
- table
Name string - Name for Cassandra table
- keyspace_
name str - Name for Cassandra keyspace
- table_
name str - Name for Cassandra table
- keyspace
Name String - Name for Cassandra keyspace
- table
Name String - Name for Cassandra table
getTable Result
The following output properties are available:
- Billing
Mode 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.
- 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 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 .
- Point
In boolTime Recovery Enabled - Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- Regular
Columns 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
- 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 []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 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.
- 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 BooleanTime Recovery Enabled - Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- regular
Columns List<TableColumn> - Non-key columns of the table
- List<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 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.
- 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 booleanTime Recovery Enabled - Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- regular
Columns 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
- billing
Mode 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.
- default
Time 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.
- encryption
Specification 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 .
- point
In BooleanTime Recovery Enabled - Indicates whether point in time recovery is enabled (true) or disabled (false) on the table
- regular
Columns 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
PROVISIONED
mode, 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 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
Table
Mode The billing mode for the table:
- On-demand mode -
ON_DEMAND
- Provisioned mode -
PROVISIONED
If you choose
PROVISIONED
mode, 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
Table
Mode The billing mode for the table:
- On-demand mode -
ON_DEMAND
- Provisioned mode -
PROVISIONED
If you choose
PROVISIONED
mode, 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
Table
Mode The billing mode for the table:
- On-demand mode -
ON_DEMAND
- Provisioned mode -
PROVISIONED
If you choose
PROVISIONED
mode, 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
Table
Mode The billing mode for the table:
- On-demand mode -
ON_DEMAND
- Provisioned mode -
PROVISIONED
If you choose
PROVISIONED
mode, 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
PROVISIONED
mode, 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 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
- Column
Name string - The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- Column
Type string - The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
- Column
Name string - The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- Column
Type string - The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
- column
Name String - The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- column
Type String - The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
- column
Name string - The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- column
Type 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 .
- column
Name String - The name of the column. For more information, see Identifiers in the Amazon Keyspaces Developer Guide .
- column
Type String - The data type of the column. For more information, see Data types in the Amazon Keyspaces Developer Guide .
TableEncryptionSpecification
- Encryption
Type 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
, akms_key_identifier
in the format of a key ARN is required.Valid values:
CUSTOMER_MANAGED_KMS_KEY
|AWS_OWNED_KMS_KEY
.- AWS owned key (default) -
- Kms
Key stringIdentifier - Requires a
kms_key_identifier
in 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
, akms_key_identifier
in the format of a key ARN is required.Valid values:
CUSTOMER_MANAGED_KMS_KEY
|AWS_OWNED_KMS_KEY
.- AWS owned key (default) -
- Kms
Key stringIdentifier - Requires a
kms_key_identifier
in 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
, akms_key_identifier
in the format of a key ARN is required.Valid values:
CUSTOMER_MANAGED_KMS_KEY
|AWS_OWNED_KMS_KEY
.- AWS owned key (default) -
- kms
Key StringIdentifier - Requires a
kms_key_identifier
in 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
, akms_key_identifier
in the format of a key ARN is required.Valid values:
CUSTOMER_MANAGED_KMS_KEY
|AWS_OWNED_KMS_KEY
.- AWS owned key (default) -
- kms
Key stringIdentifier - Requires a
kms_key_identifier
in 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
, akms_key_identifier
in 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_identifier
in the format of a key ARN.
- encryption
Type "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
, akms_key_identifier
in the format of a key ARN is required.Valid values:
CUSTOMER_MANAGED_KMS_KEY
|AWS_OWNED_KMS_KEY
.- AWS owned key (default) -
- kms
Key StringIdentifier - Requires a
kms_key_identifier
in the format of a key ARN.
TableEncryptionType
TableMode
TableProvisionedThroughput
- 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 .
- 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 .
- read
Capacity 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 .
- write
Capacity 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 .
- read
Capacity 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 .
- write
Capacity 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 .
- read
Capacity 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 .
- write
Capacity 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.