CmdID / aws / aws outposts
aws outposts list-outposts
Lists the Outposts for your Amazon Web Services account. AWS CLI reference
1 example 5 options Its page in the AWS CLI reference
Examples
To list Outposts
The following list-outposts example lists the Outposts in your AWS account.
aws outposts list-outpostsIdentifyIts output
{
"Outposts": [
{
"OutpostId": "op-0ab23c4567EXAMPLE",
"OwnerId": "123456789012",
"OutpostArn": "arn:aws:outposts:us-west-2:123456789012:outpost/op-0ab23c4567EXAMPLE",
"SiteId": "os-0ab12c3456EXAMPLE",
"Name": "EXAMPLE",
"Description": "example",
"LifeCycleStatus": "ACTIVE",
"AvailabilityZone": "us-west-2a",
"AvailabilityZoneId": "usw2-az1",
"Tags": {
"Name": "EXAMPLE"
}
},
{
"OutpostId": "op-4fe3dc21baEXAMPLE",
"OwnerId": "123456789012",
"OutpostArn": "arn:aws:outposts:us-west-2:123456789012:outpost/op-4fe3dc21baEXAMPLE",
"SiteId": "os-0ab12c3456EXAMPLE",
"Name": "EXAMPLE2",
"LifeCycleStatus": "ACTIVE",
"AvailabilityZone": "us-west-2a",
"AvailabilityZoneId": "usw2-az1",
"Tags": {}
}
]
}For more information, see What is AWS Outposts? in the AWS Outposts User Guide.
Options
--availability-zone-filterFilters the results by Availability Zone (for example, us-east-1a).--availability-zone-id-filterFilters the results by AZ ID (for example, use1-az1).--life-cycle-status-filterFilters the results by the lifecycle status.--max-resultsThe maximum page size.--next-tokenThe pagination token.