From the course: AWS Certified Advanced Networking – Specialty (ANS-C01) Cert Prep: 2 Network Implementation
Unlock this course with a free trial
Join today to access over 24,600 courses taught by industry experts.
Command line interface demo - Amazon Web Services (AWS) Tutorial
From the course: AWS Certified Advanced Networking – Specialty (ANS-C01) Cert Prep: 2 Network Implementation
Command line interface demo
The AWS CloudShell is a great place to use the AWS CLI So if you type in a deep AWS help, you'll get a help menu here that shows the different things you can do with the AWS tools. One of the things that's a great use case for it is to invoke other services very quickly from the command line. Let's go over to Lambda and let's test this out. So I'm going to go ahead and call this MarcoPoloCLI, and I'm going to go ahead and choose Python runtime and create a function. Let's go ahead and change this up. And I'm going to change this to be a very simple function. And we'll go ahead and do this. We can say if events name is equal to Marco, return back. name Polo. Otherwise, let's just return back name No. All right. So we've got this application. I'm going to go out and deploy it. I'm going to build a test event here. And if we go ahead and we build this test event and we call this one Marco, we can just really quickly test it out and just say name. And say Marco, and this should return…
Contents
-
-
Overview29s
-
(Locked)
Infrastructure as code demo3m 30s
-
Hybrid environment1m 23s
-
Evaluate authorization5m 44s
-
(Locked)
Monitoring and logging1m 47s
-
(Locked)
Route 532m 11s
-
(Locked)
AWS Boto3 Cloud9 Code Whisper demo5m 3s
-
(Locked)
Command line interface demo3m 28s
-
(Locked)
What is continuous delivery?2m 50s
-
(Locked)
Python CDK6m 57s
-