WA3045

Using TypeScript to Manipulate AWS CDK Training

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.
Course Details

Duration

1 day

Prerequisites

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

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
Course Outline
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
Upcoming Course Dates
USD $680
Online Virtual Class
Scheduled
Date: Apr 29, 2024
Time: 10 AM - 6 PM ET