AWS

Download 614
Last updated Dec 1, 2026

aws-regions

Retrieves a list of AWS regions.

Syntax

aws-regions

Options

Output fields

FieldTypeNameDescription
namestringNamee.g. us-east-1
descriptionstringDescriptione.g. US East (N. Virginia)

Error codes

Parse errors

Error messageCauseResolution
aws-profile-not-foundNo AWS connect profile matches the name given in the profile option.Check the name on Settings > Connect Profiles and specify it again.
no-permissionThe account running the query is not granted the connect profile.Ask an administrator to grant the connect profile.
use-one-aws-profileMore than one connect profile was given in the profile option.Specify a single connect profile.

Description

Retrieves a list of AWS regions.

This command calls no AWS API, so it needs no additional IAM permission.

Examples

Example: List AWS Regions

Situation: A periodic review or an incident investigation needs the result of list aws regions.

aws-regions

Expected result:

namedescription
us-east-1US East (N. Virginia)

Interpretation: One record is one queried item. Use aws_profile and region to tell which account and region it came from, then narrow the columns with fields and either export the result or use it as the lookup stage of a detection rule.