Skip to content
Proud to collaborate with Microsoft for Startups

aws.dynamodb.create_table ​

Call AWS DynamoDB CreateTable using a CloudConnection UUID.

Overview ​

PropertyValue
Workflow typeAtomic
LibraryBase-aws
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidYes—Authenticated organization UUID used for field resolution and connection scoping.
connection_uuiduuidYes—AWS CloudConnection UUID for the target DynamoDB account, scoped to the caller organization.
workflow_run_idstringNo—Engine DAG run ID stamped onto child steps.
regionstringNo—AWS API endpoint region override; omit to use the connection or SDK default.
attribute_definitionslistNo—An array of attributes that describe the key schema for the table and indexes.
table_namestringYes—The name of the table to create. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
key_schemalistNo—Specifies the attributes that make up the primary key for a table or an index. The attributes in KeySchema must also be defined in the AttributeDefinitions array. For more information, see Data Mod...
local_secondary_indexeslistNo—One or more local secondary indexes (the maximum is 5) to be created on the table. Each index is scoped to a given partition key value. There is a 10 GB size limit per partition key value; otherwis...
global_secondary_indexeslistNo—One or more global secondary indexes (the maximum is 20) to be created on the table. Each global secondary index in the array includes the following: IndexName - The name of the global secondary in...
billing_modestringNo—Controls how you are charged for read and write throughput and how you manage capacity. This setting can be changed later. PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for most DynamoDB wor...
provisioned_throughputjsonNo—Represents the provisioned throughput settings for a specified table or index. The settings can be modified using the UpdateTable operation. If you set BillingMode as PROVISIONED, you must specify...
stream_specificationjsonNo—The settings for DynamoDB Streams on the table. These settings consist of: StreamEnabled - Indicates whether DynamoDB Streams is to be enabled (true) or disabled (false). StreamViewType - When an i...
sse_specificationjsonNo—Represents the settings used to enable server-side encryption.
tagslistNo—A list of key-value pairs to label the table. For more information, see Tagging for DynamoDB.
table_classstringNo—The table class of the new table. Valid values are STANDARD and STANDARD_INFREQUENT_ACCESS.
deletion_protection_enabledbooleanNo—Indicates whether deletion protection is to be enabled (true) or disabled (false) on the table.
warm_throughputjsonNo—Represents the warm throughput (in read units per second and write units per second) for creating a table.
resource_policystringNo—An Amazon Web Services resource-based policy document in JSON format that will be attached to the table. When you attach a resource-based policy while creating a table, the policy application is st...
on_demand_throughputjsonNo—Sets the maximum number of read and write units for the specified table in on-demand capacity mode. If you use this parameter, you must specify MaxReadRequestUnits, MaxWriteRequestUnits, or both.
global_table_source_arnstringNo—The Amazon Resource Name (ARN) of the source table used for the creation of a multi-account global table.
global_table_settings_replication_modestringNo—Controls the settings synchronization mode for the global table. For multi-account global tables, this parameter is required and the only supported value is ENABLED. For same-account global tables,...
provider_native_requestjsonNo—Optional provider-native request overrides for AWS parameters not yet promoted to first-class fields.

Output Schema ​

FieldTypeRequiredDefaultDescription
organization_uuiduuidNo—Organization UUID echoed from input.
connection_uuiduuidNo—AWS CloudConnection UUID echoed from input.
regionstringNo—AWS API endpoint region used.
servicestringNo—AWS boto3 service/client name.
operationstringNo—AWS API operation invoked.
request_idstringNo—AWS request ID when available.
responsejsonNo—Sanitized provider response object.
itemslistNo—Primary response item list when the API returns a collection.
result_countintegerNo—Count of primary response items.
next_page_tokenstringNo—Pagination token for the next page.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Failed DAG layer if engine supplies one.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "aws.dynamodb.create_table",
  "initial_data": {
    "organization_uuid": "value",
    "connection_uuid": "value",
    "table_name": "value"
  }
}