| « PreviousNext » | |
![]() ![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
The ElasticLoadBalancing Policy type is an embedded property of the AWS::ElasticLoadBalancing::Listener type. It is used to describe a
policy to include in the listener's PolicyNames field.
{
"Attributes" : [ { "Name", String, "Value", String }, ... ],
"InstancePorts" : [ String, ... ],
"LoadBalancerPorts" : [ String, ... ],
"PolicyName" : String,
"PolicyType" : String
}A list of arbitrary attributes for this policy.
Required: No
Type: List of JSON name-value pairs.
A list of instance ports for the policy. These are the ports associated with the back-end server.
Required: No
Type: List of String
A list of external load balancer ports for the policy.
Required: Only for some policies. For more information, see Elastic Load Balancing Developer Guide.
Type: List of String
A name for this policy that is unique to the load balancer.
Required: Yes
Type: String
The name of the policy type for this policy. This must be one of the types reported by the Elastic Load Balancing DescribeLoadBalancerPolicyTypes action.
Required: Yes
Type: String
This example shows a snippet of the Policies section of an ELB listener.
"Policies" : [
{
"PolicyName" : "MySSLNegotiationPolicy",
"PolicyType" : "SSLNegotiationPolicyType",
"Attributes" : [
{ "Name" : "Protocol-TLSv1", "Value" : "true" },
{ "Name" : "Protocol-SSLv2", "Value" : "true" },
{ "Name" : "Protocol-SSLv3", "Value" : "false" },
{ "Name" : "DHE-RSA-AES256-SHA", "Value" : "true" } ]
}, {
"PolicyName" : "MyAppCookieStickinessPolicy",
"PolicyType" : "AppCookieStickinessPolicyType",
"Attributes" : [
{ "Name" : "CookieName", "Value" : "MyCookie"} ]
}, {
"PolicyName" : "MyPublicKeyPolicy",
"PolicyType" : "PublicKeyPolicyType",
"Attributes" : [ {
"Name" : "PublicKey",
"Value" : { "Fn::Join" : [
"\n", [
"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDh/51Aohx5VrpmlfGHZCzciMBa",
"fkHve+MQYYJcxmNUKMdsWnz9WtVfKxxWUU7Cfor4lorYmENGCG8FWqCoLDMFs7pN",
"yGEtpsrlKhzZWtgY1d7eGrUrBil03bI90E2KW0j4qAwGYAC8xixOkNClicojeEz4",
"f4rr3sUf+ZBSsuMEuwIDAQAB" ]
] }
} ]
}, {
"PolicyName" : "MyBackendServerAuthenticationPolicy",
"PolicyType" : "BackendServerAuthenticationPolicyType",
"Attributes" : [
{ "Name" : "PublicKeyPolicyName", "Value" : "MyPublicKeyPolicy" } ],
"InstancePorts" : [ "8443" ]
}
]