turbot/aws_insights

Query: emr_cluster_status

Usage

powerpipe query aws_insights.query.emr_cluster_status

Steampipe Tables

SQL

select
status -> 'StateChangeReason' ->> 'Code' as "Code",
status -> 'StateChangeReason' ->> 'Message' as "Message",
status -> 'Timeline' ->> 'CreationDateTime' as "Creation Time",
status -> 'Timeline' ->> 'ReadyDateTime' as "Ready Time",
status -> 'Timeline' ->> 'EndDateTime' as "End Time"
from
aws_emr_cluster
where
cluster_arn = $1
and account_id = split_part($1, ':', 5)
and region = split_part($1, ':', 4);

Dashboards

The query is used in the dashboards: