environments_list_only
Lists environments in a region or regions, for all properties use environments
Overview
| Name | environments_list_only |
| Type | Resource |
| Description | Represents a runtime environment that can run migrated mainframe applications. |
| Id | aws.m2.environments_list_only |
Fields
| Name | Datatype | Description |
|---|---|---|
environment_arn | string | The Amazon Resource Name (ARN) of the runtime environment. |
region | string | AWS region. |
Methods
| Name | Accessible by | Required Params |
|---|---|---|
list_resources | SELECT | region |
SELECT examples
Lists all environments in a region.
SELECT
region,
environment_arn
FROM aws.m2.environments_list_only
WHERE region = 'us-east-1';
Permissions
For permissions required to operate on the environments_list_only resource, see environments