AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the StartAssessmentRun operation. Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
Namespace: Amazon.Inspector.Model
Assembly: AWSSDK.Inspector.dll
Version: 3.x.y.z
public class StartAssessmentRunRequest : AmazonInspectorRequest IAmazonWebServiceRequest
The StartAssessmentRunRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
StartAssessmentRunRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
AssessmentRunName | System.String |
Gets and sets the property AssessmentRunName. You can specify the name for the assessment run. The name must be unique for the assessment template whose ARN is used to start the assessment run. |
![]() |
AssessmentTemplateArn | System.String |
Gets and sets the property AssessmentTemplateArn. The ARN of the assessment template of the assessment run that you want to start. |
Starts the assessment run specified by the ARN of the assessment template. For this API to function properly, you must not exceed the limit of running up to 500 concurrent agents per AWS account.
var client = new AmazonInspectorClient(); var response = client.StartAssessmentRun(new StartAssessmentRunRequest { AssessmentRunName = "examplerun", AssessmentTemplateArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX/template/0-it5r2S4T" }); string assessmentRunArn = response.AssessmentRunArn;
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5