Description: Create the function that processes requests from the Amazon Alexa service. Parameters: SkillDescription: AllowedPattern: '[A-Za-z0-9-_ .,]+' Default: Backend logic for the basic fact skill built using the ASK SDK for Python 3.6. Type: String Description: The description used for the AWS Lambda Function. ConstraintDescription: The Skill Description must only contain letters, numbers, spaces, periods, commas, hyphens and underscores. SkillFunctionName: AllowedPattern: '[A-Za-z0-9-_]+' Description: The name of the AWS Lambda Function. A unique number will be appended to the end of the skill name to avoid name collisions. MaxLength: 50 Default: ask-python36-fact Type: String ConstraintDescription: The Skill Function Name must only contain letters, numbers, hyphens and underscores. AWSTemplateFormatVersion: '2010-09-09' Outputs: LambdaFunctionArn: Description: Alexa Skill ARN Value: Fn::GetAtt: - FactSkillSampleForAlexaSkillsKit - Arn Transform: AWS::Serverless-2016-10-31 Resources: FactSkillSampleForAlexaSkillsKit: Type: AWS::Serverless::Function Properties: Layers: - arn:aws:lambda:us-east-1:173334852312:layer:ask-sdk-for-python-36:1 Description: Fn::Join: - ' ' - - Ref: SkillDescription - 'Stack name:' - Ref: AWS::StackName MemorySize: 128 Handler: lambda_function.lambda_handler Timeout: 8 CodeUri: Bucket: <%REPO_BUCKET%> Key: 61fe05d1-8872-4326-be91-eaec92a186dc Runtime: python3.6 Events: AlexaTrigger: Type: AlexaSkill FunctionName: Fn::Join: - '-' - - Ref: SkillFunctionName - Fn::Select: - 4 - Fn::Split: - '-' - Fn::Select: - 2 - Fn::Split: - / - Ref: AWS::StackId Metadata: Name: alexa-skills-kit-python36-fact AWS::CloudFormation::Interface: ParameterGroups: - Parameters: - SkillFunctionName - SkillDescription Label: default: Lambda Function ParameterLabels: SkillDescription: default: What should the function description be? SkillFunctionName: default: What should the function be named?