2023-05-15 15:25:28 -07:00

1010 B

title, meta_desc, meta_image, service, description, aws_here, menu, aliases
title meta_desc meta_image service description aws_here menu aliases
Creating an AWS DynamoDB Data Service with Pulumi Learn how to use Pulumi to define an AWS DynamoDB resource which can then be deployed to AWS and managed as infrastructure as code. /images/docs/service/aws-dynamodb.png DynamoDB is a fast and flexible nonrelational database service for all applications that need consistent, single-digit millisecond latency at any scale https://aws.amazon.com/dynamodb/
aws
name parent
DynamoDB aws-guides
/docs/aws/dynamodb/

Create an AWS DynamoDB resource using @pulumi/aws

The @pulumi/aws library enables fine-grained control over the AWS DynamoDB resource meaning it can be coded, deployed, and managed entirely in code.

const aws = require("@pulumi/aws");

const db = new aws.dynamodb.Table("mytable", {
    attributes: [
        { name: "Id", type: "S" },
    ],
    hashKey: "Id",
    readCapacity: 1,
    writeCapacity: 1,
});