The built-in function Fn::Str returns the string form of a number.
Declaration
JSON
{"Fn::Str": numberToString}YAML
Syntax for the full function name:
Fn::Str: numberToStringSyntax for the short form:
!Str numberToString
Parameters
numberToString: the number that you want to convert to a string. The number can be of the Number or Integer type.
Return value
The string that is converted from the value of the Number or Integer type.
Examples
!Str 123456{"Fn::Str": 123456}Return value: "123456".