Aws/cassandra
@swamp/aws/cassandrav2026.10.25.1
01README
AWS CASSANDRA infrastructure models
02Behaviors
@swamp/aws/cassandra/keyspacev2026.10.23.1keyspace.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| KeyspaceName? | string | Name for Cassandra keyspace |
| Tags? | array | |
| ReplicationSpecification? | object | |
| ClientSideTimestampsEnabled? | boolean | Indicates whether client-side timestamps are enabled (true) or disabled (false) for all tables in the keyspace. To add a Region to a single-Region keyspace with at least one table, the value must be set to true. After you enabled client-side timestamps for a table, you can’t disable it again. |
fn create()
Create a Cassandra Keyspace
fn get(identifier: string)
Get a Cassandra Keyspace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Cassandra Keyspace |
fn update()
Update a Cassandra Keyspace
fn delete(identifier: string)
Delete a Cassandra Keyspace
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Cassandra Keyspace |
fn sync()
Sync Cassandra Keyspace state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Cassandra Keyspace resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Cassandra Keyspace resource state
@swamp/aws/cassandra/tablev2026.10.23.1table.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| KeyspaceName | string | Name for Cassandra keyspace |
| TableName? | string | Name for Cassandra table |
| RegularColumns? | array | Non-key columns of the table |
| PartitionKeyColumns | array | Partition key columns of the table |
| ClusteringKeyColumns? | array | Clustering key columns of the table |
| BillingMode? | object | |
| PointInTimeRecoveryEnabled? | boolean | Indicates whether point in time recovery is enabled (true) or disabled (false) on the table |
| ClientSideTimestampsEnabled? | boolean | 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. |
| Tags? | array | An array of key-value pairs to apply to this resource |
| DefaultTimeToLive? | number | Default TTL (Time To Live) in seconds, where zero is disabled. If the value is greater than zero, TTL is enabled for the entire table and an expiration timestamp is added to each column. |
| EncryptionSpecification? | object | Represents the settings used to enable server-side encryption |
| AutoScalingSpecifications? | object | Represents the read and write settings used for AutoScaling. |
| CdcSpecification? | object | Represents the CDC configuration for the table |
| ReplicaSpecifications? | array | |
| WarmThroughput? | object | Warm throughput configuration for the table |
fn create()
Create a Cassandra Table
fn get(identifier: string)
Get a Cassandra Table
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Cassandra Table |
fn update()
Update a Cassandra Table
fn delete(identifier: string)
Delete a Cassandra Table
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Cassandra Table |
fn sync()
Sync Cassandra Table state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Cassandra Table resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Cassandra Table resource state
@swamp/aws/cassandra/typev2026.10.23.1type.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| name | string | Instance name for this resource (used as the unique identifier in the factory pattern) |
| accessKeyId? | string | AWS access key ID; overrides AWS_ACCESS_KEY_ID environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| secretAccessKey? | string | AWS secret access key; overrides AWS_SECRET_ACCESS_KEY environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| sessionToken? | string | AWS session token for temporary credentials; overrides AWS_SESSION_TOKEN environment variable. Wire with a vault.get(...) expression to source it from a vault. |
| region? | string | AWS region; overrides AWS_REGION / AWS_DEFAULT_REGION environment variables and ~/.aws/config profile region. Defaults to us-east-1. |
| KeyspaceName | string | Name of the Keyspace which contains the User-Defined Type. |
| TypeName | string | Name of the User-Defined Type. |
| Fields | array | Field definitions of the User-Defined Type |
fn create()
Create a Cassandra Type
fn get(identifier: string)
Get a Cassandra Type
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Cassandra Type |
fn delete(identifier: string)
Delete a Cassandra Type
| Argument | Type | Description |
|---|---|---|
| identifier | string | The primary identifier of the Cassandra Type |
fn sync()
Sync Cassandra Type state from AWS
fn list(maxPages?: number, resourceModel?: string)
List Cassandra Type resources
| Argument | Type | Description |
|---|---|---|
| maxPages? | number | Maximum number of pages to fetch (default: 10) |
| resourceModel? | string | JSON resource model for parent-scoped listing (e.g. parent identifier) |
Resources
state(infinite)— Cassandra Type resource state
03Previous Versions
2026.10.24.1AGPL-3.0-or-later
2026.10.23.1AGPL-3.0-or-later(was none)
- Updated: keyspace, table, type
2026.10.13.1
- Updated: keyspace, table, type
2026.10.08.1
2026.10.06.1
2026.10.04.1
2026.10.03.1
2026.10.02.1
2026.10.01.1
2026.09.30.1
2026.09.29.1
2026.09.28.1
2026.09.27.1
2026.09.26.1
2026.09.25.1
2026.09.24.1
2026.09.23.1
2026.09.22.1
2026.09.21.1
04Stats
A
100 / 100
Downloads
36
Archive size
621.8 KB
Verified by Swamp
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Docs keep secrets in a vault1/1earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License2/2earned
- Verified public repository2/2earned
05Platforms
06Labels