This task generates the following Bamboo variables:
${bamboo.custom.aws.callerIdentity.account}
${bamboo.custom.aws.callerIdentity.arn}
${bamboo.custom.aws.callerIdentity.userId}
An alternative representation as a JSON object for automated processing with tools like jq is available too:
${bamboo.custom.aws.callerIdentity.json}
Aforementioned variables will also be available as environment variables in Bamboo Script tasks. (Refer to the 'Generated Variables' information dialog for format examples)