Skip to content

aws.devops_guru.describe_insight

Example SQL Queries

SELECT * FROM
aws.devops_guru.describe_insight
WHERE
"id" = 'VALUE';

Description

Returns details about an insight that you specify using its ID.

Table Definition

Column NameColumn Data Type
id Required Input Column

The ID of the insight.

VARCHAR
account_id Input Column

The ID of the member account in the organization.

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
proactive_insight

A ProactiveInsight object that represents the requested insight.

STRUCT(
"id" VARCHAR,
"name" VARCHAR,
"severity" VARCHAR,
"status" VARCHAR,
"insight_time_range" STRUCT(
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S
),
"prediction_time_range" STRUCT(
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S
),
"resource_collection" STRUCT(
"cloud_formation" STRUCT(
"stack_names" VARCHAR[]
),
"tags" STRUCT(
"app_boundary_key" VARCHAR,
"tag_values" VARCHAR[]
)[]
),
"ssm_ops_item_id" VARCHAR,
"description" VARCHAR
)
Show child fields
proactive_insight.description

Describes the proactive insight.

proactive_insight.id

The ID of the proactive insight.

proactive_insight.insight_time_range

A time ranged that specifies when the observed behavior in an insight started and ended.

Show child fields
proactive_insight.insight_time_range.end_time

The time when the behavior described in an insight ended.

proactive_insight.insight_time_range.start_time

The time when the behavior described in an insight started.

proactive_insight.name

The name of the proactive insight.

proactive_insight.prediction_time_range

The time range during which anomalous behavior in a proactive anomaly or an insight is expected to occur.

Show child fields
proactive_insight.prediction_time_range.end_time

The time when the behavior in a proactive insight is expected to end.

proactive_insight.prediction_time_range.start_time

The time range during which a metric limit is expected to be exceeded. This applies to proactive insights only.

proactive_insight.resource_collection

A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Show child fields
proactive_insight.resource_collection.cloud_formation

An array of the names of Amazon Web Services CloudFormation stacks. The stacks define Amazon Web Services resources that DevOps Guru analyzes. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Show child fields
proactive_insight.resource_collection.cloud_formation.stack_names[]
proactive_insight.resource_collection.tags[]
Show child fields
proactive_insight.resource_collection.tags[].app_boundary_key

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that DevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary.

The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-. The tag key might be DevOps-Guru-deployment-application or devops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds and a key named DevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS or Devops-Guru-production-application/containers.

proactive_insight.resource_collection.tags[].tag_values[]
proactive_insight.severity

The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.

proactive_insight.ssm_ops_item_id

The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.

proactive_insight.status

The status of the proactive insight.

reactive_insight

A ReactiveInsight object that represents the requested insight.

STRUCT(
"id" VARCHAR,
"name" VARCHAR,
"severity" VARCHAR,
"status" VARCHAR,
"insight_time_range" STRUCT(
"start_time" TIMESTAMP_S,
"end_time" TIMESTAMP_S
),
"resource_collection" STRUCT(
"cloud_formation" STRUCT(
"stack_names" VARCHAR[]
),
"tags" STRUCT(
"app_boundary_key" VARCHAR,
"tag_values" VARCHAR[]
)[]
),
"ssm_ops_item_id" VARCHAR,
"description" VARCHAR
)
Show child fields
reactive_insight.description

Describes the reactive insight.

reactive_insight.id

The ID of a reactive insight.

reactive_insight.insight_time_range

A time ranged that specifies when the observed behavior in an insight started and ended.

Show child fields
reactive_insight.insight_time_range.end_time

The time when the behavior described in an insight ended.

reactive_insight.insight_time_range.start_time

The time when the behavior described in an insight started.

reactive_insight.name

The name of a reactive insight.

reactive_insight.resource_collection

A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Show child fields
reactive_insight.resource_collection.cloud_formation

An array of the names of Amazon Web Services CloudFormation stacks. The stacks define Amazon Web Services resources that DevOps Guru analyzes. You can specify up to 500 Amazon Web Services CloudFormation stacks.

Show child fields
reactive_insight.resource_collection.cloud_formation.stack_names[]
reactive_insight.resource_collection.tags[]
Show child fields
reactive_insight.resource_collection.tags[].app_boundary_key

An Amazon Web Services tag key that is used to identify the Amazon Web Services resources that DevOps Guru analyzes. All Amazon Web Services resources in your account and Region tagged with this key make up your DevOps Guru application and analysis boundary.

The string used for a key in a tag that you use to define your resource coverage must begin with the prefix Devops-guru-. The tag key might be DevOps-Guru-deployment-application or devops-guru-rds-application. When you create a key, the case of characters in the key can be whatever you choose. After you create a key, it is case-sensitive. For example, DevOps Guru works with a key named devops-guru-rds and a key named DevOps-Guru-RDS, and these act as two different keys. Possible key/value pairs in your application might be Devops-Guru-production-application/RDS or Devops-Guru-production-application/containers.

reactive_insight.resource_collection.tags[].tag_values[]
reactive_insight.severity

The severity of the insight. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.

reactive_insight.ssm_ops_item_id

The ID of the Amazon Web Services System Manager OpsItem created for this insight. You must enable the creation of OpstItems insights before they are created for each insight.

reactive_insight.status

The status of a reactive insight.