copilot help storage init

Creates a new AWS CloudFormation template for a storage resource

Options

NameDescription
--engine <engine>The database engine used in the cluster. Must be either "MySQL" or "PostgreSQL"
--initial-db <initial-db>The initial database to create in the cluster
--lsi <lsi>
  • Repeatable ♾
--name, -n <name>Name of the storage resource to create
--no-lsiOptional. Don't ask about configuring alternate sort keys
--no-sortOptional. Skip configuring sort keys
--parameter-group <parameter-group>Optional. The name of the parameter group to associate with the cluster
--partition-key <partition-key>Partition key for the DDB table. Must be of the format '<keyName>:<dataType>'
--sort-key <sort-key>Optional. Sort key for the DDB table. Must be of the format '<keyName>:<dataType>'
--storage-type, -t <storage-type>Type of storage to add. Must be one of: "DynamoDB", "S3", "Aurora"
--workload, -w <workload>Name of the service or job to associate with storage
--help, -hHelp for command