inspector_stop_assessment_run: Stops the assessment run that is specified by the ARN of the...

Description Usage Arguments Request syntax Examples

View source: R/inspector_operations.R

Description

Stops the assessment run that is specified by the ARN of the assessment run.

Usage

1
inspector_stop_assessment_run(assessmentRunArn, stopAction)

Arguments

assessmentRunArn

[required] The ARN of the assessment run that you want to stop.

stopAction

An input option that can be set to either START\_EVALUATION or SKIP\_EVALUATION. START\_EVALUATION (the default value), stops the AWS agent from collecting data and begins the results evaluation and the findings generation process. SKIP\_EVALUATION cancels the assessment run immediately, after which no findings are generated.

Request syntax

1
2
3
4
svc$stop_assessment_run(
  assessmentRunArn = "string",
  stopAction = "START_EVALUATION"|"SKIP_EVALUATION"
)

Examples

1
2
3
4
5
# Stops the assessment run that is specified by the ARN of the assessment
# run.
svc$stop_assessment_run(
  assessmentRunArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-..."
)

paws.security.identity documentation built on Oct. 30, 2019, 11:26 a.m.