public void ElasticLoadBalancingV2CreateTargetGroup() { #region elbv2-create-target-group-1 var client = new AmazonElasticLoadBalancingV2Client(); var response = client.CreateTargetGroup(new CreateTargetGroupRequest { Name = "my-targets", Port = 80, Protocol = "HTTP", VpcId = "vpc-3ac0fb5f" }); List <TargetGroup> targetGroups = response.TargetGroups; #endregion }