application_status_check_associations
Creates, updates, deletes, gets or lists an application_status_check_associations resource.
Overview
| Name | application_status_check_associations |
| Type | Resource |
| Id | aws.ec2.application_status_check_associations |
Fields
The following fields are returned by SELECT queries:
- describe_application_status_check_associations
| Name | Datatype | Description |
|---|---|---|
application_status_check_id | string | The ID of the application status check. |
association_type | string | The type of target that the application status check is associated with. Possible values: tag – The check applies to current and future instances with a matching tag key-value pair. instance-id – The check applies to a specific instance. |
key | string | The key for the association. This value is present only for tag-based associations, where it contains the tag key. For instance-based associations, this value is absent. |
value | string | The value for the association target. For tag-based associations, this is the tag value. For instance-based associations, this is the instance ID (for example, i-0123456789abcdef0). |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
describe_application_status_check_associations | select | region | ApplicationStatusCheckId, Filter, MaxResults, NextToken, DryRun | Describes the associations for one or more application status checks. For more information, see Application status checks. To avoid timeouts and retrieve complete results, use the pagination parameters. The order of the elements in the response, including those within nested structures, might vary. |
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) |
ApplicationStatusCheckId | array | The IDs of the application status checks for which to describe associations. |
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 to use to limit the results. association-type – The type of association. Valid values: tag and instance-id. |
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_check_associations
Describes the associations for one or more application status checks. For more information, see Application status checks. To avoid timeouts and retrieve complete results, use the pagination parameters. The order of the elements in the response, including those within nested structures, might vary.
SELECT
application_status_check_id,
association_type,
key,
value
FROM aws.ec2.application_status_check_associations
WHERE region = '{{ region }}' -- required
AND ApplicationStatusCheckId = '{{ ApplicationStatusCheckId }}'
AND Filter = '{{ Filter }}'
AND MaxResults = '{{ MaxResults }}'
AND NextToken = '{{ NextToken }}'
AND DryRun = '{{ DryRun }}'
;