AWS::ElasticLoadBalancingV2::ListenerRuleSpecifies a listener rule. The listener must be associated with an Application Load Balancer. Each rule consists of a priority, one or more actions, and one or more conditions. For more information, see [Quotas for your Application Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-limits.html) in the *User Guide for Application Load Balancers*.
5 configurable properties. 3 required. Click a row to see details.
| Property | Type | Flags |
|---|---|---|
Actions | Array<Action> | Required |
Conditions | Array<RuleCondition> | Required |
Priority | integer | Required |
ListenerArn | string | Create-onlyWrite-only |
Transforms | Array<Transform> |
Values returned after the resource is created. Access these with Fn::GetAtt.
| Attribute | Type | Description |
|---|---|---|
IsDefault | boolean | - |
RuleArn | string | - |
A minimal template with required properties and common optional ones.
AWSTemplateFormatVersion: "2010-09-09"
Description: Sample template for AWS::ElasticLoadBalancingV2::ListenerRule
Resources:
MyResource:
Type: AWS::ElasticLoadBalancingV2::ListenerRule
Properties:
Actions: []
Priority: 1
Conditions: []Permissions CloudFormation needs in your IAM role to manage this resource.
elasticloadbalancing:CreateRuleelasticloadbalancing:DescribeRulescognito-idp:DescribeUserPoolClientelasticloadbalancing:DeleteRuleelasticloadbalancing:DescribeRuleselasticloadbalancing:DescribeRuleselasticloadbalancing:DescribeRuleselasticloadbalancing:ModifyRuleelasticloadbalancing:SetRulePrioritieselasticloadbalancing:DescribeRulesEverything you need to know about ElasticLoadBalancingV2 on one page. HD quality, print-friendly.
Download Free InfographicRuleArnThese properties cannot be changed after the resource is created. Updating them triggers a replacement.
ListenerArn