This template creates a target group where the target is a Lambda function. It creates an AWS::Lambda::Permission resource to allow the target group to invoke the Lambda function. It also creates an AWS::ElasticLoadBalancingV2::TargetGroup resource with the specified properties, including disabling health checks, setting the name to 'MyTargets', and specifying the target type as 'lambda'. The target group is associated with the Lambda function specified in the Targets property.

MyLambdaInvokePermission
AWS::Lambda::Permission


MyTargetGroup
AWS::ElasticLoadBalancingV2::TargetGroup


Targets

MyLambdaFunction
AWS::Lambda::Function


Code *

LambdaExecutionRole
AWS::IAM::Role


CloudFormation Template

Share Template