I have a CloudFormation template in which I would like to output a variable that contains the name of the account that the template was deployed to.
I've found a way to retrieve the Account Id via this Psuedo Parameter:
AWS::AccountId
This is described on the Pseudo Parameters Reference page here:
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/pseudo-parameter-reference.html
I'd like to know if there's any way to do the same for the Account Name.