Table Args
    data class TableArgs(val capacitySpecification: Output<TableCapacitySpecificationArgs>? = null, val clientSideTimestamps: Output<TableClientSideTimestampsArgs>? = null, val comment: Output<TableCommentArgs>? = null, val defaultTimeToLive: Output<Int>? = null, val encryptionSpecification: Output<TableEncryptionSpecificationArgs>? = null, val keyspaceName: Output<String>? = null, val pointInTimeRecovery: Output<TablePointInTimeRecoveryArgs>? = null, val schemaDefinition: Output<TableSchemaDefinitionArgs>? = null, val tableName: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val ttl: Output<TableTtlArgs>? = null) : ConvertibleToJava<TableArgs> 
Provides a Keyspaces Table. More information about Keyspaces tables can be found in the Keyspaces Developer Guide.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.keyspaces.Table("example", {
    keyspaceName: exampleAwsKeyspacesKeyspace.name,
    tableName: "my_table",
    schemaDefinition: {
        columns: [{
            name: "Message",
            type: "ASCII",
        }],
        partitionKeys: [{
            name: "Message",
        }],
    },
});Content copied to clipboard
import pulumi
import pulumi_aws as aws
example = aws.keyspaces.Table("example",
    keyspace_name=example_aws_keyspaces_keyspace["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",
        )],
    ))Content copied to clipboard
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
    var example = new Aws.Keyspaces.Table("example", new()
    {
        KeyspaceName = exampleAwsKeyspacesKeyspace.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",
                },
            },
        },
    });
});Content copied to clipboard
package main
import (
	"github.com/pulumi/pulumi-aws/sdk/v6/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(exampleAwsKeyspacesKeyspace.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
	})
}Content copied to clipboard
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(exampleAwsKeyspacesKeyspace.name())
            .tableName("my_table")
            .schemaDefinition(TableSchemaDefinitionArgs.builder()
                .columns(TableSchemaDefinitionColumnArgs.builder()
                    .name("Message")
                    .type("ASCII")
                    .build())
                .partitionKeys(TableSchemaDefinitionPartitionKeyArgs.builder()
                    .name("Message")
                    .build())
                .build())
            .build());
    }
}Content copied to clipboard
resources:
  example:
    type: aws:keyspaces:Table
    properties:
      keyspaceName: ${exampleAwsKeyspacesKeyspace.name}
      tableName: my_table
      schemaDefinition:
        columns:
          - name: Message
            type: ASCII
        partitionKeys:
          - name: MessageContent copied to clipboard
Import
Using pulumi import, import a table using the keyspace_name and table_name separated by /. For example:
$ pulumi import aws:keyspaces/table:Table example my_keyspace/my_tableContent copied to clipboard
Constructors
Link copied to clipboard
                fun TableArgs(capacitySpecification: Output<TableCapacitySpecificationArgs>? = null, clientSideTimestamps: Output<TableClientSideTimestampsArgs>? = null, comment: Output<TableCommentArgs>? = null, defaultTimeToLive: Output<Int>? = null, encryptionSpecification: Output<TableEncryptionSpecificationArgs>? = null, keyspaceName: Output<String>? = null, pointInTimeRecovery: Output<TablePointInTimeRecoveryArgs>? = null, schemaDefinition: Output<TableSchemaDefinitionArgs>? = null, tableName: Output<String>? = null, tags: Output<Map<String, String>>? = null, ttl: Output<TableTtlArgs>? = null)
Functions
Properties
Link copied to clipboard
                Link copied to clipboard
                The default Time to Live setting in seconds for the table. More information can be found in the Developer Guide.
Link copied to clipboard
                Specifies how the encryption key for encryption at rest is managed for the table. More information can be found in the Developer Guide.
Link copied to clipboard
                Specifies if point-in-time recovery is enabled or disabled for the table. More information can be found in the Developer Guide.
Link copied to clipboard
                Link copied to clipboard
                Enables Time to Live custom settings for the table. More information can be found in the Developer Guide.