application_status
Creates, updates, deletes, gets or lists an application_status resource.
Overview
| Name | application_status |
| Type | Resource |
| Id | aws.ec2.application_status |
Fields
The following fields are returned by SELECT queries:
- describe_application_status
| Name | Datatype | Description |
|---|---|---|
application_statuses | string | The application statuses for the specified instances. |
next_token | string | The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_application_status | select | region | InstanceId, Filter, MaxResults, NextToken, DryRun | Describes the application status for the specified instances. Returns the aggregated application health status for each instance. The following rules apply: The instance-level status is derived from all application status checks with the aggregation setting set to included. Use DescribeApplicationStatusChecks to view the configuration of individual checks. Use EnableApplicationStatusCheckSuppression to temporarily suppress health check results from affecting the instance-level status. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
DryRun | boolean | Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation. |
Filter | array | The filters. availability-zone-id – The ID of the Availability Zone. status – The instance-level application status. For valid values and their meanings, see ApplicationStatus. |
InstanceId | array | The IDs of the instances for which to describe application status. |
MaxResults | integer | The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output. For more information, see Pagination. |
NextToken | string | The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request. |
SELECT examples
- describe_application_status
Describes the application status for the specified instances. Returns the aggregated application health status for each instance. The following rules apply: The instance-level status is derived from all application status checks with the aggregation setting set to included. Use DescribeApplicationStatusChecks to view the configuration of individual checks. Use EnableApplicationStatusCheckSuppression to temporarily suppress health check results from affecting the instance-level status.
SELECT
application_statuses,
next_token
FROM aws.ec2.application_status
WHERE region = '{{ region }}' -- required
AND InstanceId = '{{ InstanceId }}'
AND Filter = '{{ Filter }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND DryRun = '{{ DryRun }}'
;