Skip to main content

environment

Gets an individual environment resource

Overview

Nameenvironment
TypeResource
Descriptionenvironment
Idawscc.refactorspaces.environment

Fields

NameDatatypeDescription
descriptionstring
environment_identifierstring
namestring
network_fabric_typestring
arnstring
transit_gateway_idstring
tagsarrayMetadata that you can assign to help organize the frameworks that you create. Each tag is a key-value pair.
regionstringAWS region.

Methods

Currently only SELECT is supported for this resource resource.

Example

SELECT
region,
description,
environment_identifier,
name,
network_fabric_type,
arn,
transit_gateway_id,
tags
FROM awscc.refactorspaces.environment
WHERE data__Identifier = '<EnvironmentIdentifier>';

Permissions

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

Read

refactor-spaces:GetEnvironment,
refactor-spaces:ListTagsForResource

Delete

refactor-spaces:GetEnvironment,
refactor-spaces:DeleteEnvironment,
refactor-spaces:UntagResource,
ec2:DescribeTransitGateways,
ec2:DescribeTransitGatewayVpcAttachments,
ec2:DeleteTransitGateway,
ec2:DeleteTransitGatewayVpcAttachment,
ec2:DeleteTags,
ram:GetResourceShareAssociations,
ram:DeleteResourceShare