github.com/aavshr/aws-sdk-go@v1.41.3/models/apis/elasticloadbalancing/2012-06-01/examples-1.json (about)

     1  {
     2    "version": "1.0",
     3    "examples": {
     4      "AddTags": [
     5        {
     6          "input": {
     7            "LoadBalancerNames": [
     8              "my-load-balancer"
     9            ],
    10            "Tags": [
    11              {
    12                "Key": "project",
    13                "Value": "lima"
    14              },
    15              {
    16                "Key": "department",
    17                "Value": "digital-media"
    18              }
    19            ]
    20          },
    21          "comments": {
    22            "input": {
    23            },
    24            "output": {
    25            }
    26          },
    27          "description": "This example adds two tags to the specified load balancer.",
    28          "id": "elb-add-tags-1",
    29          "title": "To add tags to a load balancer"
    30        }
    31      ],
    32      "ApplySecurityGroupsToLoadBalancer": [
    33        {
    34          "input": {
    35            "LoadBalancerName": "my-load-balancer",
    36            "SecurityGroups": [
    37              "sg-fc448899"
    38            ]
    39          },
    40          "output": {
    41            "SecurityGroups": [
    42              "sg-fc448899"
    43            ]
    44          },
    45          "comments": {
    46            "input": {
    47            },
    48            "output": {
    49            }
    50          },
    51          "description": "This example associates a security group with the specified load balancer in a VPC.",
    52          "id": "elb-apply-security-groups-to-load-balancer-1",
    53          "title": "To associate a security group with a load balancer in a VPC"
    54        }
    55      ],
    56      "AttachLoadBalancerToSubnets": [
    57        {
    58          "input": {
    59            "LoadBalancerName": "my-load-balancer",
    60            "Subnets": [
    61              "subnet-0ecac448"
    62            ]
    63          },
    64          "output": {
    65            "Subnets": [
    66              "subnet-15aaab61",
    67              "subnet-0ecac448"
    68            ]
    69          },
    70          "comments": {
    71            "input": {
    72            },
    73            "output": {
    74            }
    75          },
    76          "description": "This example adds the specified subnet to the set of configured subnets for the specified load balancer.",
    77          "id": "elb-attach-load-balancer-to-subnets-1",
    78          "title": "To attach subnets to a load balancer"
    79        }
    80      ],
    81      "ConfigureHealthCheck": [
    82        {
    83          "input": {
    84            "HealthCheck": {
    85              "HealthyThreshold": 2,
    86              "Interval": 30,
    87              "Target": "HTTP:80/png",
    88              "Timeout": 3,
    89              "UnhealthyThreshold": 2
    90            },
    91            "LoadBalancerName": "my-load-balancer"
    92          },
    93          "output": {
    94            "HealthCheck": {
    95              "HealthyThreshold": 2,
    96              "Interval": 30,
    97              "Target": "HTTP:80/png",
    98              "Timeout": 3,
    99              "UnhealthyThreshold": 2
   100            }
   101          },
   102          "comments": {
   103            "input": {
   104            },
   105            "output": {
   106            }
   107          },
   108          "description": "This example specifies the health check settings used to evaluate the health of your backend EC2 instances.",
   109          "id": "elb-configure-health-check-1",
   110          "title": "To specify the health check settings for your backend EC2 instances"
   111        }
   112      ],
   113      "CreateAppCookieStickinessPolicy": [
   114        {
   115          "input": {
   116            "CookieName": "my-app-cookie",
   117            "LoadBalancerName": "my-load-balancer",
   118            "PolicyName": "my-app-cookie-policy"
   119          },
   120          "comments": {
   121            "input": {
   122            },
   123            "output": {
   124            }
   125          },
   126          "description": "This example generates a stickiness policy that follows the sticky session lifetimes of the application-generated cookie.",
   127          "id": "elb-create-app-cookie-stickiness-policy-1",
   128          "title": "To generate a stickiness policy for your load balancer"
   129        }
   130      ],
   131      "CreateLBCookieStickinessPolicy": [
   132        {
   133          "input": {
   134            "CookieExpirationPeriod": 60,
   135            "LoadBalancerName": "my-load-balancer",
   136            "PolicyName": "my-duration-cookie-policy"
   137          },
   138          "comments": {
   139            "input": {
   140            },
   141            "output": {
   142            }
   143          },
   144          "description": "This example generates a stickiness policy with sticky session lifetimes controlled by the specified expiration period.",
   145          "id": "elb-create-lb-cookie-stickiness-policy-1",
   146          "title": "To generate a duration-based stickiness policy for your load balancer"
   147        }
   148      ],
   149      "CreateLoadBalancer": [
   150        {
   151          "input": {
   152            "Listeners": [
   153              {
   154                "InstancePort": 80,
   155                "InstanceProtocol": "HTTP",
   156                "LoadBalancerPort": 80,
   157                "Protocol": "HTTP"
   158              }
   159            ],
   160            "LoadBalancerName": "my-load-balancer",
   161            "SecurityGroups": [
   162              "sg-a61988c3"
   163            ],
   164            "Subnets": [
   165              "subnet-15aaab61"
   166            ]
   167          },
   168          "output": {
   169            "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com"
   170          },
   171          "comments": {
   172            "input": {
   173            },
   174            "output": {
   175            }
   176          },
   177          "description": "This example creates a load balancer with an HTTP listener in a VPC.",
   178          "id": "elb-create-load-balancer-1",
   179          "title": "To create an HTTP load balancer in a VPC"
   180        },
   181        {
   182          "input": {
   183            "AvailabilityZones": [
   184              "us-west-2a"
   185            ],
   186            "Listeners": [
   187              {
   188                "InstancePort": 80,
   189                "InstanceProtocol": "HTTP",
   190                "LoadBalancerPort": 80,
   191                "Protocol": "HTTP"
   192              }
   193            ],
   194            "LoadBalancerName": "my-load-balancer"
   195          },
   196          "output": {
   197            "DNSName": "my-load-balancer-123456789.us-west-2.elb.amazonaws.com"
   198          },
   199          "comments": {
   200            "input": {
   201            },
   202            "output": {
   203            }
   204          },
   205          "description": "This example creates a load balancer with an HTTP listener in EC2-Classic.",
   206          "id": "elb-create-load-balancer-2",
   207          "title": "To create an HTTP load balancer in EC2-Classic"
   208        },
   209        {
   210          "input": {
   211            "Listeners": [
   212              {
   213                "InstancePort": 80,
   214                "InstanceProtocol": "HTTP",
   215                "LoadBalancerPort": 80,
   216                "Protocol": "HTTP"
   217              },
   218              {
   219                "InstancePort": 80,
   220                "InstanceProtocol": "HTTP",
   221                "LoadBalancerPort": 443,
   222                "Protocol": "HTTPS",
   223                "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
   224              }
   225            ],
   226            "LoadBalancerName": "my-load-balancer",
   227            "SecurityGroups": [
   228              "sg-a61988c3"
   229            ],
   230            "Subnets": [
   231              "subnet-15aaab61"
   232            ]
   233          },
   234          "output": {
   235            "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com"
   236          },
   237          "comments": {
   238            "input": {
   239            },
   240            "output": {
   241            }
   242          },
   243          "description": "This example creates a load balancer with an HTTPS listener in a VPC.",
   244          "id": "elb-create-load-balancer-3",
   245          "title": "To create an HTTPS load balancer in a VPC"
   246        },
   247        {
   248          "input": {
   249            "AvailabilityZones": [
   250              "us-west-2a"
   251            ],
   252            "Listeners": [
   253              {
   254                "InstancePort": 80,
   255                "InstanceProtocol": "HTTP",
   256                "LoadBalancerPort": 80,
   257                "Protocol": "HTTP"
   258              },
   259              {
   260                "InstancePort": 80,
   261                "InstanceProtocol": "HTTP",
   262                "LoadBalancerPort": 443,
   263                "Protocol": "HTTPS",
   264                "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
   265              }
   266            ],
   267            "LoadBalancerName": "my-load-balancer"
   268          },
   269          "output": {
   270            "DNSName": "my-load-balancer-123456789.us-west-2.elb.amazonaws.com"
   271          },
   272          "comments": {
   273            "input": {
   274            },
   275            "output": {
   276            }
   277          },
   278          "description": "This example creates a load balancer with an HTTPS listener in EC2-Classic.",
   279          "id": "elb-create-load-balancer-4",
   280          "title": "To create an HTTPS load balancer in EC2-Classic"
   281        },
   282        {
   283          "input": {
   284            "Listeners": [
   285              {
   286                "InstancePort": 80,
   287                "InstanceProtocol": "HTTP",
   288                "LoadBalancerPort": 80,
   289                "Protocol": "HTTP"
   290              }
   291            ],
   292            "LoadBalancerName": "my-load-balancer",
   293            "Scheme": "internal",
   294            "SecurityGroups": [
   295              "sg-a61988c3"
   296            ],
   297            "Subnets": [
   298              "subnet-15aaab61"
   299            ]
   300          },
   301          "output": {
   302            "DNSName": "internal-my-load-balancer-123456789.us-west-2.elb.amazonaws.com"
   303          },
   304          "comments": {
   305            "input": {
   306            },
   307            "output": {
   308            }
   309          },
   310          "description": "This example creates an internal load balancer with an HTTP listener in a VPC.",
   311          "id": "elb-create-load-balancer-5",
   312          "title": "To create an internal load balancer"
   313        }
   314      ],
   315      "CreateLoadBalancerListeners": [
   316        {
   317          "input": {
   318            "Listeners": [
   319              {
   320                "InstancePort": 80,
   321                "InstanceProtocol": "HTTP",
   322                "LoadBalancerPort": 80,
   323                "Protocol": "HTTP"
   324              }
   325            ],
   326            "LoadBalancerName": "my-load-balancer"
   327          },
   328          "comments": {
   329            "input": {
   330            },
   331            "output": {
   332            }
   333          },
   334          "description": "This example creates a listener for your load balancer at port 80 using the HTTP protocol.",
   335          "id": "elb-create-load-balancer-listeners-1",
   336          "title": "To create an HTTP listener for a load balancer"
   337        },
   338        {
   339          "input": {
   340            "Listeners": [
   341              {
   342                "InstancePort": 80,
   343                "InstanceProtocol": "HTTP",
   344                "LoadBalancerPort": 443,
   345                "Protocol": "HTTPS",
   346                "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
   347              }
   348            ],
   349            "LoadBalancerName": "my-load-balancer"
   350          },
   351          "comments": {
   352            "input": {
   353            },
   354            "output": {
   355            }
   356          },
   357          "description": "This example creates a listener for your load balancer at port 443 using the HTTPS protocol.",
   358          "id": "elb-create-load-balancer-listeners-2",
   359          "title": "To create an HTTPS listener for a load balancer"
   360        }
   361      ],
   362      "CreateLoadBalancerPolicy": [
   363        {
   364          "input": {
   365            "LoadBalancerName": "my-load-balancer",
   366            "PolicyAttributes": [
   367              {
   368                "AttributeName": "ProxyProtocol",
   369                "AttributeValue": "true"
   370              }
   371            ],
   372            "PolicyName": "my-ProxyProtocol-policy",
   373            "PolicyTypeName": "ProxyProtocolPolicyType"
   374          },
   375          "comments": {
   376            "input": {
   377            },
   378            "output": {
   379            }
   380          },
   381          "description": "This example creates a policy that enables Proxy Protocol on the specified load balancer.",
   382          "id": "elb-create-load-balancer-policy-1",
   383          "title": "To create a policy that enables Proxy Protocol on a load balancer"
   384        },
   385        {
   386          "input": {
   387            "LoadBalancerName": "my-load-balancer",
   388            "PolicyAttributes": [
   389              {
   390                "AttributeName": "PublicKey",
   391                "AttributeValue": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwAYUjnfyEyXr1pxjhFWBpMlggUcqoi3kl+dS74kj//c6x7ROtusUaeQCTgIUkayttRDWchuqo1pHC1u+n5xxXnBBe2ejbb2WRsKIQ5rXEeixsjFpFsojpSQKkzhVGI6mJVZBJDVKSHmswnwLBdofLhzvllpovBPTHe+o4haAWvDBALJU0pkSI1FecPHcs2hwxf14zHoXy1e2k36A64nXW43wtfx5qcVSIxtCEOjnYRg7RPvybaGfQ+v6Iaxb/+7J5kEvZhTFQId+bSiJImF1FSUT1W1xwzBZPUbcUkkXDj45vC2s3Z8E+Lk7a3uZhvsQHLZnrfuWjBWGWvZ/MhZYgEXAMPLE"
   392              }
   393            ],
   394            "PolicyName": "my-PublicKey-policy",
   395            "PolicyTypeName": "PublicKeyPolicyType"
   396          },
   397          "comments": {
   398            "input": {
   399            },
   400            "output": {
   401            }
   402          },
   403          "description": "This example creates a public key policy.",
   404          "id": "elb-create-load-balancer-policy-2",
   405          "title": "To create a public key policy"
   406        },
   407        {
   408          "input": {
   409            "LoadBalancerName": "my-load-balancer",
   410            "PolicyAttributes": [
   411              {
   412                "AttributeName": "PublicKeyPolicyName",
   413                "AttributeValue": "my-PublicKey-policy"
   414              }
   415            ],
   416            "PolicyName": "my-authentication-policy",
   417            "PolicyTypeName": "BackendServerAuthenticationPolicyType"
   418          },
   419          "comments": {
   420            "input": {
   421            },
   422            "output": {
   423            }
   424          },
   425          "description": "This example creates a backend server authentication policy that enables authentication on your backend instance using a public key policy.",
   426          "id": "elb-create-load-balancer-policy-3",
   427          "title": "To create a backend server authentication policy"
   428        }
   429      ],
   430      "DeleteLoadBalancer": [
   431        {
   432          "input": {
   433            "LoadBalancerName": "my-load-balancer"
   434          },
   435          "comments": {
   436            "input": {
   437            },
   438            "output": {
   439            }
   440          },
   441          "description": "This example deletes the specified load balancer.",
   442          "id": "elb-delete-load-balancer-1",
   443          "title": "To delete a load balancer"
   444        }
   445      ],
   446      "DeleteLoadBalancerListeners": [
   447        {
   448          "input": {
   449            "LoadBalancerName": "my-load-balancer",
   450            "LoadBalancerPorts": [
   451              80
   452            ]
   453          },
   454          "comments": {
   455            "input": {
   456            },
   457            "output": {
   458            }
   459          },
   460          "description": "This example deletes the listener for the specified port from the specified load balancer.",
   461          "id": "elb-delete-load-balancer-listeners-1",
   462          "title": "To delete a listener from your load balancer"
   463        }
   464      ],
   465      "DeleteLoadBalancerPolicy": [
   466        {
   467          "input": {
   468            "LoadBalancerName": "my-load-balancer",
   469            "PolicyName": "my-duration-cookie-policy"
   470          },
   471          "comments": {
   472            "input": {
   473            },
   474            "output": {
   475            }
   476          },
   477          "description": "This example deletes the specified policy from the specified load balancer. The policy must not be enabled on any listener.",
   478          "id": "elb-delete-load-balancer-policy-1",
   479          "title": "To delete a policy from your load balancer"
   480        }
   481      ],
   482      "DeregisterInstancesFromLoadBalancer": [
   483        {
   484          "input": {
   485            "Instances": [
   486              {
   487                "InstanceId": "i-d6f6fae3"
   488              }
   489            ],
   490            "LoadBalancerName": "my-load-balancer"
   491          },
   492          "output": {
   493            "Instances": [
   494              {
   495                "InstanceId": "i-207d9717"
   496              },
   497              {
   498                "InstanceId": "i-afefb49b"
   499              }
   500            ]
   501          },
   502          "comments": {
   503            "input": {
   504            },
   505            "output": {
   506            }
   507          },
   508          "description": "This example deregisters the specified instance from the specified load balancer.",
   509          "id": "elb-deregister-instances-from-load-balancer-1",
   510          "title": "To deregister instances from a load balancer"
   511        }
   512      ],
   513      "DescribeInstanceHealth": [
   514        {
   515          "input": {
   516            "LoadBalancerName": "my-load-balancer"
   517          },
   518          "output": {
   519            "InstanceStates": [
   520              {
   521                "Description": "N/A",
   522                "InstanceId": "i-207d9717",
   523                "ReasonCode": "N/A",
   524                "State": "InService"
   525              },
   526              {
   527                "Description": "N/A",
   528                "InstanceId": "i-afefb49b",
   529                "ReasonCode": "N/A",
   530                "State": "InService"
   531              }
   532            ]
   533          },
   534          "comments": {
   535            "input": {
   536            },
   537            "output": {
   538            }
   539          },
   540          "description": "This example describes the health of the instances for the specified load balancer.",
   541          "id": "elb-describe-instance-health-1",
   542          "title": "To describe the health of the instances for a load balancer"
   543        }
   544      ],
   545      "DescribeLoadBalancerAttributes": [
   546        {
   547          "input": {
   548            "LoadBalancerName": "my-load-balancer"
   549          },
   550          "output": {
   551            "LoadBalancerAttributes": {
   552              "AccessLog": {
   553                "Enabled": false
   554              },
   555              "ConnectionDraining": {
   556                "Enabled": false,
   557                "Timeout": 300
   558              },
   559              "ConnectionSettings": {
   560                "IdleTimeout": 60
   561              },
   562              "CrossZoneLoadBalancing": {
   563                "Enabled": false
   564              }
   565            }
   566          },
   567          "comments": {
   568            "input": {
   569            },
   570            "output": {
   571            }
   572          },
   573          "description": "This example describes the attributes of the specified load balancer.",
   574          "id": "elb-describe-load-balancer-attributes-1",
   575          "title": "To describe the attributes of a load balancer"
   576        }
   577      ],
   578      "DescribeLoadBalancerPolicies": [
   579        {
   580          "input": {
   581            "LoadBalancerName": "my-load-balancer",
   582            "PolicyNames": [
   583              "my-authentication-policy"
   584            ]
   585          },
   586          "output": {
   587            "PolicyDescriptions": [
   588              {
   589                "PolicyAttributeDescriptions": [
   590                  {
   591                    "AttributeName": "PublicKeyPolicyName",
   592                    "AttributeValue": "my-PublicKey-policy"
   593                  }
   594                ],
   595                "PolicyName": "my-authentication-policy",
   596                "PolicyTypeName": "BackendServerAuthenticationPolicyType"
   597              }
   598            ]
   599          },
   600          "comments": {
   601            "input": {
   602            },
   603            "output": {
   604            }
   605          },
   606          "description": "This example describes the specified policy associated with the specified load balancer.",
   607          "id": "elb-describe-load-balancer-policies-1",
   608          "title": "To describe a policy associated with a load balancer"
   609        }
   610      ],
   611      "DescribeLoadBalancerPolicyTypes": [
   612        {
   613          "input": {
   614            "PolicyTypeNames": [
   615              "ProxyProtocolPolicyType"
   616            ]
   617          },
   618          "output": {
   619            "PolicyTypeDescriptions": [
   620              {
   621                "Description": "Policy that controls whether to include the IP address and port of the originating request for TCP messages. This policy operates on TCP listeners only.",
   622                "PolicyAttributeTypeDescriptions": [
   623                  {
   624                    "AttributeName": "ProxyProtocol",
   625                    "AttributeType": "Boolean",
   626                    "Cardinality": "ONE"
   627                  }
   628                ],
   629                "PolicyTypeName": "ProxyProtocolPolicyType"
   630              }
   631            ]
   632          },
   633          "comments": {
   634            "input": {
   635            },
   636            "output": {
   637            }
   638          },
   639          "description": "This example describes the specified load balancer policy type.",
   640          "id": "elb-describe-load-balancer-policy-types-1",
   641          "title": "To describe a load balancer policy type defined by Elastic Load Balancing"
   642        }
   643      ],
   644      "DescribeLoadBalancers": [
   645        {
   646          "input": {
   647            "LoadBalancerNames": [
   648              "my-load-balancer"
   649            ]
   650          },
   651          "output": {
   652            "LoadBalancerDescriptions": [
   653              {
   654                "AvailabilityZones": [
   655                  "us-west-2a"
   656                ],
   657                "BackendServerDescriptions": [
   658                  {
   659                    "InstancePort": 80,
   660                    "PolicyNames": [
   661                      "my-ProxyProtocol-policy"
   662                    ]
   663                  }
   664                ],
   665                "CanonicalHostedZoneName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com",
   666                "CanonicalHostedZoneNameID": "Z3DZXE0EXAMPLE",
   667                "CreatedTime": "2015-03-19T03:24:02.650Z",
   668                "DNSName": "my-load-balancer-1234567890.us-west-2.elb.amazonaws.com",
   669                "HealthCheck": {
   670                  "HealthyThreshold": 2,
   671                  "Interval": 30,
   672                  "Target": "HTTP:80/png",
   673                  "Timeout": 3,
   674                  "UnhealthyThreshold": 2
   675                },
   676                "Instances": [
   677                  {
   678                    "InstanceId": "i-207d9717"
   679                  },
   680                  {
   681                    "InstanceId": "i-afefb49b"
   682                  }
   683                ],
   684                "ListenerDescriptions": [
   685                  {
   686                    "Listener": {
   687                      "InstancePort": 80,
   688                      "InstanceProtocol": "HTTP",
   689                      "LoadBalancerPort": 80,
   690                      "Protocol": "HTTP"
   691                    },
   692                    "PolicyNames": [
   693  
   694                    ]
   695                  },
   696                  {
   697                    "Listener": {
   698                      "InstancePort": 443,
   699                      "InstanceProtocol": "HTTPS",
   700                      "LoadBalancerPort": 443,
   701                      "Protocol": "HTTPS",
   702                      "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/my-server-cert"
   703                    },
   704                    "PolicyNames": [
   705                      "ELBSecurityPolicy-2015-03"
   706                    ]
   707                  }
   708                ],
   709                "LoadBalancerName": "my-load-balancer",
   710                "Policies": {
   711                  "AppCookieStickinessPolicies": [
   712  
   713                  ],
   714                  "LBCookieStickinessPolicies": [
   715                    {
   716                      "CookieExpirationPeriod": 60,
   717                      "PolicyName": "my-duration-cookie-policy"
   718                    }
   719                  ],
   720                  "OtherPolicies": [
   721                    "my-PublicKey-policy",
   722                    "my-authentication-policy",
   723                    "my-SSLNegotiation-policy",
   724                    "my-ProxyProtocol-policy",
   725                    "ELBSecurityPolicy-2015-03"
   726                  ]
   727                },
   728                "Scheme": "internet-facing",
   729                "SecurityGroups": [
   730                  "sg-a61988c3"
   731                ],
   732                "SourceSecurityGroup": {
   733                  "GroupName": "my-elb-sg",
   734                  "OwnerAlias": "123456789012"
   735                },
   736                "Subnets": [
   737                  "subnet-15aaab61"
   738                ],
   739                "VPCId": "vpc-a01106c2"
   740              }
   741            ]
   742          },
   743          "comments": {
   744            "input": {
   745            },
   746            "output": {
   747            }
   748          },
   749          "description": "This example describes the specified load balancer.",
   750          "id": "elb-describe-load-balancers-1",
   751          "title": "To describe one of your load balancers"
   752        }
   753      ],
   754      "DescribeTags": [
   755        {
   756          "input": {
   757            "LoadBalancerNames": [
   758              "my-load-balancer"
   759            ]
   760          },
   761          "output": {
   762            "TagDescriptions": [
   763              {
   764                "LoadBalancerName": "my-load-balancer",
   765                "Tags": [
   766                  {
   767                    "Key": "project",
   768                    "Value": "lima"
   769                  },
   770                  {
   771                    "Key": "department",
   772                    "Value": "digital-media"
   773                  }
   774                ]
   775              }
   776            ]
   777          },
   778          "comments": {
   779            "input": {
   780            },
   781            "output": {
   782            }
   783          },
   784          "description": "This example describes the tags for the specified load balancer.",
   785          "id": "elb-describe-tags-1",
   786          "title": "To describe the tags for a load balancer"
   787        }
   788      ],
   789      "DetachLoadBalancerFromSubnets": [
   790        {
   791          "input": {
   792            "LoadBalancerName": "my-load-balancer",
   793            "Subnets": [
   794              "subnet-0ecac448"
   795            ]
   796          },
   797          "output": {
   798            "Subnets": [
   799              "subnet-15aaab61"
   800            ]
   801          },
   802          "comments": {
   803            "input": {
   804            },
   805            "output": {
   806            }
   807          },
   808          "description": "This example detaches the specified load balancer from the specified subnet.",
   809          "id": "elb-detach-load-balancer-from-subnets-1",
   810          "title": "To detach a load balancer from a subnet"
   811        }
   812      ],
   813      "DisableAvailabilityZonesForLoadBalancer": [
   814        {
   815          "input": {
   816            "AvailabilityZones": [
   817              "us-west-2a"
   818            ],
   819            "LoadBalancerName": "my-load-balancer"
   820          },
   821          "output": {
   822            "AvailabilityZones": [
   823              "us-west-2b"
   824            ]
   825          },
   826          "comments": {
   827            "input": {
   828            },
   829            "output": {
   830            }
   831          },
   832          "description": "This example removes the specified Availability Zone from the set of Availability Zones for the specified load balancer.",
   833          "id": "elb-disable-availability-zones-for-load-balancer-1",
   834          "title": "To disable an Availability Zone for a load balancer"
   835        }
   836      ],
   837      "EnableAvailabilityZonesForLoadBalancer": [
   838        {
   839          "input": {
   840            "AvailabilityZones": [
   841              "us-west-2b"
   842            ],
   843            "LoadBalancerName": "my-load-balancer"
   844          },
   845          "output": {
   846            "AvailabilityZones": [
   847              "us-west-2a",
   848              "us-west-2b"
   849            ]
   850          },
   851          "comments": {
   852            "input": {
   853            },
   854            "output": {
   855            }
   856          },
   857          "description": "This example adds the specified Availability Zone to the specified load balancer.",
   858          "id": "elb-enable-availability-zones-for-load-balancer-1",
   859          "title": "To enable an Availability Zone for a load balancer"
   860        }
   861      ],
   862      "ModifyLoadBalancerAttributes": [
   863        {
   864          "input": {
   865            "LoadBalancerAttributes": {
   866              "CrossZoneLoadBalancing": {
   867                "Enabled": true
   868              }
   869            },
   870            "LoadBalancerName": "my-load-balancer"
   871          },
   872          "output": {
   873            "LoadBalancerAttributes": {
   874              "CrossZoneLoadBalancing": {
   875                "Enabled": true
   876              }
   877            },
   878            "LoadBalancerName": "my-load-balancer"
   879          },
   880          "comments": {
   881            "input": {
   882            },
   883            "output": {
   884            }
   885          },
   886          "description": "This example enables cross-zone load balancing for the specified load balancer.",
   887          "id": "elb-modify-load-balancer-attributes-1",
   888          "title": "To enable cross-zone load balancing"
   889        },
   890        {
   891          "input": {
   892            "LoadBalancerAttributes": {
   893              "ConnectionDraining": {
   894                "Enabled": true,
   895                "Timeout": 300
   896              }
   897            },
   898            "LoadBalancerName": "my-load-balancer"
   899          },
   900          "output": {
   901            "LoadBalancerAttributes": {
   902              "ConnectionDraining": {
   903                "Enabled": true,
   904                "Timeout": 300
   905              }
   906            },
   907            "LoadBalancerName": "my-load-balancer"
   908          },
   909          "comments": {
   910            "input": {
   911            },
   912            "output": {
   913            }
   914          },
   915          "description": "This example enables connection draining for the specified load balancer.",
   916          "id": "elb-modify-load-balancer-attributes-2",
   917          "title": "To enable connection draining"
   918        }
   919      ],
   920      "RegisterInstancesWithLoadBalancer": [
   921        {
   922          "input": {
   923            "Instances": [
   924              {
   925                "InstanceId": "i-d6f6fae3"
   926              }
   927            ],
   928            "LoadBalancerName": "my-load-balancer"
   929          },
   930          "output": {
   931            "Instances": [
   932              {
   933                "InstanceId": "i-d6f6fae3"
   934              },
   935              {
   936                "InstanceId": "i-207d9717"
   937              },
   938              {
   939                "InstanceId": "i-afefb49b"
   940              }
   941            ]
   942          },
   943          "comments": {
   944            "input": {
   945            },
   946            "output": {
   947            }
   948          },
   949          "description": "This example registers the specified instance with the specified load balancer.",
   950          "id": "elb-register-instances-with-load-balancer-1",
   951          "title": "To register instances with a load balancer"
   952        }
   953      ],
   954      "RemoveTags": [
   955        {
   956          "input": {
   957            "LoadBalancerNames": [
   958              "my-load-balancer"
   959            ],
   960            "Tags": [
   961              {
   962                "Key": "project"
   963              }
   964            ]
   965          },
   966          "comments": {
   967            "input": {
   968            },
   969            "output": {
   970            }
   971          },
   972          "description": "This example removes the specified tag from the specified load balancer.",
   973          "id": "elb-remove-tags-1",
   974          "title": "To remove tags from a load balancer"
   975        }
   976      ],
   977      "SetLoadBalancerListenerSSLCertificate": [
   978        {
   979          "input": {
   980            "LoadBalancerName": "my-load-balancer",
   981            "LoadBalancerPort": 443,
   982            "SSLCertificateId": "arn:aws:iam::123456789012:server-certificate/new-server-cert"
   983          },
   984          "comments": {
   985            "input": {
   986            },
   987            "output": {
   988            }
   989          },
   990          "description": "This example replaces the existing SSL certificate for the specified HTTPS listener.",
   991          "id": "elb-set-load-balancer-listener-ssl-certificate-1",
   992          "title": "To update the SSL certificate for an HTTPS listener"
   993        }
   994      ],
   995      "SetLoadBalancerPoliciesForBackendServer": [
   996        {
   997          "input": {
   998            "InstancePort": 80,
   999            "LoadBalancerName": "my-load-balancer",
  1000            "PolicyNames": [
  1001              "my-ProxyProtocol-policy"
  1002            ]
  1003          },
  1004          "comments": {
  1005            "input": {
  1006            },
  1007            "output": {
  1008            }
  1009          },
  1010          "description": "This example replaces the policies that are currently associated with the specified port.",
  1011          "id": "elb-set-load-balancer-policies-for-backend-server-1",
  1012          "title": "To replace the policies associated with a port for a backend instance"
  1013        }
  1014      ],
  1015      "SetLoadBalancerPoliciesOfListener": [
  1016        {
  1017          "input": {
  1018            "LoadBalancerName": "my-load-balancer",
  1019            "LoadBalancerPort": 80,
  1020            "PolicyNames": [
  1021              "my-SSLNegotiation-policy"
  1022            ]
  1023          },
  1024          "comments": {
  1025            "input": {
  1026            },
  1027            "output": {
  1028            }
  1029          },
  1030          "description": "This example replaces the policies that are currently associated with the specified listener.",
  1031          "id": "elb-set-load-balancer-policies-of-listener-1",
  1032          "title": "To replace the policies associated with a listener"
  1033        }
  1034      ]
  1035    }
  1036  }