跳至内容

ELBv2 ListenerRule Conditions type support

0

Hi,

From the AWS Console, it is possible to add ListenerRules for an ALB with the following conditions as options: http-header, http-request-method, host-header, path-pattern, query-string, source-ip.

It appears that only the host-header and path-pattern options are available in CloudFormation: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-elasticloadbalancingv2-listenerrule-conditions.html

The API for ELBv2 supports all of the options: https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_RuleCondition.html

I would like to use CloudFormation to set up a ListenerRule with a source-ip condition however this does not seem to be currently possible; am I missing something? If it is indeed not possible, what steps need to be taken in order to request support for this be added to CloudFormation?

Thanks

已提问 7 年前667 查看次数

1 回答
0

I received the following response from AWS tech support:

You ask:
"I would like to use CloudFormation to set up a ListenerRule with a source-ip condition however this does not seem > to be currently possible; am I missing something? If it is indeed not possible, what steps need to be taken in order to > request support for this be added to CloudFormation?"

Answer:
The "source-ip" option is currently unsupported via the CloudFormation and a feature request for the same is already > in place.

Having said that, I do not have an ETA at this point as to when this feature would go live as the Service Team is actively working on making the features better on a daily basis.

You may keep an eye on the below blogs to know when the feature is available.

Please feel free to reach out in case you have any additional question/concerns. I will be happy to help.

References:
[1] Forum for New Feature Requests : https://forums.aws.amazon.com/tags/feature-request
[2] Announcements : https://aws.amazon.com/subscribe-to-aws-announcements/
[3] News Blog : https://aws.amazon.com/blogs/aws/
[4] CloudFormation Specific : https://aws.amazon.com/blogs/aws/category/management-tools/aws-cloudformation/

已回答 7 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。