Skip to content

aws.sts-caller-identity data source

Description

CallerIdentity resolves the account, ARN, and user id of the credentials the runtime is configured with, via a single GetCallerIdentity call. The call takes no parameters, so the data source has no inputs. It describes the caller's own identity and cannot be absent, so there is no not-found path, waiter, or retry beyond the SDK's defaults.

Source: internal/service/sts/caller_identity_dsrc.go:16

Example usage:

imports: {
  aws: 'github.com/cloudboss/unobin-library-aws'
}

data-sources: {
  example: aws.sts-caller-identity {
  }
}

Inputs

This kind has no inputs.

Input Constraints

This kind declares no extra input constraints.

Outputs

account

string

arn

string

user-id

string