Book Image

AWS Certified Developer - Associate Guide - Second Edition

By : Vipul Tankariya, Bhavin Parmar
5 (2)
Book Image

AWS Certified Developer - Associate Guide - Second Edition

5 (2)
By: Vipul Tankariya, Bhavin Parmar

Overview of this book

This book will focus on the revised version of AWS Certified Developer Associate exam. The 2019 version of this exam guide includes all the recent services and offerings from Amazon that benefits developers. AWS Certified Developer - Associate Guide starts with a quick introduction to AWS and the prerequisites to get you started. Then, this book will describe about getting familiar with Identity and Access Management (IAM) along with Virtual private cloud (VPC). Next, this book will teach you about microservices, serverless architecture, security best practices, advanced deployment methods and more. Going ahead we will take you through AWS DynamoDB A NoSQL Database Service, Amazon Simple Queue Service (SQS) and CloudFormation Overview. Lastly, this book will help understand Elastic Beanstalk and will also walk you through AWS lambda. At the end of this book, we will cover enough topics, tips and tricks along with mock tests for you to be able to pass the AWS Certified Developer - Associate exam and develop as well as manage your applications on the AWS platform.
Table of Contents (30 chapters)
Free Chapter
1
Overview of AWS Certified Developer - Associate Certification

Environment variables

Reusable and efficient code often requires passing dynamic values at runtime. These runtime values may be environment types, file paths, path to store logs, table names, and more. With the help of environment variables, Lambda functions allow us to pass dynamic values at runtime. As a result, the code becomes reusable without making any changes to it.

Environment variables are key-value pairs and these key-value pairs are encrypted/decrypted using the AWS Key Management System (KMS). Key-value pairs can be defined at the time of creating a Lambda function. Externally configured environment variables are also accessible within the Lambda function, using standard APIs supported by the different programming languages. For example, Node.js functions can access environment variables using process.env, where process.env refers to an object in Node.js. In Node...