Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DynamoDBTables = map[string]*dynamodb.CreateTableInput{ "offlinejobs": &dynamodb.CreateTableInput{ KeySchema: []types.KeySchemaElement{ { AttributeName: aws.String("Id"), KeyType: "HASH", }, }, AttributeDefinitions: []types.AttributeDefinition{ { AttributeName: aws.String("Id"), AttributeType: "N", }, { AttributeName: aws.String("LastModified"), AttributeType: "N", }, { AttributeName: aws.String("Created"), AttributeType: "N", }, { AttributeName: aws.String("Status"), AttributeType: "N", }, }, GlobalSecondaryIndexes: []types.GlobalSecondaryIndex{ { IndexName: aws.String("lastmodified"), KeySchema: []types.KeySchemaElement{ { AttributeName: aws.String("Id"), KeyType: "HASH", }, { AttributeName: aws.String("LastModified"), KeyType: "RANGE", }, }, Projection: &types.Projection{ ProjectionType: "ALL", }, }, { IndexName: aws.String("created"), KeySchema: []types.KeySchemaElement{ { AttributeName: aws.String("Id"), KeyType: "HASH", }, { AttributeName: aws.String("Created"), KeyType: "RANGE", }, }, Projection: &types.Projection{ ProjectionType: "ALL", }, }, { IndexName: aws.String("status"), KeySchema: []types.KeySchemaElement{ { AttributeName: aws.String("Status"), KeyType: "HASH", }, { AttributeName: aws.String("LastModified"), KeyType: "RANGE", }, }, Projection: &types.Projection{ ProjectionType: "ALL", }, }, }, BillingMode: types.BillingModePayPerRequest, }, }
DynamoDBTables is a map whose keys are DynamoDB table names and whose values are `dynamodb.CreateTableInput` instances.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.