~crunch.io/ubuntu/precise/awscli/unstable

« back to all changes in this revision

Viewing changes to awscli/examples/elasticloadbalancing/modify-load-balancer-attributes.rst

  • Committer: Package Import Robot
  • Author(s): TANIGUCHI Takaki
  • Date: 2014-09-04 12:03:49 UTC
  • mto: (3.1.3 sid)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: package-import@ubuntu.com-20140904120349-wrtq9twu9yzgramf
Tags: upstream-1.4.2
ImportĀ upstreamĀ versionĀ 1.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
**To modify attributes of your load balancer**
2
 
 
3
 
This example modifies attributes of a specified load balancer. The following example uses JSON syntax on a Windows
4
 
operating system to specify the attributes. For information about specifying JSON syntax on your operating system, see
5
 
`Quoting Strings`_.
6
 
 
7
 
Command::
8
 
 
9
 
    aws elb modify-load-balancer-attributes --load-balancer-name MyHTTPSLoadBalancer --load-balancer-attributes "{\"CrossZoneLoadBalancing\":{\"Enabled\":true}}
10
 
 
11
 
Output::
12
 
 
13
 
   {
14
 
      "LoadBalancerAttributes": {
15
 
        "CrossZoneLoadBalancing": {
16
 
            "Enabled": true
17
 
          }
18
 
      },
19
 
      "LoadBalancerName": "MyHTTPSLoadBalancer"
20
 
    }
21
 
 
22
 
.. _`Quoting Strings`: http://docs.aws.amazon.com/cli/latest/userguide/cli-using-param.html#quoting-strings
23