Example #1
0
        public void ElasticLoadBalancingAddTags()
        {
            #region elb-add-tags-1

            var client   = new AmazonElasticLoadBalancingClient();
            var response = client.AddTags(new AddTagsRequest
            {
                LoadBalancerNames = new List <string> {
                    "my-load-balancer"
                },
                Tags = new List <Tag> {
                    new Tag {
                        Key   = "project",
                        Value = "lima"
                    },
                    new Tag {
                        Key   = "department",
                        Value = "digital-media"
                    }
                }
            });


            #endregion
        }