Skip to main content

environment_tags

Expands all tag keys and values for environments in a region

Overview

Nameenvironment_tags
TypeResource
DescriptionRepresents a runtime environment that can run migrated mainframe applications.
Idaws.m2.environment_tags

Fields

NameDatatypeDescription
descriptionstringThe description of the environment.
engine_typestringThe target platform for the environment.
engine_versionstringThe version of the runtime engine for the environment.
environment_arnstringThe Amazon Resource Name (ARN) of the runtime environment.
environment_idstringThe unique identifier of the environment.
high_availability_configobjectDefines the details of a high availability configuration.
instance_typestringThe type of instance underlying the environment.
kms_key_idstringThe ID or the Amazon Resource Name (ARN) of the customer managed KMS Key used for encrypting environment-related resources.
namestringThe name of the environment.
preferred_maintenance_windowstringConfigures a desired maintenance window for the environment. If you do not provide a value, a random system-generated value will be assigned.
publicly_accessiblebooleanSpecifies whether the environment is publicly accessible.
security_group_idsarrayThe list of security groups for the VPC associated with this environment.
storage_configurationsarrayThe storage configurations defined for the runtime environment.
subnet_idsarrayThe unique identifiers of the subnets assigned to this runtime environment.
tag_keystringTag key.
tag_valuestringTag value.
regionstringAWS region.

Methods

NameAccessible byRequired Params
list_resourcesSELECTregion

SELECT examples

Expands tags for all environments in a region.

SELECT
region,
description,
engine_type,
engine_version,
environment_arn,
environment_id,
high_availability_config,
instance_type,
kms_key_id,
name,
preferred_maintenance_window,
publicly_accessible,
security_group_ids,
storage_configurations,
subnet_ids,
tag_key,
tag_value
FROM aws.m2.environment_tags
WHERE region = 'us-east-1';

Permissions

For permissions required to operate on the environment_tags resource, see environments