UNPKG

@altostra/core

Version:

Core library for shared types and logic

24 lines (23 loc) 765 B
import type { AwsResourceCommon } from "../CloudFormation"; import type { ServerlessTags } from "./common"; export declare type SimpleTableType = 'AWS::Serverless::SimpleTable'; export interface SimpleTable extends AwsResourceCommon { Type: SimpleTableType; Properties?: SimpleTableProperties; } export interface SimpleTableProperties { PrimaryKey?: SimpleTableKey; TableName?: string; ProvisionedThroughput?: DynamoDbCapacity; Tags?: ServerlessTags; SSESpecification?: never; } export interface SimpleTableKey { Name: string; Type: SimpleTableKeyType; } export declare type SimpleTableKeyType = 'Binary' | 'Number' | 'String'; export interface DynamoDbCapacity { ReadCapacityUnits: number; WriteCapacityUnits: number; }