Decodes a Base64-encoded string and returns the original string.
Declaration
-
JSON
{"Fn::Base64Decode": "stringToDecode"} -
YAML
-
Syntax for the full function name:
Fn::Base64Decode: stringToDecode -
Syntax for the short form:
!Base64Decode stringToDecode
-
Parameters
stringToDecode: the Base64-encoded string that you want to decode.
Return value
The decoded string.
Examples
!Base64Decode QUxJWVVOIFJPUw=={ "Fn::Base64Decode" : "QUxJWVVOIFJPUw==" }In this example, ALIYUN ROS is returned.