Skip to content

Instantly share code, notes, and snippets.

@omerxx
Created December 8, 2017 16:40
Show Gist options
  • Save omerxx/d8f741063201daeccb78a2f78424438b to your computer and use it in GitHub Desktop.
Save omerxx/d8f741063201daeccb78a2f78424438b to your computer and use it in GitHub Desktop.
TargetGroup:
Type: AWS::ElasticLoadBalancingV2::TargetGroup
Properties:
VpcId: !Ref VPC
Port: 80
Protocol: HTTP
Matcher:
HttpCode: 200-299
HealthCheckIntervalSeconds: 80
HealthCheckPath: !Ref HealthCheckPath
HealthCheckProtocol: HTTP
HealthCheckTimeoutSeconds: 50
HealthyThresholdCount: 2
UnhealthyThresholdCount: 5
Name: !Join [ '-', [ !Ref ServiceName, 'TG' ] ]
TargetGroupAttributes:
- Key: deregistration_delay.timeout_seconds
Value: '60'
TargetType: !Ref TargetType
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment