Skip to main content

environments

Retrieves a list of environments in a region

Overview

Nameenvironments
TypeResource
Descriptionenvironments
Idawscc.m2.environments

Fields

NameDatatypeDescription
environment_arnstringThe Amazon Resource Name (ARN) of the runtime environment.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
environment_arn
FROM awscc.m2.environments
WHERE region = 'us-east-1'

Permissions

To operate on the environments resource, the following permissions are required:

Create

ec2:CreateNetworkInterface,
ec2:CreateNetworkInterfacePermission,
ec2:DescribeNetworkInterfaces,
ec2:DescribeSecurityGroups,
ec2:DescribeSubnets,
ec2:DescribeVpcAttribute,
ec2:DescribeVpcs,
ec2:ModifyNetworkInterfaceAttribute,
elasticfilesystem:DescribeMountTargets,
elasticloadbalancing:CreateLoadBalancer,
elasticloadbalancing:AddTags,
fsx:DescribeFileSystems,
iam:CreateServiceLinkedRole,
kms:DescribeKey,
kms:CreateGrant,
m2:CreateEnvironment,
m2:GetEnvironment,
m2:ListTagsForResource,
m2:TagResource

List

m2:ListEnvironments