Skip to content

aws.datazone.get_environment

Example SQL Queries

SELECT * FROM
aws.datazone.get_environment
WHERE
"domain_identifier" = 'VALUE'
AND "identifier" = 'VALUE';

Description

Gets an Amazon DataZone environment.

Table Definition

Column NameColumn Data Type
domain_identifier Required Input Column

The ID of the Amazon DataZone domain where the environment exists.

VARCHAR
identifier Required Input Column

The ID of the Amazon DataZone environment.

VARCHAR
_aws_profile Input Column

The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role.

STRUCT(
"type" VARCHAR,
"name" VARCHAR,
"account_id" VARCHAR,
"via_profile_name" VARCHAR,
"assumed_role_arn" VARCHAR,
"organization" STRUCT(
"account_name" VARCHAR,
"id" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"master_account" STRUCT(
"id" VARCHAR,
"email" VARCHAR
),
"parents" STRUCT(
"type" VARCHAR,
"id" VARCHAR,
"name" VARCHAR,
"tags" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[]
)[]
)
)
Show child fields
_aws_profile.account_id

The AWS account id

_aws_profile.assumed_role_arn

The ARN of the assumed role

_aws_profile.name

The unique name of the profile.

_aws_profile.organization

Information about this profile's membership in the AWS organization.

Show child fields
_aws_profile.organization.account_name

The name of account speciifed by the organization

_aws_profile.organization.id

The organization id

_aws_profile.organization.master_account
Show child fields
_aws_profile.organization.master_account.email

The organization master account email address

_aws_profile.organization.master_account.id

The organization master account id

_aws_profile.organization.parents[]
Show child fields
_aws_profile.organization.parents[].id

The id of the parent

_aws_profile.organization.parents[].name

The name of the parent

_aws_profile.organization.parents[].tags[]
Show child fields
_aws_profile.organization.parents[].tags[].key
_aws_profile.organization.parents[].tags[].value
_aws_profile.organization.parents[].type

The type of parent can be an organization unit or a root

_aws_profile.organization.tags[]
Show child fields
_aws_profile.organization.tags[].key
_aws_profile.organization.tags[].value
_aws_profile.type

The type of profile, either 'credentials' or 'assumed_role'

_aws_profile.via_profile_name

This IAM role for this profile is assumed by first utilizing another profile with this name to obtain credentials.

_aws_region Input Column

The AWS region to use.

VARCHAR
aws_account_id

The ID of the Amazon Web Services account where the environment exists.

VARCHAR
aws_account_region

The Amazon Web Services region where the environment exists.

VARCHAR
created_at

The timestamp of when the environment was created.

TIMESTAMP_S
created_by

The Amazon DataZone user who created the environment.

VARCHAR
deployment_properties

The deployment properties of the environment.

STRUCT(
"end_timeout_minutes" BIGINT,
"start_timeout_minutes" BIGINT
)
Show child fields
deployment_properties.end_timeout_minutes

The end timeout of the environment blueprint deployment.

deployment_properties.start_timeout_minutes

The start timeout of the environment blueprint deployment.

description

The description of the environment.

VARCHAR
domain_id

The ID of the Amazon DataZone domain where the environment exists.

VARCHAR
environment_actions

The actions of the environment.

STRUCT(
"auth" VARCHAR,
"parameters" STRUCT(
"key" VARCHAR,
"value" VARCHAR
)[],
"type" VARCHAR
)[]
Show child fields
environment_actions[]
Show child fields
environment_actions[].auth

The authentication type of a configurable action of a Amazon DataZone environment.

environment_actions[].parameters[]
Show child fields
environment_actions[].parameters[].key

The key of the configurable action parameter.

environment_actions[].parameters[].value

The value of the configurable action parameter.

environment_actions[].type

The type of a configurable action in a Amazon DataZone environment.

environment_blueprint_id

The blueprint with which the environment is created.

VARCHAR
environment_profile_id

The ID of the environment profile with which the environment is created.

VARCHAR
glossary_terms

The business glossary terms that can be used in this environment.

VARCHAR[]
Show child fields
glossary_terms[]
id

The ID of the environment.

VARCHAR
last_deployment

The details of the last deployment of the environment.

STRUCT(
"deployment_id" VARCHAR,
"deployment_status" VARCHAR,
"deployment_type" VARCHAR,
"failure_reason" STRUCT(
"code" VARCHAR,
"message" VARCHAR
),
"is_deployment_complete" BOOLEAN,
"messages" VARCHAR[]
)
Show child fields
last_deployment.deployment_id

The identifier of the last deployment of the environment.

last_deployment.deployment_status

The status of the last deployment of the environment.

last_deployment.deployment_type

The type of the last deployment of the environment.

last_deployment.failure_reason

The failure reason of the last deployment of the environment.

Show child fields
last_deployment.failure_reason.code

The error code for the failure reason for the environment deployment.

last_deployment.failure_reason.message

The error message for the failure reason for the environment deployment.

last_deployment.is_deployment_complete

Specifies whether the last deployment of the environment is complete.

last_deployment.messages[]
name

The name of the environment.

VARCHAR
project_id

The ID of the Amazon DataZone project in which this environment is created.

VARCHAR
provider

The provider of this Amazon DataZone environment.

VARCHAR
provisioned_resources

The provisioned resources of this Amazon DataZone environment.

STRUCT(
"name" VARCHAR,
"provider" VARCHAR,
"type" VARCHAR,
"value" VARCHAR
)[]
Show child fields
provisioned_resources[]
Show child fields
provisioned_resources[].name

The name of a provisioned resource of this Amazon DataZone environment.

provisioned_resources[].provider

The provider of a provisioned resource of this Amazon DataZone environment.

provisioned_resources[].type

The type of a provisioned resource of this Amazon DataZone environment.

provisioned_resources[].value

The value of a provisioned resource of this Amazon DataZone environment.

provisioning_properties

The provisioning properties of this Amazon DataZone environment.

STRUCT(
"cloud_formation" STRUCT(
"template_url" VARCHAR
)
)
Show child fields
provisioning_properties.cloud_formation

The cloud formation properties included as part of the provisioning properties of an environment blueprint.

Show child fields
provisioning_properties.cloud_formation.template_url

The template URL of the cloud formation provisioning properties of the environment blueprint.

status

The status of this Amazon DataZone environment.

VARCHAR
updated_at

The timestamp of when this environment was updated.

TIMESTAMP_S
user_parameters

The user parameters of this Amazon DataZone environment.

STRUCT(
"default_value" VARCHAR,
"description" VARCHAR,
"field_type" VARCHAR,
"is_editable" BOOLEAN,
"is_optional" BOOLEAN,
"key_name" VARCHAR
)[]
Show child fields
user_parameters[]
Show child fields
user_parameters[].default_value

The default value of the parameter.

user_parameters[].description

The description of the parameter.

user_parameters[].field_type

The filed type of the parameter.

user_parameters[].is_editable

Specifies whether the parameter is editable.

user_parameters[].is_optional

Specifies whether the custom parameter is optional.

user_parameters[].key_name

The key name of the parameter.