environments
Retrieves a list of environments
in a region
Overview
Name | environments |
Type | Resource |
Description | environments |
Id | awscc.m2.environments |
Fields
Name | Datatype | Description |
---|---|---|
environment_arn | string | The Amazon Resource Name (ARN) of the runtime environment. |
region | string | AWS 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