Skip to content

Commit

Permalink
More updates from the AWS doc team (elb)
Browse files Browse the repository at this point in the history
  • Loading branch information
EronHennessey authored and jamesls committed Aug 13, 2014
1 parent 972811a commit a6a3c2d
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 0 deletions.
12 changes: 12 additions & 0 deletions awscli/examples/elb/add-tags.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
**To add tags for a load balancer**

This example adds tags for a load balancer.

Command::

aws elb add-tags --load-balancer-name MyTCPLoadBalancer --tag "Key=project,Value=lima"

Output::

{}
11 changes: 11 additions & 0 deletions awscli/examples/elb/create-load-balancer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,14 @@ Output::
"DNSName": "internal-MyInternalLoadBalancer-012345678.us-east-1.elb.amazonaws.com"
}

This example creates a TCP load balancer in EC2-Classic and assigns a tag.

Command::

aws elb create-load-balancer --load-balancer-name MyTCPLoadBalancer --listeners Protocol=HTTP,LoadBalancerPort=80,InstanceProtocol=HTTP,InstancePort=80 --tag Key=department,Value=digital-media --availability-zones us-east-1a

Output::

{
"DNSName": "MyTCPLoadBalancer-012345678.us-east-1.elb.amazonaws.com"
}
3 changes: 3 additions & 0 deletions awscli/examples/elb/describe-load-balancer-attributes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Output::

{
"LoadBalancerAttributes": {
"ConnectionSettings": {
"IdleTimeout": 30
},
"ConnectionDraining": {
"Enabled": false,
"Timeout": 300
Expand Down
25 changes: 25 additions & 0 deletions awscli/examples/elb/describe-tags.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
**To describe the tags assigned to load balancer**

This example describes the the tags assigned to a load balancer.

Command::

aws elb describe-tags --load-balancer-name MyTCPLoadBalancer

Output::

{
"TagDescriptions": [
{
"Tags": [
{
"Value": "digital-media",
"Key": "department"
}
],
"LoadBalancerName": "MyTCPLoadBalancer"
}
]
}


11 changes: 11 additions & 0 deletions awscli/examples/elb/remove-tags.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
**To remove tags for a load balancer**

This example removes tags for a load balancer.

Command::

aws elb remove-tags --load-balancer-name MyTCPLoadBalancer --tag "Key=project,Value=lima"

Output::

{}

0 comments on commit a6a3c2d

Please sign in to comment.