LambdaFunction:
Type: “AWS::Lambda::Function”
Properties:
Description: “Creating lambda function for N3Uptime to add domain to sqs”
FunctionName: addDomainToSqs
Handler: index.handler
Role:
Fn::GetAtt: [ N3UptimeLambdaRoleProxy , “Arn” ] Runtime: “Node.js 8.10”
Timeout: 30
VpcConfig:
SecurityGroupIds:
– Ref: N3UptimeDBSecurityGroup
SubnetIds:
– Ref: SubnetUptimeProxyZoneA
– Ref: SubnetUptimeProxyZoneB