Guided Walkthroughs

Configuration Packages

AI CloudAdvisor (Beta)

By Implementation

Service Control PoliciesConfig RulesAuto Remediation RulesConformance PacksAmazon GuardDutyAmazon InspectorAWS Security HubAWS Network FirewallRoute53 Resolver SecurityAmazon MacieS3 Bucket PoliciesCloudWatch Alarms and Event RulesAWS WAFAWS Secrets ManagerAWS Systems ManagerSecurity Groups & NACLsAWS KMSAWS SSOIAM PoliciesVPC Endpoint PoliciesCloudFormation Guard RulesLoad BalancersRDS Event SubscriptionsAWS Resource Access Manager (RAM)

By Service Protected

Reference Guides


Lambda Security

Lambda Function

Configuration template to create a Lambda Function. The template includes options to customize the function's settings such as name, runtime, code location (inline, ZIP or S3), memory size, timeout, environment variables, and more. 

Settings for customizing the template include:

  • Lambda Function Name and Description
  • IAM Role Arn: Lambda function execution IAM role Arn
  • Runtime to specify the programming language and version for the Lambda function, options include python, nodejs, .Net, ruby, and more
  • Handler to specify the entry method in the Lambda function's code
  • Code Type specifies how to reference the code for the function. There are different options that can be supported depending on the runtime:
    • S3: Reference the code package on S3 by providing a bucket name and key name
    • Inline: Includes the code within the template (Limited to a single file and cannot exceed a certain size limit)
    • Zip File (Terraform and CLI): references a local zip on the machine
  • KMS Key Arn to optionally encrypt the functions' environment variables
  • Memory Size (MB): The amount of memory available to the function at runtime. Increasing the function memory also increases its CPU allocation.
  • Timeout (seconds)
  • Environment Variables are key/value pairs that are passed to the lambda function at runtime
Try out CloudAdvisor: An AI-Powered Assistant for AWS Cloud

0.3 KB
Missing Parameters
AWSTemplateFormatVersion: "2010-09-09"
Description: ""
    Type: "AWS::Lambda::Function"
      Role: ""
      PackageType: "Zip"
      Runtime: "python3.9"
      Handler: ""
        S3Bucket: ""
        S3Key: ""
      MemorySize: 128
      Timeout: 3
Parameters: {}
Metadata: {}
Conditions: {}


Customize Template

* Required field

Upgrade to Premium for More Features
Sign up

Guided Walkthroughs
Step-by-step configuration wizards for your environment
Dedicated Security Account
AWS Backup Strategy
VPC Connectivity Setup
Automated Patching
All Guides
Configuration Packages
Pre-built packages for common configuration
Common SCPs
CloudFormation Guard Rules
Auto Remediation Rules
IAM Monitoring & Compliance
All Packages
Automated Assessments
  • 350+ security checks
  • Well-architected reviews
  • Detailed compliance reports
  • Remediation templates
  • Email summaries
  • Learn more