{
"resources": {
"cloudformation-stacks": {
"display_name": "CloudFormation Stacks",
"service": "cloudformation",
"sdk_method": "describe_stacks",
"sdk_method_params": {},
"response_path": "stacks",
"id_field": "StackName",
"name_field": "StackName",
"is_global": false,
"columns": [
{ "header": "STACK NAME", "json_path": "StackName", "width": 35 },
{ "header": "STATUS", "json_path": "StackStatus", "width": 25, "color_map": "state" },
{ "header": "CREATED", "json_path": "CreationTime", "width": 25 },
{ "header": "UPDATED", "json_path": "LastUpdatedTime", "width": 25 }
],
"sub_resources": [
{
"shortcut": "e",
"display_name": "Events",
"resource_key": "cloudformation-events",
"parent_id_field": "StackName",
"filter_param": "stack_name"
},
{
"shortcut": "o",
"display_name": "Outputs",
"resource_key": "cloudformation-outputs",
"parent_id_field": "StackName",
"filter_param": "stack_name"
},
{
"shortcut": "r",
"display_name": "Resources",
"resource_key": "cloudformation-resources",
"parent_id_field": "StackName",
"filter_param": "stack_name"
}
],
"actions": [
{ "key": "ctrl+d", "display_name": "Delete Stack", "shortcut": "ctrl+d", "sdk_method": "delete_stack", "confirm": { "message": "Delete CloudFormation stack", "default_yes": false, "destructive": true } }
],
"api_config": {
"protocol": "query",
"action": "DescribeStacks",
"response_root": "/DescribeStacksResponse/DescribeStacksResult/Stacks/member",
"pagination": {
"input_token": "NextToken",
"output_token": "/DescribeStacksResponse/DescribeStacksResult/NextToken"
}
},
"field_mappings": {
"StackName": { "source": "/StackName", "default": "-" },
"StackId": { "source": "/StackId", "default": "-" },
"StackStatus": { "source": "/StackStatus", "default": "-" },
"CreationTime": { "source": "/CreationTime", "default": "-" },
"LastUpdatedTime": { "source": "/LastUpdatedTime", "default": "-" },
"Description": { "source": "/Description", "default": "-" }
},
"action_configs": {
"delete_stack": {
"action_id": "delete_stack",
"protocol": "query",
"action": "DeleteStack",
"id_param": "StackName"
}
}
},
"cloudformation-events": {
"display_name": "Stack Events",
"service": "cloudformation",
"sdk_method": "describe_stack_events",
"sdk_method_params": {},
"response_path": "events",
"id_field": "EventId",
"name_field": "LogicalResourceId",
"is_global": false,
"requires_parent": true,
"preserve_order": true,
"columns": [
{ "header": "TIMESTAMP", "json_path": "Timestamp", "width": 22 },
{ "header": "LOGICAL ID", "json_path": "LogicalResourceId", "width": 28 },
{ "header": "STATUS", "json_path": "ResourceStatus", "width": 28, "color_map": "state" },
{ "header": "TYPE", "json_path": "ResourceType", "width": 30 },
{ "header": "REASON", "json_path": "ResourceStatusReason", "width": 40 }
],
"sub_resources": [],
"actions": [],
"api_config": {
"protocol": "query",
"action": "DescribeStackEvents",
"response_root": "/DescribeStackEventsResponse/DescribeStackEventsResult/StackEvents/member",
"pagination": {
"input_token": "NextToken",
"output_token": "/DescribeStackEventsResponse/DescribeStackEventsResult/NextToken"
},
"param_mapping": {
"stack_name": "StackName"
}
},
"field_mappings": {
"EventId": { "source": "/EventId", "default": "-" },
"StackName": { "source": "/StackName", "default": "-" },
"LogicalResourceId": { "source": "/LogicalResourceId", "default": "-" },
"PhysicalResourceId": { "source": "/PhysicalResourceId", "default": "-" },
"ResourceType": { "source": "/ResourceType", "default": "-" },
"ResourceStatus": { "source": "/ResourceStatus", "default": "-" },
"ResourceStatusReason": { "source": "/ResourceStatusReason", "default": "-" },
"Timestamp": { "source": "/Timestamp", "default": "-" }
}
},
"cloudformation-outputs": {
"display_name": "Stack Outputs",
"service": "cloudformation",
"sdk_method": "describe_stacks",
"sdk_method_params": {},
"response_path": "outputs",
"id_field": "OutputKey",
"name_field": "OutputKey",
"is_global": false,
"requires_parent": true,
"columns": [
{ "header": "KEY", "json_path": "OutputKey", "width": 50 },
{ "header": "VALUE", "json_path": "OutputValue", "width": 50 }
],
"sub_resources": [],
"actions": [],
"api_config": {
"protocol": "query",
"action": "DescribeStacks",
"response_root": "/DescribeStacksResponse/DescribeStacksResult/Stacks/member/Outputs/member",
"param_mapping": {
"stack_name": "StackName"
}
},
"field_mappings": {
"OutputKey": { "source": "/OutputKey", "default": "-" },
"OutputValue": { "source": "/OutputValue", "default": "-" },
"Description": { "source": "/Description", "default": "-" },
"ExportName": { "source": "/ExportName", "default": "-" }
}
},
"cloudformation-resources": {
"display_name": "Stack Resources",
"service": "cloudformation",
"sdk_method": "list_stack_resources",
"sdk_method_params": {},
"response_path": "resources",
"id_field": "LogicalResourceId",
"name_field": "LogicalResourceId",
"is_global": false,
"requires_parent": true,
"columns": [
{ "header": "LOGICAL ID", "json_path": "LogicalResourceId", "width": 30 },
{ "header": "PHYSICAL ID", "json_path": "PhysicalResourceId", "width": 30 },
{ "header": "TYPE", "json_path": "ResourceType", "width": 35 },
{ "header": "STATUS", "json_path": "ResourceStatus", "width": 28, "color_map": "state" },
{ "header": "UPDATED", "json_path": "LastUpdatedTimestamp", "width": 22 }
],
"sub_resources": [],
"actions": [],
"api_config": {
"protocol": "query",
"action": "ListStackResources",
"response_root": "/ListStackResourcesResponse/ListStackResourcesResult/StackResourceSummaries/member",
"pagination": {
"input_token": "NextToken",
"output_token": "/ListStackResourcesResponse/ListStackResourcesResult/NextToken"
},
"param_mapping": {
"stack_name": "StackName"
}
},
"field_mappings": {
"LogicalResourceId": { "source": "/LogicalResourceId", "default": "-" },
"PhysicalResourceId": { "source": "/PhysicalResourceId", "default": "-" },
"ResourceType": { "source": "/ResourceType", "default": "-" },
"ResourceStatus": { "source": "/ResourceStatus", "default": "-" },
"ResourceStatusReason": { "source": "/ResourceStatusReason", "default": "-" },
"LastUpdatedTimestamp": { "source": "/LastUpdatedTimestamp", "default": "-" }
}
}
}
}