aws.keyspaces.Table
Provides a Keyspaces Table.
More information about Keyspaces tables can be found in the Keyspaces Developer Guide.
Example Usage
using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Keyspaces.Table("example", new()
{
KeyspaceName = aws_keyspaces_keyspace.Example.Name,
TableName = "my_table",
SchemaDefinition = new Aws.Keyspaces.Inputs.TableSchemaDefinitionArgs
{
Columns = new[]
{
new Aws.Keyspaces.Inputs.TableSchemaDefinitionColumnArgs
{
Name = "Message",
Type = "ASCII",
},
},
PartitionKeys = new[]
{
new Aws.Keyspaces.Inputs.TableSchemaDefinitionPartitionKeyArgs
{
Name = "Message",
},
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/keyspaces"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := keyspaces.NewTable(ctx, "example", &keyspaces.TableArgs{
KeyspaceName: pulumi.Any(aws_keyspaces_keyspace.Example.Name),
TableName: pulumi.String("my_table"),
SchemaDefinition: &keyspaces.TableSchemaDefinitionArgs{
Columns: keyspaces.TableSchemaDefinitionColumnArray{
&keyspaces.TableSchemaDefinitionColumnArgs{
Name: pulumi.String("Message"),
Type: pulumi.String("ASCII"),
},
},
PartitionKeys: keyspaces.TableSchemaDefinitionPartitionKeyArray{
&keyspaces.TableSchemaDefinitionPartitionKeyArgs{
Name: pulumi.String("Message"),
},
},
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.keyspaces.Table;
import com.pulumi.aws.keyspaces.TableArgs;
import com.pulumi.aws.keyspaces.inputs.TableSchemaDefinitionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new Table("example", TableArgs.builder()
.keyspaceName(aws_keyspaces_keyspace.example().name())
.tableName("my_table")
.schemaDefinition(TableSchemaDefinitionArgs.builder()
.columns(TableSchemaDefinitionColumnArgs.builder()
.name("Message")
.type("ASCII")
.build())
.partitionKeys(TableSchemaDefinitionPartitionKeyArgs.builder()
.name("Message")
.build())
.build())
.build());
}
}
import pulumi
import pulumi_aws as aws
example = aws.keyspaces.Table("example",
keyspace_name=aws_keyspaces_keyspace["example"]["name"],
table_name="my_table",
schema_definition=aws.keyspaces.TableSchemaDefinitionArgs(
columns=[aws.keyspaces.TableSchemaDefinitionColumnArgs(
name="Message",
type="ASCII",
)],
partition_keys=[aws.keyspaces.TableSchemaDefinitionPartitionKeyArgs(
name="Message",
)],
))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.keyspaces.Table("example", {
keyspaceName: aws_keyspaces_keyspace.example.name,
tableName: "my_table",
schemaDefinition: {
columns: [{
name: "Message",
type: "ASCII",
}],
partitionKeys: [{
name: "Message",
}],
},
});
resources:
example:
type: aws:keyspaces:Table
properties:
keyspaceName: ${aws_keyspaces_keyspace.example.name}
tableName: my_table
schemaDefinition:
columns:
- name: Message
type: ASCII
partitionKeys:
- name: Message
Create Table Resource
new Table(name: string, args: TableArgs, opts?: CustomResourceOptions);
@overload
def Table(resource_name: str,
opts: Optional[ResourceOptions] = None,
capacity_specification: Optional[TableCapacitySpecificationArgs] = None,
comment: Optional[TableCommentArgs] = None,
default_time_to_live: Optional[int] = None,
encryption_specification: Optional[TableEncryptionSpecificationArgs] = None,
keyspace_name: Optional[str] = None,
point_in_time_recovery: Optional[TablePointInTimeRecoveryArgs] = None,
schema_definition: Optional[TableSchemaDefinitionArgs] = None,
table_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
ttl: Optional[TableTtlArgs] = None)
@overload
def Table(resource_name: str,
args: TableArgs,
opts: Optional[ResourceOptions] = None)
func NewTable(ctx *Context, name string, args TableArgs, opts ...ResourceOption) (*Table, error)
public Table(string name, TableArgs args, CustomResourceOptions? opts = null)
type: aws:keyspaces:Table
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Table Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Table resource accepts the following input properties:
- Keyspace
Name string The name of the keyspace that the table is going to be created in.
- Schema
Definition TableSchema Definition Args Describes the schema of the table.
- Table
Name string The name of the table.
- Capacity
Specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- Comment
Table
Comment Args A description of the table.
- Default
Time intTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- Encryption
Specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- Point
In TableTime Recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- Dictionary<string, string>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- Keyspace
Name string The name of the keyspace that the table is going to be created in.
- Schema
Definition TableSchema Definition Args Describes the schema of the table.
- Table
Name string The name of the table.
- Capacity
Specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- Comment
Table
Comment Args A description of the table.
- Default
Time intTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- Encryption
Specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- Point
In TableTime Recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- map[string]string
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- keyspace
Name String The name of the keyspace that the table is going to be created in.
- schema
Definition TableSchema Definition Args Describes the schema of the table.
- table
Name String The name of the table.
- capacity
Specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- comment
Table
Comment Args A description of the table.
- default
Time IntegerTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- encryption
Specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- point
In TableTime Recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- Map<String,String>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- keyspace
Name string The name of the keyspace that the table is going to be created in.
- schema
Definition TableSchema Definition Args Describes the schema of the table.
- table
Name string The name of the table.
- capacity
Specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- comment
Table
Comment Args A description of the table.
- default
Time numberTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- encryption
Specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- point
In TableTime Recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- {[key: string]: string}
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- keyspace_
name str The name of the keyspace that the table is going to be created in.
- schema_
definition TableSchema Definition Args Describes the schema of the table.
- table_
name str The name of the table.
- capacity_
specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- comment
Table
Comment Args A description of the table.
- default_
time_ intto_ live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- encryption_
specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- point_
in_ Tabletime_ recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- Mapping[str, str]
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- keyspace
Name String The name of the keyspace that the table is going to be created in.
- schema
Definition Property Map Describes the schema of the table.
- table
Name String The name of the table.
- capacity
Specification Property Map Specifies the read/write throughput capacity mode for the table.
- comment Property Map
A description of the table.
- default
Time NumberTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- encryption
Specification Property Map Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- point
In Property MapTime Recovery Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- Map<String>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- ttl Property Map
Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
Outputs
All input properties are implicitly available as output properties. Additionally, the Table resource produces the following output properties:
Look up Existing Table Resource
Get an existing Table resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TableState, opts?: CustomResourceOptions): Table
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
capacity_specification: Optional[TableCapacitySpecificationArgs] = None,
comment: Optional[TableCommentArgs] = None,
default_time_to_live: Optional[int] = None,
encryption_specification: Optional[TableEncryptionSpecificationArgs] = None,
keyspace_name: Optional[str] = None,
point_in_time_recovery: Optional[TablePointInTimeRecoveryArgs] = None,
schema_definition: Optional[TableSchemaDefinitionArgs] = None,
table_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
tags_all: Optional[Mapping[str, str]] = None,
ttl: Optional[TableTtlArgs] = None) -> Table
func GetTable(ctx *Context, name string, id IDInput, state *TableState, opts ...ResourceOption) (*Table, error)
public static Table Get(string name, Input<string> id, TableState? state, CustomResourceOptions? opts = null)
public static Table get(String name, Output<String> id, TableState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
The ARN of the table.
- Capacity
Specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- Comment
Table
Comment Args A description of the table.
- Default
Time intTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- Encryption
Specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- Keyspace
Name string The name of the keyspace that the table is going to be created in.
- Point
In TableTime Recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- Schema
Definition TableSchema Definition Args Describes the schema of the table.
- Table
Name string The name of the table.
- Dictionary<string, string>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Dictionary<string, string>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- Ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- Arn string
The ARN of the table.
- Capacity
Specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- Comment
Table
Comment Args A description of the table.
- Default
Time intTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- Encryption
Specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- Keyspace
Name string The name of the keyspace that the table is going to be created in.
- Point
In TableTime Recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- Schema
Definition TableSchema Definition Args Describes the schema of the table.
- Table
Name string The name of the table.
- map[string]string
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- map[string]string
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- Ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- arn String
The ARN of the table.
- capacity
Specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- comment
Table
Comment Args A description of the table.
- default
Time IntegerTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- encryption
Specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- keyspace
Name String The name of the keyspace that the table is going to be created in.
- point
In TableTime Recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- schema
Definition TableSchema Definition Args Describes the schema of the table.
- table
Name String The name of the table.
- Map<String,String>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String,String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- arn string
The ARN of the table.
- capacity
Specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- comment
Table
Comment Args A description of the table.
- default
Time numberTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- encryption
Specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- keyspace
Name string The name of the keyspace that the table is going to be created in.
- point
In TableTime Recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- schema
Definition TableSchema Definition Args Describes the schema of the table.
- table
Name string The name of the table.
- {[key: string]: string}
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- {[key: string]: string}
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- arn str
The ARN of the table.
- capacity_
specification TableCapacity Specification Args Specifies the read/write throughput capacity mode for the table.
- comment
Table
Comment Args A description of the table.
- default_
time_ intto_ live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- encryption_
specification TableEncryption Specification Args Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- keyspace_
name str The name of the keyspace that the table is going to be created in.
- point_
in_ Tabletime_ recovery Point In Time Recovery Args Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- schema_
definition TableSchema Definition Args Describes the schema of the table.
- table_
name str The name of the table.
- Mapping[str, str]
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Mapping[str, str]
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- ttl
Table
Ttl Args Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
- arn String
The ARN of the table.
- capacity
Specification Property Map Specifies the read/write throughput capacity mode for the table.
- comment Property Map
A description of the table.
- default
Time NumberTo Live The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
- encryption
Specification Property Map Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
- keyspace
Name String The name of the keyspace that the table is going to be created in.
- point
In Property MapTime Recovery Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
- schema
Definition Property Map Describes the schema of the table.
- table
Name String The name of the table.
- Map<String>
A map of tags to assign to the resource. If configured with a provider
default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.- Map<String>
A map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.- ttl Property Map
Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.
Supporting Types
TableCapacitySpecification
- Read
Capacity intUnits The throughput capacity specified for read operations defined in read capacity units (RCUs).
- Throughput
Mode string The read/write throughput capacity mode for a table. Valid values:
PAY_PER_REQUEST
,PROVISIONED
. The default value isPAY_PER_REQUEST
.- Write
Capacity intUnits The throughput capacity specified for write operations defined in write capacity units (WCUs).
- Read
Capacity intUnits The throughput capacity specified for read operations defined in read capacity units (RCUs).
- Throughput
Mode string The read/write throughput capacity mode for a table. Valid values:
PAY_PER_REQUEST
,PROVISIONED
. The default value isPAY_PER_REQUEST
.- Write
Capacity intUnits The throughput capacity specified for write operations defined in write capacity units (WCUs).
- read
Capacity IntegerUnits The throughput capacity specified for read operations defined in read capacity units (RCUs).
- throughput
Mode String The read/write throughput capacity mode for a table. Valid values:
PAY_PER_REQUEST
,PROVISIONED
. The default value isPAY_PER_REQUEST
.- write
Capacity IntegerUnits The throughput capacity specified for write operations defined in write capacity units (WCUs).
- read
Capacity numberUnits The throughput capacity specified for read operations defined in read capacity units (RCUs).
- throughput
Mode string The read/write throughput capacity mode for a table. Valid values:
PAY_PER_REQUEST
,PROVISIONED
. The default value isPAY_PER_REQUEST
.- write
Capacity numberUnits The throughput capacity specified for write operations defined in write capacity units (WCUs).
- read_
capacity_ intunits The throughput capacity specified for read operations defined in read capacity units (RCUs).
- throughput_
mode str The read/write throughput capacity mode for a table. Valid values:
PAY_PER_REQUEST
,PROVISIONED
. The default value isPAY_PER_REQUEST
.- write_
capacity_ intunits The throughput capacity specified for write operations defined in write capacity units (WCUs).
- read
Capacity NumberUnits The throughput capacity specified for read operations defined in read capacity units (RCUs).
- throughput
Mode String The read/write throughput capacity mode for a table. Valid values:
PAY_PER_REQUEST
,PROVISIONED
. The default value isPAY_PER_REQUEST
.- write
Capacity NumberUnits The throughput capacity specified for write operations defined in write capacity units (WCUs).
TableComment
- Message string
A description of the table.
- Message string
A description of the table.
- message String
A description of the table.
- message string
A description of the table.
- message str
A description of the table.
- message String
A description of the table.
TableEncryptionSpecification
- Kms
Key stringIdentifier The Amazon Resource Name (ARN) of the customer managed KMS key.
- Type string
The encryption option specified for the table. Valid values:
AWS_OWNED_KMS_KEY
,CUSTOMER_MANAGED_KMS_KEY
. The default value isAWS_OWNED_KMS_KEY
.
- Kms
Key stringIdentifier The Amazon Resource Name (ARN) of the customer managed KMS key.
- Type string
The encryption option specified for the table. Valid values:
AWS_OWNED_KMS_KEY
,CUSTOMER_MANAGED_KMS_KEY
. The default value isAWS_OWNED_KMS_KEY
.
- kms
Key StringIdentifier The Amazon Resource Name (ARN) of the customer managed KMS key.
- type String
The encryption option specified for the table. Valid values:
AWS_OWNED_KMS_KEY
,CUSTOMER_MANAGED_KMS_KEY
. The default value isAWS_OWNED_KMS_KEY
.
- kms
Key stringIdentifier The Amazon Resource Name (ARN) of the customer managed KMS key.
- type string
The encryption option specified for the table. Valid values:
AWS_OWNED_KMS_KEY
,CUSTOMER_MANAGED_KMS_KEY
. The default value isAWS_OWNED_KMS_KEY
.
- kms_
key_ stridentifier The Amazon Resource Name (ARN) of the customer managed KMS key.
- type str
The encryption option specified for the table. Valid values:
AWS_OWNED_KMS_KEY
,CUSTOMER_MANAGED_KMS_KEY
. The default value isAWS_OWNED_KMS_KEY
.
- kms
Key StringIdentifier The Amazon Resource Name (ARN) of the customer managed KMS key.
- type String
The encryption option specified for the table. Valid values:
AWS_OWNED_KMS_KEY
,CUSTOMER_MANAGED_KMS_KEY
. The default value isAWS_OWNED_KMS_KEY
.
TablePointInTimeRecovery
- Status string
Valid values:
ENABLED
,DISABLED
. The default value isDISABLED
.
- Status string
Valid values:
ENABLED
,DISABLED
. The default value isDISABLED
.
- status String
Valid values:
ENABLED
,DISABLED
. The default value isDISABLED
.
- status string
Valid values:
ENABLED
,DISABLED
. The default value isDISABLED
.
- status str
Valid values:
ENABLED
,DISABLED
. The default value isDISABLED
.
- status String
Valid values:
ENABLED
,DISABLED
. The default value isDISABLED
.
TableSchemaDefinition
- Columns
List<Table
Schema Definition Column> The regular columns of the table.
- Partition
Keys List<TableSchema Definition Partition Key> The columns that are part of the partition key of the table .
- Clustering
Keys List<TableSchema Definition Clustering Key> The columns that are part of the clustering key of the table.
- Static
Columns List<TableSchema Definition Static Column> The columns that have been defined as
STATIC
. Static columns store values that are shared by all rows in the same partition.
- Columns
[]Table
Schema Definition Column The regular columns of the table.
- Partition
Keys []TableSchema Definition Partition Key The columns that are part of the partition key of the table .
- Clustering
Keys []TableSchema Definition Clustering Key The columns that are part of the clustering key of the table.
- Static
Columns []TableSchema Definition Static Column The columns that have been defined as
STATIC
. Static columns store values that are shared by all rows in the same partition.
- columns
List<Table
Schema Definition Column> The regular columns of the table.
- partition
Keys List<TableSchema Definition Partition Key> The columns that are part of the partition key of the table .
- clustering
Keys List<TableSchema Definition Clustering Key> The columns that are part of the clustering key of the table.
- static
Columns List<TableSchema Definition Static Column> The columns that have been defined as
STATIC
. Static columns store values that are shared by all rows in the same partition.
- columns
Table
Schema Definition Column[] The regular columns of the table.
- partition
Keys TableSchema Definition Partition Key[] The columns that are part of the partition key of the table .
- clustering
Keys TableSchema Definition Clustering Key[] The columns that are part of the clustering key of the table.
- static
Columns TableSchema Definition Static Column[] The columns that have been defined as
STATIC
. Static columns store values that are shared by all rows in the same partition.
- columns
Sequence[Table
Schema Definition Column] The regular columns of the table.
- partition_
keys Sequence[TableSchema Definition Partition Key] The columns that are part of the partition key of the table .
- clustering_
keys Sequence[TableSchema Definition Clustering Key] The columns that are part of the clustering key of the table.
- static_
columns Sequence[TableSchema Definition Static Column] The columns that have been defined as
STATIC
. Static columns store values that are shared by all rows in the same partition.
- columns List<Property Map>
The regular columns of the table.
- partition
Keys List<Property Map> The columns that are part of the partition key of the table .
- clustering
Keys List<Property Map> The columns that are part of the clustering key of the table.
- static
Columns List<Property Map> The columns that have been defined as
STATIC
. Static columns store values that are shared by all rows in the same partition.
TableSchemaDefinitionClusteringKey
TableSchemaDefinitionColumn
- Name string
The name of the column.
- Type string
The data type of the column. See the Developer Guide for a list of available data types.
- Name string
The name of the column.
- Type string
The data type of the column. See the Developer Guide for a list of available data types.
- name String
The name of the column.
- type String
The data type of the column. See the Developer Guide for a list of available data types.
- name string
The name of the column.
- type string
The data type of the column. See the Developer Guide for a list of available data types.
- name str
The name of the column.
- type str
The data type of the column. See the Developer Guide for a list of available data types.
- name String
The name of the column.
- type String
The data type of the column. See the Developer Guide for a list of available data types.
TableSchemaDefinitionPartitionKey
- Name string
The name of the partition key column.
- Name string
The name of the partition key column.
- name String
The name of the partition key column.
- name string
The name of the partition key column.
- name str
The name of the partition key column.
- name String
The name of the partition key column.
TableSchemaDefinitionStaticColumn
- Name string
The name of the static column.
- Name string
The name of the static column.
- name String
The name of the static column.
- name string
The name of the static column.
- name str
The name of the static column.
- name String
The name of the static column.
TableTtl
- Status string
Valid values:
ENABLED
.
- Status string
Valid values:
ENABLED
.
- status String
Valid values:
ENABLED
.
- status string
Valid values:
ENABLED
.
- status str
Valid values:
ENABLED
.
- status String
Valid values:
ENABLED
.
Import
Use the keyspace_name
and table_name
separated by /
to import a table. For example
$ pulumi import aws:keyspaces/table:Table example my_keyspace/my_table
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.