Skip to content

Instantly share code, notes, and snippets.

@yetanotherchris
Created August 3, 2020 12:03
Show Gist options
  • Select an option

  • Save yetanotherchris/2bcb981f14abb9fd79d286c47da61595 to your computer and use it in GitHub Desktop.

Select an option

Save yetanotherchris/2bcb981f14abb9fd79d286c47da61595 to your computer and use it in GitHub Desktop.
A few AWS command lines
aws s3api create-bucket --bucket MYBUCKET --create-bucket-configuration LocationConstraint=eu-west-1
aws s3api put-object --bucket MYBUCKET --key myfile.txt --body .\myfile.txt
aws dynamodb create-table --table-name {YOURTABLE} &
--attribute-definitions AttributeName={SOME-STRING-ID},AttributeType=S AttributeName={SOME-NUMBER-ID},AttributeType=N &
--key-schema AttributeName={SOME-STRING-ID},KeyType=HASH AttributeName={SOME-NUMBER-ID},KeyType=RANGE &
--provisioned-throughput ReadCapacityUnits=5,WriteCapacityUnits=5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment