Skip to content

aws.sts.caller_identity

CloudFormation Type: AWS::STS::CallerIdentity

This is a data source (read-only). Use with the read keyword.

Attributes

account_id

  • Type: String
  • Read-only

The Amazon Web Services account ID number of the account that owns or contains the calling entity.

arn

  • Type: String
  • Read-only

The Amazon Web Services ARN associated with the calling entity.

user_id

  • Type: String
  • Read-only

The unique identifier of the calling entity. The exact value depends on the type of entity that is making the call. The values returned are those listed in the aws:userid column in the Principal table found on the Policy Variables reference page in the IAM User Guide.