We recommend new projects start with resources from the AWS provider.
aws-native.cassandra.Table
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource schema for AWS::Cassandra::Table
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myNewTable = new AwsNative.Cassandra.Table("myNewTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "Message",
ColumnType = "ASCII",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myNewTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("Message"),
ColumnType: pulumi.String("ASCII"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_new_table = aws_native.cassandra.Table("myNewTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "Message",
"column_type": "ASCII",
}])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myNewTable = new aws_native.cassandra.Table("myNewTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "Message",
columnType: "ASCII",
}],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myNewTable = new AwsNative.Cassandra.Table("myNewTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "Message",
ColumnType = "ASCII",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myNewTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("Message"),
ColumnType: pulumi.String("ASCII"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_new_table = aws_native.cassandra.Table("myNewTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "Message",
"column_type": "ASCII",
}])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myNewTable = new aws_native.cassandra.Table("myNewTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "Message",
columnType: "ASCII",
}],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myNewTable = new AwsNative.Cassandra.Table("myNewTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "id",
ColumnType = "ASCII",
},
},
ClusteringKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableClusteringKeyColumnArgs
{
Column = new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "division",
ColumnType = "ASCII",
},
OrderBy = AwsNative.Cassandra.TableClusteringKeyColumnOrderBy.Asc,
},
},
RegularColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "name",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "region",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "project",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "role",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "pay_scale",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "vacation_hrs",
ColumnType = "FLOAT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "manager_id",
ColumnType = "TEXT",
},
},
BillingMode = new AwsNative.Cassandra.Inputs.TableBillingModeArgs
{
Mode = AwsNative.Cassandra.TableMode.Provisioned,
ProvisionedThroughput = new AwsNative.Cassandra.Inputs.TableProvisionedThroughputArgs
{
ReadCapacityUnits = 5,
WriteCapacityUnits = 5,
},
},
ClientSideTimestampsEnabled = true,
DefaultTimeToLive = 63072000,
PointInTimeRecoveryEnabled = true,
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "tag1",
Value = "val1",
},
new AwsNative.Inputs.TagArgs
{
Key = "tag2",
Value = "val2",
},
},
});
});
package main
import (
awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myNewTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("id"),
ColumnType: pulumi.String("ASCII"),
},
},
ClusteringKeyColumns: cassandra.TableClusteringKeyColumnArray{
&cassandra.TableClusteringKeyColumnArgs{
Column: &cassandra.TableColumnArgs{
ColumnName: pulumi.String("division"),
ColumnType: pulumi.String("ASCII"),
},
OrderBy: cassandra.TableClusteringKeyColumnOrderByAsc,
},
},
RegularColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("name"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("region"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("project"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("role"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("pay_scale"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("vacation_hrs"),
ColumnType: pulumi.String("FLOAT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("manager_id"),
ColumnType: pulumi.String("TEXT"),
},
},
BillingMode: &cassandra.TableBillingModeArgs{
Mode: cassandra.TableModeProvisioned,
ProvisionedThroughput: &cassandra.TableProvisionedThroughputArgs{
ReadCapacityUnits: pulumi.Int(5),
WriteCapacityUnits: pulumi.Int(5),
},
},
ClientSideTimestampsEnabled: pulumi.Bool(true),
DefaultTimeToLive: pulumi.Int(63072000),
PointInTimeRecoveryEnabled: pulumi.Bool(true),
Tags: aws.TagArray{
&aws.TagArgs{
Key: pulumi.String("tag1"),
Value: pulumi.String("val1"),
},
&aws.TagArgs{
Key: pulumi.String("tag2"),
Value: pulumi.String("val2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_new_table = aws_native.cassandra.Table("myNewTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "id",
"column_type": "ASCII",
}],
clustering_key_columns=[{
"column": {
"column_name": "division",
"column_type": "ASCII",
},
"order_by": aws_native.cassandra.TableClusteringKeyColumnOrderBy.ASC,
}],
regular_columns=[
{
"column_name": "name",
"column_type": "TEXT",
},
{
"column_name": "region",
"column_type": "TEXT",
},
{
"column_name": "project",
"column_type": "TEXT",
},
{
"column_name": "role",
"column_type": "TEXT",
},
{
"column_name": "pay_scale",
"column_type": "TEXT",
},
{
"column_name": "vacation_hrs",
"column_type": "FLOAT",
},
{
"column_name": "manager_id",
"column_type": "TEXT",
},
],
billing_mode={
"mode": aws_native.cassandra.TableMode.PROVISIONED,
"provisioned_throughput": {
"read_capacity_units": 5,
"write_capacity_units": 5,
},
},
client_side_timestamps_enabled=True,
default_time_to_live=63072000,
point_in_time_recovery_enabled=True,
tags=[
{
"key": "tag1",
"value": "val1",
},
{
"key": "tag2",
"value": "val2",
},
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myNewTable = new aws_native.cassandra.Table("myNewTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "id",
columnType: "ASCII",
}],
clusteringKeyColumns: [{
column: {
columnName: "division",
columnType: "ASCII",
},
orderBy: aws_native.cassandra.TableClusteringKeyColumnOrderBy.Asc,
}],
regularColumns: [
{
columnName: "name",
columnType: "TEXT",
},
{
columnName: "region",
columnType: "TEXT",
},
{
columnName: "project",
columnType: "TEXT",
},
{
columnName: "role",
columnType: "TEXT",
},
{
columnName: "pay_scale",
columnType: "TEXT",
},
{
columnName: "vacation_hrs",
columnType: "FLOAT",
},
{
columnName: "manager_id",
columnType: "TEXT",
},
],
billingMode: {
mode: aws_native.cassandra.TableMode.Provisioned,
provisionedThroughput: {
readCapacityUnits: 5,
writeCapacityUnits: 5,
},
},
clientSideTimestampsEnabled: true,
defaultTimeToLive: 63072000,
pointInTimeRecoveryEnabled: true,
tags: [
{
key: "tag1",
value: "val1",
},
{
key: "tag2",
value: "val2",
},
],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myNewTable = new AwsNative.Cassandra.Table("myNewTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "id",
ColumnType = "ASCII",
},
},
ClusteringKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableClusteringKeyColumnArgs
{
Column = new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "division",
ColumnType = "ASCII",
},
OrderBy = AwsNative.Cassandra.TableClusteringKeyColumnOrderBy.Asc,
},
},
RegularColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "name",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "region",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "project",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "role",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "pay_scale",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "vacation_hrs",
ColumnType = "FLOAT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "manager_id",
ColumnType = "TEXT",
},
},
BillingMode = new AwsNative.Cassandra.Inputs.TableBillingModeArgs
{
Mode = AwsNative.Cassandra.TableMode.Provisioned,
ProvisionedThroughput = new AwsNative.Cassandra.Inputs.TableProvisionedThroughputArgs
{
ReadCapacityUnits = 5,
WriteCapacityUnits = 5,
},
},
ClientSideTimestampsEnabled = true,
DefaultTimeToLive = 63072000,
PointInTimeRecoveryEnabled = true,
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "tag1",
Value = "val1",
},
new AwsNative.Inputs.TagArgs
{
Key = "tag2",
Value = "val2",
},
},
});
});
package main
import (
awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myNewTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("id"),
ColumnType: pulumi.String("ASCII"),
},
},
ClusteringKeyColumns: cassandra.TableClusteringKeyColumnArray{
&cassandra.TableClusteringKeyColumnArgs{
Column: &cassandra.TableColumnArgs{
ColumnName: pulumi.String("division"),
ColumnType: pulumi.String("ASCII"),
},
OrderBy: cassandra.TableClusteringKeyColumnOrderByAsc,
},
},
RegularColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("name"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("region"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("project"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("role"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("pay_scale"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("vacation_hrs"),
ColumnType: pulumi.String("FLOAT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("manager_id"),
ColumnType: pulumi.String("TEXT"),
},
},
BillingMode: &cassandra.TableBillingModeArgs{
Mode: cassandra.TableModeProvisioned,
ProvisionedThroughput: &cassandra.TableProvisionedThroughputArgs{
ReadCapacityUnits: pulumi.Int(5),
WriteCapacityUnits: pulumi.Int(5),
},
},
ClientSideTimestampsEnabled: pulumi.Bool(true),
DefaultTimeToLive: pulumi.Int(63072000),
PointInTimeRecoveryEnabled: pulumi.Bool(true),
Tags: aws.TagArray{
&aws.TagArgs{
Key: pulumi.String("tag1"),
Value: pulumi.String("val1"),
},
&aws.TagArgs{
Key: pulumi.String("tag2"),
Value: pulumi.String("val2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_new_table = aws_native.cassandra.Table("myNewTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "id",
"column_type": "ASCII",
}],
clustering_key_columns=[{
"column": {
"column_name": "division",
"column_type": "ASCII",
},
"order_by": aws_native.cassandra.TableClusteringKeyColumnOrderBy.ASC,
}],
regular_columns=[
{
"column_name": "name",
"column_type": "TEXT",
},
{
"column_name": "region",
"column_type": "TEXT",
},
{
"column_name": "project",
"column_type": "TEXT",
},
{
"column_name": "role",
"column_type": "TEXT",
},
{
"column_name": "pay_scale",
"column_type": "TEXT",
},
{
"column_name": "vacation_hrs",
"column_type": "FLOAT",
},
{
"column_name": "manager_id",
"column_type": "TEXT",
},
],
billing_mode={
"mode": aws_native.cassandra.TableMode.PROVISIONED,
"provisioned_throughput": {
"read_capacity_units": 5,
"write_capacity_units": 5,
},
},
client_side_timestamps_enabled=True,
default_time_to_live=63072000,
point_in_time_recovery_enabled=True,
tags=[
{
"key": "tag1",
"value": "val1",
},
{
"key": "tag2",
"value": "val2",
},
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myNewTable = new aws_native.cassandra.Table("myNewTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "id",
columnType: "ASCII",
}],
clusteringKeyColumns: [{
column: {
columnName: "division",
columnType: "ASCII",
},
orderBy: aws_native.cassandra.TableClusteringKeyColumnOrderBy.Asc,
}],
regularColumns: [
{
columnName: "name",
columnType: "TEXT",
},
{
columnName: "region",
columnType: "TEXT",
},
{
columnName: "project",
columnType: "TEXT",
},
{
columnName: "role",
columnType: "TEXT",
},
{
columnName: "pay_scale",
columnType: "TEXT",
},
{
columnName: "vacation_hrs",
columnType: "FLOAT",
},
{
columnName: "manager_id",
columnType: "TEXT",
},
],
billingMode: {
mode: aws_native.cassandra.TableMode.Provisioned,
provisionedThroughput: {
readCapacityUnits: 5,
writeCapacityUnits: 5,
},
},
clientSideTimestampsEnabled: true,
defaultTimeToLive: 63072000,
pointInTimeRecoveryEnabled: true,
tags: [
{
key: "tag1",
value: "val1",
},
{
key: "tag2",
value: "val2",
},
],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myNewTable = new AwsNative.Cassandra.Table("myNewTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "id",
ColumnType = "ASCII",
},
},
ClusteringKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableClusteringKeyColumnArgs
{
Column = new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "division",
ColumnType = "ASCII",
},
OrderBy = AwsNative.Cassandra.TableClusteringKeyColumnOrderBy.Asc,
},
},
RegularColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "name",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "region",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "project",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "role",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "pay_scale",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "vacation_hrs",
ColumnType = "FLOAT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "manager_id",
ColumnType = "TEXT",
},
},
BillingMode = new AwsNative.Cassandra.Inputs.TableBillingModeArgs
{
Mode = AwsNative.Cassandra.TableMode.Provisioned,
ProvisionedThroughput = new AwsNative.Cassandra.Inputs.TableProvisionedThroughputArgs
{
ReadCapacityUnits = 5,
WriteCapacityUnits = 5,
},
},
DefaultTimeToLive = 63072000,
EncryptionSpecification = new AwsNative.Cassandra.Inputs.TableEncryptionSpecificationArgs
{
EncryptionType = AwsNative.Cassandra.TableEncryptionType.CustomerManagedKmsKey,
KmsKeyIdentifier = "arn:aws:kms:eu-west-1:5555555555555:key/11111111-1111-111-1111-111111111111",
},
PointInTimeRecoveryEnabled = true,
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "tag1",
Value = "val1",
},
new AwsNative.Inputs.TagArgs
{
Key = "tag2",
Value = "val2",
},
},
});
});
package main
import (
awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myNewTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("id"),
ColumnType: pulumi.String("ASCII"),
},
},
ClusteringKeyColumns: cassandra.TableClusteringKeyColumnArray{
&cassandra.TableClusteringKeyColumnArgs{
Column: &cassandra.TableColumnArgs{
ColumnName: pulumi.String("division"),
ColumnType: pulumi.String("ASCII"),
},
OrderBy: cassandra.TableClusteringKeyColumnOrderByAsc,
},
},
RegularColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("name"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("region"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("project"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("role"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("pay_scale"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("vacation_hrs"),
ColumnType: pulumi.String("FLOAT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("manager_id"),
ColumnType: pulumi.String("TEXT"),
},
},
BillingMode: &cassandra.TableBillingModeArgs{
Mode: cassandra.TableModeProvisioned,
ProvisionedThroughput: &cassandra.TableProvisionedThroughputArgs{
ReadCapacityUnits: pulumi.Int(5),
WriteCapacityUnits: pulumi.Int(5),
},
},
DefaultTimeToLive: pulumi.Int(63072000),
EncryptionSpecification: &cassandra.TableEncryptionSpecificationArgs{
EncryptionType: cassandra.TableEncryptionTypeCustomerManagedKmsKey,
KmsKeyIdentifier: pulumi.String("arn:aws:kms:eu-west-1:5555555555555:key/11111111-1111-111-1111-111111111111"),
},
PointInTimeRecoveryEnabled: pulumi.Bool(true),
Tags: aws.TagArray{
&aws.TagArgs{
Key: pulumi.String("tag1"),
Value: pulumi.String("val1"),
},
&aws.TagArgs{
Key: pulumi.String("tag2"),
Value: pulumi.String("val2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_new_table = aws_native.cassandra.Table("myNewTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "id",
"column_type": "ASCII",
}],
clustering_key_columns=[{
"column": {
"column_name": "division",
"column_type": "ASCII",
},
"order_by": aws_native.cassandra.TableClusteringKeyColumnOrderBy.ASC,
}],
regular_columns=[
{
"column_name": "name",
"column_type": "TEXT",
},
{
"column_name": "region",
"column_type": "TEXT",
},
{
"column_name": "project",
"column_type": "TEXT",
},
{
"column_name": "role",
"column_type": "TEXT",
},
{
"column_name": "pay_scale",
"column_type": "TEXT",
},
{
"column_name": "vacation_hrs",
"column_type": "FLOAT",
},
{
"column_name": "manager_id",
"column_type": "TEXT",
},
],
billing_mode={
"mode": aws_native.cassandra.TableMode.PROVISIONED,
"provisioned_throughput": {
"read_capacity_units": 5,
"write_capacity_units": 5,
},
},
default_time_to_live=63072000,
encryption_specification={
"encryption_type": aws_native.cassandra.TableEncryptionType.CUSTOMER_MANAGED_KMS_KEY,
"kms_key_identifier": "arn:aws:kms:eu-west-1:5555555555555:key/11111111-1111-111-1111-111111111111",
},
point_in_time_recovery_enabled=True,
tags=[
{
"key": "tag1",
"value": "val1",
},
{
"key": "tag2",
"value": "val2",
},
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myNewTable = new aws_native.cassandra.Table("myNewTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "id",
columnType: "ASCII",
}],
clusteringKeyColumns: [{
column: {
columnName: "division",
columnType: "ASCII",
},
orderBy: aws_native.cassandra.TableClusteringKeyColumnOrderBy.Asc,
}],
regularColumns: [
{
columnName: "name",
columnType: "TEXT",
},
{
columnName: "region",
columnType: "TEXT",
},
{
columnName: "project",
columnType: "TEXT",
},
{
columnName: "role",
columnType: "TEXT",
},
{
columnName: "pay_scale",
columnType: "TEXT",
},
{
columnName: "vacation_hrs",
columnType: "FLOAT",
},
{
columnName: "manager_id",
columnType: "TEXT",
},
],
billingMode: {
mode: aws_native.cassandra.TableMode.Provisioned,
provisionedThroughput: {
readCapacityUnits: 5,
writeCapacityUnits: 5,
},
},
defaultTimeToLive: 63072000,
encryptionSpecification: {
encryptionType: aws_native.cassandra.TableEncryptionType.CustomerManagedKmsKey,
kmsKeyIdentifier: "arn:aws:kms:eu-west-1:5555555555555:key/11111111-1111-111-1111-111111111111",
},
pointInTimeRecoveryEnabled: true,
tags: [
{
key: "tag1",
value: "val1",
},
{
key: "tag2",
value: "val2",
},
],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myNewTable = new AwsNative.Cassandra.Table("myNewTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "id",
ColumnType = "ASCII",
},
},
ClusteringKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableClusteringKeyColumnArgs
{
Column = new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "division",
ColumnType = "ASCII",
},
OrderBy = AwsNative.Cassandra.TableClusteringKeyColumnOrderBy.Asc,
},
},
RegularColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "name",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "region",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "project",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "role",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "pay_scale",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "vacation_hrs",
ColumnType = "FLOAT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "manager_id",
ColumnType = "TEXT",
},
},
BillingMode = new AwsNative.Cassandra.Inputs.TableBillingModeArgs
{
Mode = AwsNative.Cassandra.TableMode.Provisioned,
ProvisionedThroughput = new AwsNative.Cassandra.Inputs.TableProvisionedThroughputArgs
{
ReadCapacityUnits = 5,
WriteCapacityUnits = 5,
},
},
DefaultTimeToLive = 63072000,
EncryptionSpecification = new AwsNative.Cassandra.Inputs.TableEncryptionSpecificationArgs
{
EncryptionType = AwsNative.Cassandra.TableEncryptionType.CustomerManagedKmsKey,
KmsKeyIdentifier = "arn:aws:kms:eu-west-1:5555555555555:key/11111111-1111-111-1111-111111111111",
},
PointInTimeRecoveryEnabled = true,
Tags = new[]
{
new AwsNative.Inputs.TagArgs
{
Key = "tag1",
Value = "val1",
},
new AwsNative.Inputs.TagArgs
{
Key = "tag2",
Value = "val2",
},
},
});
});
package main
import (
awsnative "github.com/pulumi/pulumi-aws-native/sdk/go/aws"
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myNewTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("id"),
ColumnType: pulumi.String("ASCII"),
},
},
ClusteringKeyColumns: cassandra.TableClusteringKeyColumnArray{
&cassandra.TableClusteringKeyColumnArgs{
Column: &cassandra.TableColumnArgs{
ColumnName: pulumi.String("division"),
ColumnType: pulumi.String("ASCII"),
},
OrderBy: cassandra.TableClusteringKeyColumnOrderByAsc,
},
},
RegularColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("name"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("region"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("project"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("role"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("pay_scale"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("vacation_hrs"),
ColumnType: pulumi.String("FLOAT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("manager_id"),
ColumnType: pulumi.String("TEXT"),
},
},
BillingMode: &cassandra.TableBillingModeArgs{
Mode: cassandra.TableModeProvisioned,
ProvisionedThroughput: &cassandra.TableProvisionedThroughputArgs{
ReadCapacityUnits: pulumi.Int(5),
WriteCapacityUnits: pulumi.Int(5),
},
},
DefaultTimeToLive: pulumi.Int(63072000),
EncryptionSpecification: &cassandra.TableEncryptionSpecificationArgs{
EncryptionType: cassandra.TableEncryptionTypeCustomerManagedKmsKey,
KmsKeyIdentifier: pulumi.String("arn:aws:kms:eu-west-1:5555555555555:key/11111111-1111-111-1111-111111111111"),
},
PointInTimeRecoveryEnabled: pulumi.Bool(true),
Tags: aws.TagArray{
&aws.TagArgs{
Key: pulumi.String("tag1"),
Value: pulumi.String("val1"),
},
&aws.TagArgs{
Key: pulumi.String("tag2"),
Value: pulumi.String("val2"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_new_table = aws_native.cassandra.Table("myNewTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "id",
"column_type": "ASCII",
}],
clustering_key_columns=[{
"column": {
"column_name": "division",
"column_type": "ASCII",
},
"order_by": aws_native.cassandra.TableClusteringKeyColumnOrderBy.ASC,
}],
regular_columns=[
{
"column_name": "name",
"column_type": "TEXT",
},
{
"column_name": "region",
"column_type": "TEXT",
},
{
"column_name": "project",
"column_type": "TEXT",
},
{
"column_name": "role",
"column_type": "TEXT",
},
{
"column_name": "pay_scale",
"column_type": "TEXT",
},
{
"column_name": "vacation_hrs",
"column_type": "FLOAT",
},
{
"column_name": "manager_id",
"column_type": "TEXT",
},
],
billing_mode={
"mode": aws_native.cassandra.TableMode.PROVISIONED,
"provisioned_throughput": {
"read_capacity_units": 5,
"write_capacity_units": 5,
},
},
default_time_to_live=63072000,
encryption_specification={
"encryption_type": aws_native.cassandra.TableEncryptionType.CUSTOMER_MANAGED_KMS_KEY,
"kms_key_identifier": "arn:aws:kms:eu-west-1:5555555555555:key/11111111-1111-111-1111-111111111111",
},
point_in_time_recovery_enabled=True,
tags=[
{
"key": "tag1",
"value": "val1",
},
{
"key": "tag2",
"value": "val2",
},
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myNewTable = new aws_native.cassandra.Table("myNewTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "id",
columnType: "ASCII",
}],
clusteringKeyColumns: [{
column: {
columnName: "division",
columnType: "ASCII",
},
orderBy: aws_native.cassandra.TableClusteringKeyColumnOrderBy.Asc,
}],
regularColumns: [
{
columnName: "name",
columnType: "TEXT",
},
{
columnName: "region",
columnType: "TEXT",
},
{
columnName: "project",
columnType: "TEXT",
},
{
columnName: "role",
columnType: "TEXT",
},
{
columnName: "pay_scale",
columnType: "TEXT",
},
{
columnName: "vacation_hrs",
columnType: "FLOAT",
},
{
columnName: "manager_id",
columnType: "TEXT",
},
],
billingMode: {
mode: aws_native.cassandra.TableMode.Provisioned,
provisionedThroughput: {
readCapacityUnits: 5,
writeCapacityUnits: 5,
},
},
defaultTimeToLive: 63072000,
encryptionSpecification: {
encryptionType: aws_native.cassandra.TableEncryptionType.CustomerManagedKmsKey,
kmsKeyIdentifier: "arn:aws:kms:eu-west-1:5555555555555:key/11111111-1111-111-1111-111111111111",
},
pointInTimeRecoveryEnabled: true,
tags: [
{
key: "tag1",
value: "val1",
},
{
key: "tag2",
value: "val2",
},
],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myTable = new AwsNative.Cassandra.Table("myTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "Message",
ColumnType = "ASCII",
},
},
RegularColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "name",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "region",
ColumnType = "TEXT",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("Message"),
ColumnType: pulumi.String("ASCII"),
},
},
RegularColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("name"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("region"),
ColumnType: pulumi.String("TEXT"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_table = aws_native.cassandra.Table("myTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "Message",
"column_type": "ASCII",
}],
regular_columns=[
{
"column_name": "name",
"column_type": "TEXT",
},
{
"column_name": "region",
"column_type": "TEXT",
},
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myTable = new aws_native.cassandra.Table("myTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "Message",
columnType: "ASCII",
}],
regularColumns: [
{
columnName: "name",
columnType: "TEXT",
},
{
columnName: "region",
columnType: "TEXT",
},
],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myTable = new AwsNative.Cassandra.Table("myTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "Message",
ColumnType = "ASCII",
},
},
RegularColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "name",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "region",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "project",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "role",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "pay_scale",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "vacation_hrs",
ColumnType = "FLOAT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "manager_id",
ColumnType = "TEXT",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("Message"),
ColumnType: pulumi.String("ASCII"),
},
},
RegularColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("name"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("region"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("project"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("role"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("pay_scale"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("vacation_hrs"),
ColumnType: pulumi.String("FLOAT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("manager_id"),
ColumnType: pulumi.String("TEXT"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_table = aws_native.cassandra.Table("myTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "Message",
"column_type": "ASCII",
}],
regular_columns=[
{
"column_name": "name",
"column_type": "TEXT",
},
{
"column_name": "region",
"column_type": "TEXT",
},
{
"column_name": "project",
"column_type": "TEXT",
},
{
"column_name": "role",
"column_type": "TEXT",
},
{
"column_name": "pay_scale",
"column_type": "TEXT",
},
{
"column_name": "vacation_hrs",
"column_type": "FLOAT",
},
{
"column_name": "manager_id",
"column_type": "TEXT",
},
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myTable = new aws_native.cassandra.Table("myTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "Message",
columnType: "ASCII",
}],
regularColumns: [
{
columnName: "name",
columnType: "TEXT",
},
{
columnName: "region",
columnType: "TEXT",
},
{
columnName: "project",
columnType: "TEXT",
},
{
columnName: "role",
columnType: "TEXT",
},
{
columnName: "pay_scale",
columnType: "TEXT",
},
{
columnName: "vacation_hrs",
columnType: "FLOAT",
},
{
columnName: "manager_id",
columnType: "TEXT",
},
],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myTable = new AwsNative.Cassandra.Table("myTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "Message",
ColumnType = "ASCII",
},
},
RegularColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "name",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "region",
ColumnType = "TEXT",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("Message"),
ColumnType: pulumi.String("ASCII"),
},
},
RegularColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("name"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("region"),
ColumnType: pulumi.String("TEXT"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_table = aws_native.cassandra.Table("myTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "Message",
"column_type": "ASCII",
}],
regular_columns=[
{
"column_name": "name",
"column_type": "TEXT",
},
{
"column_name": "region",
"column_type": "TEXT",
},
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myTable = new aws_native.cassandra.Table("myTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "Message",
columnType: "ASCII",
}],
regularColumns: [
{
columnName: "name",
columnType: "TEXT",
},
{
columnName: "region",
columnType: "TEXT",
},
],
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var myTable = new AwsNative.Cassandra.Table("myTable", new()
{
KeyspaceName = "my_keyspace",
TableName = "my_table",
PartitionKeyColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "Message",
ColumnType = "ASCII",
},
},
RegularColumns = new[]
{
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "name",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "region",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "project",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "role",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "pay_scale",
ColumnType = "TEXT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "vacation_hrs",
ColumnType = "FLOAT",
},
new AwsNative.Cassandra.Inputs.TableColumnArgs
{
ColumnName = "manager_id",
ColumnType = "TEXT",
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/cassandra"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cassandra.NewTable(ctx, "myTable", &cassandra.TableArgs{
KeyspaceName: pulumi.String("my_keyspace"),
TableName: pulumi.String("my_table"),
PartitionKeyColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("Message"),
ColumnType: pulumi.String("ASCII"),
},
},
RegularColumns: cassandra.TableColumnArray{
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("name"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("region"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("project"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("role"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("pay_scale"),
ColumnType: pulumi.String("TEXT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("vacation_hrs"),
ColumnType: pulumi.String("FLOAT"),
},
&cassandra.TableColumnArgs{
ColumnName: pulumi.String("manager_id"),
ColumnType: pulumi.String("TEXT"),
},
},
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
my_table = aws_native.cassandra.Table("myTable",
keyspace_name="my_keyspace",
table_name="my_table",
partition_key_columns=[{
"column_name": "Message",
"column_type": "ASCII",
}],
regular_columns=[
{
"column_name": "name",
"column_type": "TEXT",
},
{
"column_name": "region",
"column_type": "TEXT",
},
{
"column_name": "project",
"column_type": "TEXT",
},
{
"column_name": "role",
"column_type": "TEXT",
},
{
"column_name": "pay_scale",
"column_type": "TEXT",
},
{
"column_name": "vacation_hrs",
"column_type": "FLOAT",
},
{
"column_name": "manager_id",
"column_type": "TEXT",
},
])
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const myTable = new aws_native.cassandra.Table("myTable", {
keyspaceName: "my_keyspace",
tableName: "my_table",
partitionKeyColumns: [{
columnName: "Message",
columnType: "ASCII",
}],
regularColumns: [
{
columnName: "name",
columnType: "TEXT",
},
{
columnName: "region",
columnType: "TEXT",
},
{
columnName: "project",
columnType: "TEXT",
},
{
columnName: "role",
columnType: "TEXT",
},
{
columnName: "pay_scale",
columnType: "TEXT",
},
{
columnName: "vacation_hrs",
columnType: "FLOAT",
},
{
columnName: "manager_id",
columnType: "TEXT",
},
],
});
Coming soon!
Create Table Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Table(name: string, args: TableArgs, opts?: CustomResourceOptions);
@overload
def Table(resource_name: str,
args: TableArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Table(resource_name: str,
opts: Optional[ResourceOptions] = None,
keyspace_name: Optional[str] = None,
partition_key_columns: Optional[Sequence[TableColumnArgs]] = None,
clustering_key_columns: Optional[Sequence[TableClusteringKeyColumnArgs]] = None,
auto_scaling_specifications: Optional[TableAutoScalingSpecificationArgs] = None,
default_time_to_live: Optional[int] = None,
encryption_specification: Optional[TableEncryptionSpecificationArgs] = None,
client_side_timestamps_enabled: Optional[bool] = None,
billing_mode: Optional[TableBillingModeArgs] = None,
point_in_time_recovery_enabled: Optional[bool] = None,
regular_columns: Optional[Sequence[TableColumnArgs]] = None,
replica_specifications: Optional[Sequence[TableReplicaSpecificationArgs]] = None,
table_name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewTable(ctx *Context, name string, args TableArgs, opts ...ResourceOption) (*Table, error)
public Table(string name, TableArgs args, CustomResourceOptions? opts = null)
type: aws-native:cassandra:Table
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- 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 - Name for Cassandra keyspace
- Partition
Key List<Pulumi.Columns Aws Native. Cassandra. Inputs. Table Column> - Partition key columns of the table
- Auto
Scaling Pulumi.Specifications Aws Native. Cassandra. Inputs. Table Auto Scaling Specification - The optional auto scaling capacity settings for a table in provisioned capacity mode.
- Billing
Mode Pulumi.Aws Native. Cassandra. Inputs. 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.
- Client
Side boolTimestamps Enabled - Indicates whether client side timestamps are enabled (true) or disabled (false) on the table. False by default, once it is enabled it cannot be disabled again.
- Clustering
Key List<Pulumi.Columns Aws Native. Cassandra. Inputs. Table Clustering Key Column> - Clustering key columns of the table
- 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. Inputs. 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. Inputs. Table Column> - Non-key columns of the table
- Replica
Specifications List<Pulumi.Aws Native. Cassandra. Inputs. Table Replica Specification> The AWS Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per AWS Region. You can do this by configuring the following parameters.
region
: The Region where these settings are applied. (Required)readCapacityUnits
: The provisioned read capacity units. (Optional)readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
- Table
Name string - Name for Cassandra table
- List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource
- Keyspace
Name string - Name for Cassandra keyspace
- Partition
Key []TableColumns Column Args - Partition key columns of the table
- Auto
Scaling TableSpecifications Auto Scaling Specification Args - The optional auto scaling capacity settings for a table in provisioned capacity mode.
- Billing
Mode TableBilling Mode Args 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.
- Client
Side boolTimestamps Enabled - Indicates whether client side timestamps are enabled (true) or disabled (false) on the table. False by default, once it is enabled it cannot be disabled again.
- Clustering
Key []TableColumns Clustering Key Column Args - Clustering key columns of the table
- 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 Args 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 Args - Non-key columns of the table
- Replica
Specifications []TableReplica Specification Args The AWS Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per AWS Region. You can do this by configuring the following parameters.
region
: The Region where these settings are applied. (Required)readCapacityUnits
: The provisioned read capacity units. (Optional)readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
- Table
Name string - Name for Cassandra table
- Tag
Args - An array of key-value pairs to apply to this resource
- keyspace
Name String - Name for Cassandra keyspace
- partition
Key List<TableColumns Column> - Partition key columns of the table
- auto
Scaling TableSpecifications Auto Scaling Specification - The optional auto scaling capacity settings for a table in provisioned capacity mode.
- 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.
- client
Side BooleanTimestamps Enabled - Indicates whether client side timestamps are enabled (true) or disabled (false) on the table. False by default, once it is enabled it cannot be disabled again.
- clustering
Key List<TableColumns Clustering Key Column> - Clustering key columns of the table
- 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
- replica
Specifications List<TableReplica Specification> The AWS Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per AWS Region. You can do this by configuring the following parameters.
region
: The Region where these settings are applied. (Required)readCapacityUnits
: The provisioned read capacity units. (Optional)readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
- table
Name String - Name for Cassandra table
- List<Tag>
- An array of key-value pairs to apply to this resource
- keyspace
Name string - Name for Cassandra keyspace
- partition
Key TableColumns Column[] - Partition key columns of the table
- auto
Scaling TableSpecifications Auto Scaling Specification - The optional auto scaling capacity settings for a table in provisioned capacity mode.
- 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.
- client
Side booleanTimestamps Enabled - Indicates whether client side timestamps are enabled (true) or disabled (false) on the table. False by default, once it is enabled it cannot be disabled again.
- clustering
Key TableColumns Clustering Key Column[] - Clustering key columns of the table
- 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
- replica
Specifications TableReplica Specification[] The AWS Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per AWS Region. You can do this by configuring the following parameters.
region
: The Region where these settings are applied. (Required)readCapacityUnits
: The provisioned read capacity units. (Optional)readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
- table
Name string - Name for Cassandra table
- Tag[]
- An array of key-value pairs to apply to this resource
- keyspace_
name str - Name for Cassandra keyspace
- partition_
key_ Sequence[Tablecolumns Column Args] - Partition key columns of the table
- auto_
scaling_ Tablespecifications Auto Scaling Specification Args - The optional auto scaling capacity settings for a table in provisioned capacity mode.
- billing_
mode TableBilling Mode Args 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.
- client_
side_ booltimestamps_ enabled - Indicates whether client side timestamps are enabled (true) or disabled (false) on the table. False by default, once it is enabled it cannot be disabled again.
- clustering_
key_ Sequence[Tablecolumns Clustering Key Column Args] - Clustering key columns of the table
- 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 Args 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 Args] - Non-key columns of the table
- replica_
specifications Sequence[TableReplica Specification Args] The AWS Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per AWS Region. You can do this by configuring the following parameters.
region
: The Region where these settings are applied. (Required)readCapacityUnits
: The provisioned read capacity units. (Optional)readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
- table_
name str - Name for Cassandra table
- Sequence[Tag
Args] - An array of key-value pairs to apply to this resource
- keyspace
Name String - Name for Cassandra keyspace
- partition
Key List<Property Map>Columns - Partition key columns of the table
- auto
Scaling Property MapSpecifications - The optional auto scaling capacity settings for a table in provisioned capacity mode.
- 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.
- client
Side BooleanTimestamps Enabled - Indicates whether client side timestamps are enabled (true) or disabled (false) on the table. False by default, once it is enabled it cannot be disabled again.
- clustering
Key List<Property Map>Columns - Clustering key columns of the table
- 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
- replica
Specifications List<Property Map> The AWS Region specific settings of a multi-Region table.
For a multi-Region table, you can configure the table's read capacity differently per AWS Region. You can do this by configuring the following parameters.
region
: The Region where these settings are applied. (Required)readCapacityUnits
: The provisioned read capacity units. (Optional)readCapacityAutoScaling
: The read capacity auto scaling settings for the table. (Optional)
- table
Name String - Name for Cassandra table
- List<Property Map>
- An array of key-value pairs to apply to this resource
Outputs
All input properties are implicitly available as output properties. Additionally, the Table resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
TableAutoScalingSetting, TableAutoScalingSettingArgs
- Auto
Scaling boolDisabled - This optional parameter enables auto scaling for the table if set to
false
. - Maximum
Units int - Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- Minimum
Units int - The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- Scaling
Policy Pulumi.Aws Native. Cassandra. Inputs. Table Scaling Policy - Amazon Keyspaces supports the
target tracking
auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.
- Auto
Scaling boolDisabled - This optional parameter enables auto scaling for the table if set to
false
. - Maximum
Units int - Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- Minimum
Units int - The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- Scaling
Policy TableScaling Policy - Amazon Keyspaces supports the
target tracking
auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.
- auto
Scaling BooleanDisabled - This optional parameter enables auto scaling for the table if set to
false
. - maximum
Units Integer - Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- minimum
Units Integer - The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- scaling
Policy TableScaling Policy - Amazon Keyspaces supports the
target tracking
auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.
- auto
Scaling booleanDisabled - This optional parameter enables auto scaling for the table if set to
false
. - maximum
Units number - Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- minimum
Units number - The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- scaling
Policy TableScaling Policy - Amazon Keyspaces supports the
target tracking
auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.
- auto_
scaling_ booldisabled - This optional parameter enables auto scaling for the table if set to
false
. - maximum_
units int - Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- minimum_
units int - The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- scaling_
policy TableScaling Policy - Amazon Keyspaces supports the
target tracking
auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.
- auto
Scaling BooleanDisabled - This optional parameter enables auto scaling for the table if set to
false
. - maximum
Units Number - Manage costs by specifying the maximum amount of throughput to provision. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- minimum
Units Number - The minimum level of throughput the table should always be ready to support. The value must be between 1 and the max throughput per second quota for your account (40,000 by default).
- scaling
Policy Property Map - Amazon Keyspaces supports the
target tracking
auto scaling policy. With this policy, Amazon Keyspaces auto scaling ensures that the table's ratio of consumed to provisioned capacity stays at or near the target value that you specify. You define the target value as a percentage between 20 and 90.
TableAutoScalingSpecification, TableAutoScalingSpecificationArgs
- Read
Capacity Pulumi.Auto Scaling Aws Native. Cassandra. Inputs. Table Auto Scaling Setting - The auto scaling settings for the table's read capacity.
- Write
Capacity Pulumi.Auto Scaling Aws Native. Cassandra. Inputs. Table Auto Scaling Setting - The auto scaling settings for the table's write capacity.
- Read
Capacity TableAuto Scaling Auto Scaling Setting - The auto scaling settings for the table's read capacity.
- Write
Capacity TableAuto Scaling Auto Scaling Setting - The auto scaling settings for the table's write capacity.
- read
Capacity TableAuto Scaling Auto Scaling Setting - The auto scaling settings for the table's read capacity.
- write
Capacity TableAuto Scaling Auto Scaling Setting - The auto scaling settings for the table's write capacity.
- read
Capacity TableAuto Scaling Auto Scaling Setting - The auto scaling settings for the table's read capacity.
- write
Capacity TableAuto Scaling Auto Scaling Setting - The auto scaling settings for the table's write capacity.
- read_
capacity_ Tableauto_ scaling Auto Scaling Setting - The auto scaling settings for the table's read capacity.
- write_
capacity_ Tableauto_ scaling Auto Scaling Setting - The auto scaling settings for the table's write capacity.
- read
Capacity Property MapAuto Scaling - The auto scaling settings for the table's read capacity.
- write
Capacity Property MapAuto Scaling - The auto scaling settings for the table's write capacity.
TableBillingMode, TableBillingModeArgs
- 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 .
TableClusteringKeyColumn, TableClusteringKeyColumnArgs
- Column
Pulumi.
Aws Native. Cassandra. Inputs. Table Column - The name and data type of this clustering key column.
- Order
By Pulumi.Aws Native. Cassandra. Table Clustering Key Column Order By - The order in which this column's data is stored:
ASC
(default) - The column's data is stored in ascending order.DESC
- The column's data is stored in descending order.
- Column
Table
Column - The name and data type of this clustering key column.
- Order
By TableClustering Key Column Order By - The order in which this column's data is stored:
ASC
(default) - The column's data is stored in ascending order.DESC
- The column's data is stored in descending order.
- column
Table
Column - The name and data type of this clustering key column.
- order
By TableClustering Key Column Order By - The order in which this column's data is stored:
ASC
(default) - The column's data is stored in ascending order.DESC
- The column's data is stored in descending order.
- column
Table
Column - The name and data type of this clustering key column.
- order
By TableClustering Key Column Order By - The order in which this column's data is stored:
ASC
(default) - The column's data is stored in ascending order.DESC
- The column's data is stored in descending order.
- column
Table
Column - The name and data type of this clustering key column.
- order_
by TableClustering Key Column Order By - The order in which this column's data is stored:
ASC
(default) - The column's data is stored in ascending order.DESC
- The column's data is stored in descending order.
- column Property Map
- The name and data type of this clustering key column.
- order
By "ASC" | "DESC" - The order in which this column's data is stored:
ASC
(default) - The column's data is stored in ascending order.DESC
- The column's data is stored in descending order.
TableClusteringKeyColumnOrderBy, TableClusteringKeyColumnOrderByArgs
- Asc
- ASC
- Desc
- DESC
- Table
Clustering Key Column Order By Asc - ASC
- Table
Clustering Key Column Order By Desc - DESC
- Asc
- ASC
- Desc
- DESC
- Asc
- ASC
- Desc
- DESC
- ASC
- ASC
- DESC
- DESC
- "ASC"
- ASC
- "DESC"
- DESC
TableColumn, TableColumnArgs
- 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, TableEncryptionSpecificationArgs
- 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, TableEncryptionTypeArgs
- Aws
Owned Kms Key - AWS_OWNED_KMS_KEY
- Customer
Managed Kms Key - CUSTOMER_MANAGED_KMS_KEY
- Table
Encryption Type Aws Owned Kms Key - AWS_OWNED_KMS_KEY
- Table
Encryption Type Customer Managed Kms Key - CUSTOMER_MANAGED_KMS_KEY
- Aws
Owned Kms Key - AWS_OWNED_KMS_KEY
- Customer
Managed Kms Key - CUSTOMER_MANAGED_KMS_KEY
- Aws
Owned Kms Key - AWS_OWNED_KMS_KEY
- Customer
Managed Kms Key - CUSTOMER_MANAGED_KMS_KEY
- AWS_OWNED_KMS_KEY
- AWS_OWNED_KMS_KEY
- CUSTOMER_MANAGED_KMS_KEY
- CUSTOMER_MANAGED_KMS_KEY
- "AWS_OWNED_KMS_KEY"
- AWS_OWNED_KMS_KEY
- "CUSTOMER_MANAGED_KMS_KEY"
- CUSTOMER_MANAGED_KMS_KEY
TableMode, TableModeArgs
- Provisioned
- PROVISIONED
- On
Demand - ON_DEMAND
- Table
Mode Provisioned - PROVISIONED
- Table
Mode On Demand - ON_DEMAND
- Provisioned
- PROVISIONED
- On
Demand - ON_DEMAND
- Provisioned
- PROVISIONED
- On
Demand - ON_DEMAND
- PROVISIONED
- PROVISIONED
- ON_DEMAND
- ON_DEMAND
- "PROVISIONED"
- PROVISIONED
- "ON_DEMAND"
- ON_DEMAND
TableProvisionedThroughput, TableProvisionedThroughputArgs
- 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 .
TableReplicaSpecification, TableReplicaSpecificationArgs
- Region string
- The AWS Region.
- Read
Capacity Pulumi.Auto Scaling Aws Native. Cassandra. Inputs. Table Auto Scaling Setting - The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.
- Read
Capacity intUnits - The provisioned read capacity units for the multi-Region table in the specified AWS Region.
- Region string
- The AWS Region.
- Read
Capacity TableAuto Scaling Auto Scaling Setting - The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.
- Read
Capacity intUnits - The provisioned read capacity units for the multi-Region table in the specified AWS Region.
- region String
- The AWS Region.
- read
Capacity TableAuto Scaling Auto Scaling Setting - The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.
- read
Capacity IntegerUnits - The provisioned read capacity units for the multi-Region table in the specified AWS Region.
- region string
- The AWS Region.
- read
Capacity TableAuto Scaling Auto Scaling Setting - The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.
- read
Capacity numberUnits - The provisioned read capacity units for the multi-Region table in the specified AWS Region.
- region str
- The AWS Region.
- read_
capacity_ Tableauto_ scaling Auto Scaling Setting - The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.
- read_
capacity_ intunits - The provisioned read capacity units for the multi-Region table in the specified AWS Region.
- region String
- The AWS Region.
- read
Capacity Property MapAuto Scaling - The read capacity auto scaling settings for the multi-Region table in the specified AWS Region.
- read
Capacity NumberUnits - The provisioned read capacity units for the multi-Region table in the specified AWS Region.
TableScalingPolicy, TableScalingPolicyArgs
- Target
Tracking Pulumi.Scaling Policy Configuration Aws Native. Cassandra. Inputs. Table Target Tracking Scaling Policy Configuration - The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.
- Target
Tracking TableScaling Policy Configuration Target Tracking Scaling Policy Configuration - The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.
- target
Tracking TableScaling Policy Configuration Target Tracking Scaling Policy Configuration - The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.
- target
Tracking TableScaling Policy Configuration Target Tracking Scaling Policy Configuration - The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.
- target_
tracking_ Tablescaling_ policy_ configuration Target Tracking Scaling Policy Configuration - The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.
- target
Tracking Property MapScaling Policy Configuration - The auto scaling policy that scales a table based on the ratio of consumed to provisioned capacity.
TableTargetTrackingScalingPolicyConfiguration, TableTargetTrackingScalingPolicyConfigurationArgs
- Target
Value int Specifies the target value for the target tracking auto scaling policy.
Amazon Keyspaces auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. This ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You define
targetValue
as a percentage. Aninteger
between 20 and 90.- Disable
Scale boolIn Specifies if
scale-in
is enabled.When auto scaling automatically decreases capacity for a table, the table scales in . When scaling policies are set, they can't scale in the table lower than its minimum capacity.
- Scale
In intCooldown Specifies a
scale-in
cool down period.A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- Scale
Out intCooldown Specifies a scale out cool down period.
A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- Target
Value int Specifies the target value for the target tracking auto scaling policy.
Amazon Keyspaces auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. This ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You define
targetValue
as a percentage. Aninteger
between 20 and 90.- Disable
Scale boolIn Specifies if
scale-in
is enabled.When auto scaling automatically decreases capacity for a table, the table scales in . When scaling policies are set, they can't scale in the table lower than its minimum capacity.
- Scale
In intCooldown Specifies a
scale-in
cool down period.A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- Scale
Out intCooldown Specifies a scale out cool down period.
A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- target
Value Integer Specifies the target value for the target tracking auto scaling policy.
Amazon Keyspaces auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. This ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You define
targetValue
as a percentage. Aninteger
between 20 and 90.- disable
Scale BooleanIn Specifies if
scale-in
is enabled.When auto scaling automatically decreases capacity for a table, the table scales in . When scaling policies are set, they can't scale in the table lower than its minimum capacity.
- scale
In IntegerCooldown Specifies a
scale-in
cool down period.A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- scale
Out IntegerCooldown Specifies a scale out cool down period.
A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- target
Value number Specifies the target value for the target tracking auto scaling policy.
Amazon Keyspaces auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. This ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You define
targetValue
as a percentage. Aninteger
between 20 and 90.- disable
Scale booleanIn Specifies if
scale-in
is enabled.When auto scaling automatically decreases capacity for a table, the table scales in . When scaling policies are set, they can't scale in the table lower than its minimum capacity.
- scale
In numberCooldown Specifies a
scale-in
cool down period.A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- scale
Out numberCooldown Specifies a scale out cool down period.
A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- target_
value int Specifies the target value for the target tracking auto scaling policy.
Amazon Keyspaces auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. This ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You define
targetValue
as a percentage. Aninteger
between 20 and 90.- disable_
scale_ boolin Specifies if
scale-in
is enabled.When auto scaling automatically decreases capacity for a table, the table scales in . When scaling policies are set, they can't scale in the table lower than its minimum capacity.
- scale_
in_ intcooldown Specifies a
scale-in
cool down period.A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- scale_
out_ intcooldown Specifies a scale out cool down period.
A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- target
Value Number Specifies the target value for the target tracking auto scaling policy.
Amazon Keyspaces auto scaling scales up capacity automatically when traffic exceeds this target utilization rate, and then back down when it falls below the target. This ensures that the ratio of consumed capacity to provisioned capacity stays at or near this value. You define
targetValue
as a percentage. Aninteger
between 20 and 90.- disable
Scale BooleanIn Specifies if
scale-in
is enabled.When auto scaling automatically decreases capacity for a table, the table scales in . When scaling policies are set, they can't scale in the table lower than its minimum capacity.
- scale
In NumberCooldown Specifies a
scale-in
cool down period.A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
- scale
Out NumberCooldown Specifies a scale out cool down period.
A cooldown period in seconds between scaling activities that lets the table stabilize before another scaling activity starts.
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.