{
"Type" : "AWS::ElasticLoadBalancingV2::TargetGroup",
"Properties" : {
"HealthCheckIntervalSeconds": 30,
"HealthCheckProtocol": "HTTPS",
"HealthCheckTimeoutSeconds": 10,
"HealthyThresholdCount": 4,
"Matcher" : {
"HttpCode" : "200"
},
"Name": "MyTargets",
"Port": 10,
"Protocol": "HTTPS",
"TargetGroupAttributes": [{
"Key": "deregistration_delay.timeout_seconds",
"Value": "20"
}],
"Targets": [
{ "Id": {"Ref" : "Instance1"}, "Port": 80 },
{ "Id": {"Ref" : "Instance2"}, "Port": 80 }
],
"UnhealthyThresholdCount": 3,
"VpcId": {"Ref" : "VPC"},
"Tags" : [
{ "Key" : "key", "Value" : "value" },
{ "Key" : "key2", "Value" : "value2" }
]
}
}