All Products
Search
Document Center

Resource Orchestration Service:Fn::Str

Last Updated:Jun 17, 2026

Fn::Str converts a number to its string representation.

Declaration

  • JSON

    {"Fn::Str": numberToString}
  • YAML

    • Syntax for the full function name:

      Fn::Str: numberToString
    • Syntax for the short form:

      !Str numberToString

Parameters

numberToString: the Number or Integer value to convert to a string.

Return value

A string converted from the specified Number or Integer value.

Examples

!Str 123456
{"Fn::Str": 123456}

Return value: "123456".