Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class GlobalTable : KotlinCustomResource

Version: None. Resource Type definition for AWS::DynamoDB::GlobalTable

Link copied to clipboard
data class GlobalTableArgs(val attributeDefinitions: Output<List<GlobalTableAttributeDefinitionArgs>>? = null, val billingMode: Output<String>? = null, val globalSecondaryIndexes: Output<List<GlobalTableGlobalSecondaryIndexArgs>>? = null, val keySchema: Output<List<GlobalTableKeySchemaArgs>>? = null, val localSecondaryIndexes: Output<List<GlobalTableLocalSecondaryIndexArgs>>? = null, val replicas: Output<List<GlobalTableReplicaSpecificationArgs>>? = null, val sseSpecification: Output<GlobalTableSseSpecificationArgs>? = null, val streamSpecification: Output<GlobalTableStreamSpecificationArgs>? = null, val tableName: Output<String>? = null, val timeToLiveSpecification: Output<GlobalTableTimeToLiveSpecificationArgs>? = null, val writeOnDemandThroughputSettings: Output<GlobalTableWriteOnDemandThroughputSettingsArgs>? = null, val writeProvisionedThroughputSettings: Output<GlobalTableWriteProvisionedThroughputSettingsArgs>? = null) : ConvertibleToJava<GlobalTableArgs>

Version: None. Resource Type definition for AWS::DynamoDB::GlobalTable

Link copied to clipboard
Link copied to clipboard
object GlobalTableMapper : ResourceMapper<GlobalTable>
Link copied to clipboard
Link copied to clipboard
class Table : KotlinCustomResource

The `AWS::DynamoDB::Table` resource creates a DDB table. For more information, see CreateTable in the API Reference. You should be aware of the following behaviors when working with DDB tables:

Link copied to clipboard
data class TableArgs(val attributeDefinitions: Output<List<TableAttributeDefinitionArgs>>? = null, val billingMode: Output<String>? = null, val contributorInsightsSpecification: Output<TableContributorInsightsSpecificationArgs>? = null, val deletionProtectionEnabled: Output<Boolean>? = null, val globalSecondaryIndexes: Output<List<TableGlobalSecondaryIndexArgs>>? = null, val importSourceSpecification: Output<TableImportSourceSpecificationArgs>? = null, val keySchema: Output<Either<List<TableKeySchemaArgs>, Any>>? = null, val kinesisStreamSpecification: Output<TableKinesisStreamSpecificationArgs>? = null, val localSecondaryIndexes: Output<List<TableLocalSecondaryIndexArgs>>? = null, val onDemandThroughput: Output<TableOnDemandThroughputArgs>? = null, val pointInTimeRecoverySpecification: Output<TablePointInTimeRecoverySpecificationArgs>? = null, val provisionedThroughput: Output<TableProvisionedThroughputArgs>? = null, val resourcePolicy: Output<TableResourcePolicyArgs>? = null, val sseSpecification: Output<TableSseSpecificationArgs>? = null, val streamSpecification: Output<TableStreamSpecificationArgs>? = null, val tableClass: Output<String>? = null, val tableName: Output<String>? = null, val tags: Output<List<TagArgs>>? = null, val timeToLiveSpecification: Output<TableTimeToLiveSpecificationArgs>? = null) : ConvertibleToJava<TableArgs>

The `AWS::DynamoDB::Table` resource creates a DDB table. For more information, see CreateTable in the API Reference. You should be aware of the following behaviors when working with DDB tables:

Link copied to clipboard

Builder for TableArgs.

Link copied to clipboard
object TableMapper : ResourceMapper<Table>
Link copied to clipboard

Builder for Table.

Functions

Link copied to clipboard
suspend fun globalTable(name: String, block: suspend GlobalTableResourceBuilder.() -> Unit): GlobalTable
Link copied to clipboard
fun table(name: String): Table
suspend fun table(name: String, block: suspend TableResourceBuilder.() -> Unit): Table