Closed
Description
Scope of request
AWS CloudFormation templates.
Expected behavior
Fn::Size
should return the number of elements in a list (the result of Fn::Split
, or a CommaDelimitedList
parameter).
Test case recommendation
If you combine this with the Fn::Split
function it will allow you to see how many items were entered when someone has a CommaDelimitedList
parameter, which is helpful when it comes to Conditionals:
{ "Fn::Size" : { "Fn::Split" : [ "delimiter", "source string" ] } }
Links to existing API doc
https://www.kencochrane.net/2017/03/25/my-cloudformation-wishlist/
Category
- Other (IoT, Migration, Budgets...)