actions
Creates, updates, deletes, gets or lists an actions resource.
Overview
| Name | actions |
| Type | Resource |
| Id | aws.fis.actions |
Fields
The following fields are returned by SELECT queries:
- get_action
- list_actions
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the action. (pattern: <code>[\S]+</code>) |
arn | string | The Amazon Resource Name (ARN) of the action. (pattern: <code>[\S]+</code>) |
description | string | The description for the action. (pattern: <code>[\s\S]+</code>) |
parameters | object | The action parameters, if applicable. |
tags | object | The tags for the action. |
targets | object | The supported targets for the action. |
| Name | Datatype | Description |
|---|---|---|
id | string | The ID of the action. (pattern: <code>[\S]+</code>) |
arn | string | The Amazon Resource Name (ARN) of the action. (pattern: <code>[\S]+</code>) |
description | string | The description for the action. (pattern: <code>[\s\S]+</code>) |
tags | object | The tags for the action. |
targets | object | The targets for the action. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_action | select | id, region | Gets information about the specified FIS action. | |
list_actions | select | region | maxResults, nextToken | Lists the available FIS actions. |
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 |
|---|---|---|
id | string | The ID of the action. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value. |
nextToken | string | The token for the next page of results. |
SELECT examples
- get_action
- list_actions
Gets information about the specified FIS action.
SELECT
id,
arn,
description,
parameters,
tags,
targets
FROM aws.fis.actions
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;
Lists the available FIS actions.
SELECT
id,
arn,
description,
tags,
targets
FROM aws.fis.actions
WHERE region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;