Describe Action Targets
securityhub_describe_action_targets | R Documentation |
Returns a list of the custom action targets in Security Hub in your account¶
Description¶
Returns a list of the custom action targets in Security Hub in your account.
Usage¶
Arguments¶
ActionTargetArns
A list of custom action target ARNs for the custom action targets to retrieve.
NextToken
The token that is required for pagination. On your first call to the
describe_action_targets
operation, set the value of this parameter toNULL
.For subsequent calls to the operation, to continue listing data, set the value of this parameter to the value returned from the previous response.
MaxResults
The maximum number of results to return.
Value¶
A list with the following syntax:
list(
ActionTargets = list(
list(
ActionTargetArn = "string",
Name = "string",
Description = "string"
)
),
NextToken = "string"
)
Request syntax¶
svc$describe_action_targets(
ActionTargetArns = list(
"string"
),
NextToken = "string",
MaxResults = 123
)
Examples¶
## Not run:
# The following example returns a list of custom action targets. You use
# custom actions on findings and insights in Security Hub to trigger
# target actions in Amazon CloudWatch Events.
svc$describe_action_targets(
ActionTargetArns = list(
"arn:aws:securityhub:us-west-1:123456789012:action/custom/Remediation"
)
)
## End(Not run)