8108  Reviews star_rate star_rate star_rate star_rate star_half

Using TypeScript to Manipulate AWS CDK

This Manipulating AWS CDK with Typescript training course covers AWS assets like S3 Buckets and Lambdas using TypeScript. Attendees learn how to deploy, manage, and remove them from an AWS account...

Read More
$680 USD
Course Code WA3045
Duration 1 day
Available Formats Classroom, Virtual

This Manipulating AWS CDK with Typescript training course covers AWS assets like S3 Buckets and Lambdas using TypeScript. Attendees learn how to deploy, manage, and remove them from an AWS account using CDK commands.

Skills Gained

  • Understand AWS CDK Setup and Configuration
  • Implement a CDK Workflow
  • Understand AWS Constructs
  • Work with TypeScript
  • Understand AWS Cloud Formation Concepts
  • Use CDK to Manage Buckets and Files
  • Define and Deploying Lambdas
  • Perform Unit Testing of TypeScript Projects using Jest

Prerequisites

  • Basic knowledge of JavaScript programming
  • Working knowledge of core AWS services and public cloud implementation
  • Experience using AWS services’ web consoles.

Course Details

Outline

Chapter 1 - Introduction to the AWS CDK

  • AWS Cloud Development Kit
  • AWS Cloud Resources
  • Using AWS Cloud Resources
  • Provisioning Cloud Applications
  • Automation
  • CDK Workflow
  • AWS Cloud Formation Stacks
  • Constructs
  • AWS Construct Library
  • Construct Types
  • The AWS Cloud Development Kit (CDK)
  • CDK CLI Commands
  • CDK bootstrap
  • CDK init Command
  • Compatible Programming Languages
  • CDK Code
  • TypeScript Compilation
  • CDK Synth Command
  • CDK Deploy Command
  • Summary

Chapter 2 - AWS CloudFormation and Stacks

  • What is CloudFormation?
  • CloudFormation WebConsole
  • Templates
  • CloudFormation Designer
  • The Designer Resource GUI
  • The Designer Template Editor
  • Sample Templates
  • Resource Stacks
  • Resource Types
  • Deploying Stacks
  • Updating Stacks
  • Updating a Stack Directly
  • Updating Using Change Sets
  • Deleting Stacks
  • DELETE_FAILED when Deleting a Stack
  • Summary

Chapter 3 - TypeScript Basics

  • What is TypeScript
  • TypeScript vs. JavaScript
  • Benefits of TypeScript
  • TypeScript Support
  • Setting up a Standalone TypeScript Development Environment
  • TypeScript Features
  • The Type System – Defining Variables
  • The Type System – Defining Arrays
  • Type in Functions
  • Type Inference
  • Defining Classes and Functions
  • Class Methods
  • Visibility Control
  • Class Constructors
  • Class Constructors – Alternate Form
  • Arrow Functions
  • Importing and Exporting Code
  • Arrow Function Compact Syntax
  • let and const
  • 'var' Variable Scope
  • 'let' Variable Scope
  • The 'const' keyword
  • Template Strings
  • Code Modules
  • Basic Export/Import Syntax
  • Export Statements
  • Import Statements
  • Programming Editors
  • Summary

Chapter 4 - AWS CDK Setup

  • Setup Overview
  • HW/SW Environment
  • Accounts, Credentials & Permissions
  • AWS-CLI installation
  • aws configure
  • Some aws-cli Commands
  • AWS-CDK installation
  • Some cdk Commands
  • Initializing a CDK Project
  • cdk bootstrap and CDKToolkit
  • Removing CDKToolkit
  • AWS Toolkit for Visual Studio Code
  • AWS Toolkit for VSC - Explorer
  • AWS Toolkit for VSC - Commands
  • Summary

Chapter 5 - Working with S3 in the AWS CDK

  • S3 Overview
  • Managing Buckets and Files
  • The AWS-CDK
  • The CDK Application Project
  • The app-stack Code File
  • Create a Basic S3 Bucket
  • Setting Properties on a Construct
  • Construct Properties
  • removalPolicy
  • versioned Property
  • bucketName
  • websiteIndexDocument Property
  • S3 Bucket Website URL
  • Deploying the Stack/Bucket
  • Deploy files to a Bucket
  • The BucketDeployment Object
  • File prefixes
  • Summary

Chapter 6 - Programming Lambdas in the AWS CDK

  • AWS Lambda Overview
  • Managing AWS Lambdas
  • The AWS-CDK
  • The CDK Application Project
  • The app-stack Code File
  • Create a Basic Lambda
  • The lambda.Function Construct
  • Function Construct Properties
  • The lambda function
  • Deploying a Lambda
  • Testing a Lambda in the Lambda Web Console
  • Invoking a Lambda using AWS-CLI
  • Invoke Lambda via REST API Endpoint 1/2
  • Invoke Lambda via REST API Endpoint 2/2
  • Summary

Chapter 7 - Unit Testing with Jest

  • Jest Testing Framework
  • Jest is Installed with Various Frameworks
  • Unit Tests
  • Anatomy of a Unit Test
  • Example Test Function
  • Common Matchers
  • Test Suites
  • Setup and Teardown
  • Running Tests
  • Running Tests in Watch Mode
  • Running Tests with Code Coverage
  • Testing async code with done
  • Testing Promise-Based Async Code
  • Summary

Lab Exercises

  • Lab 1. AWS CloudFormation Basics
  • Lab 2. Working with TypeScript
  • Lab 3. Introduction to the AWS CDK
  • Lab 4. Working with the AWS CDK
  • Lab 5. TypeScript Unit Testing in Jest
|
View Full Schedule