AWS CloudFormation
User Guide (Version )

AWS::ElasticLoadBalancing::LoadBalancer Policies

Specifies policies for your Classic Load Balancer.

To associate policies with a listener, use the PolicyNames property for the listener.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Attributes" : [ Json, ... ], "InstancePorts" : [ String, ... ], "LoadBalancerPorts" : [ String, ... ], "PolicyName" : String, "PolicyType" : String }

YAML

Attributes: - Json InstancePorts: - String LoadBalancerPorts: - String PolicyName: String PolicyType: String

Properties

Attributes

The policy attributes.

Required: Yes

Type: List of Json

Update requires: No interruption

InstancePorts

The instance ports for the policy. Required only for some policy types.

Required: No

Type: List of String

Update requires: No interruption

LoadBalancerPorts

The load balancer ports for the policy. Required only for some policy types.

Required: No

Type: List of String

Update requires: No interruption

PolicyName

The name of the policy.

Required: Yes

Type: String

Update requires: No interruption

PolicyType

The name of the policy type.

Required: Yes

Type: String

Update requires: No interruption

See Also

On this page: