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 UpdateAssessmentTarget operation. Updates the assessment target that is specified by the ARN of the assessment target.
If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.
Namespace: Amazon.Inspector.Model
Assembly: AWSSDK.Inspector.dll
Version: 3.x.y.z
public class UpdateAssessmentTargetRequest : AmazonInspectorRequest IAmazonWebServiceRequest
The UpdateAssessmentTargetRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateAssessmentTargetRequest() |
Name | Type | Description | |
---|---|---|---|
AssessmentTargetArn | System.String |
Gets and sets the property AssessmentTargetArn. The ARN of the assessment target that you want to update. |
|
AssessmentTargetName | System.String |
Gets and sets the property AssessmentTargetName. The name of the assessment target that you want to update. |
|
ResourceGroupArn | System.String |
Gets and sets the property ResourceGroupArn. The ARN of the resource group that is used to specify the new resource group to associate with the assessment target. |
Updates the assessment target that is specified by the ARN of the assessment target.
var client = new AmazonInspectorClient(); var response = client.UpdateAssessmentTarget(new UpdateAssessmentTargetRequest { AssessmentTargetArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX", AssessmentTargetName = "Example", ResourceGroupArn = "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-yNbgL5Pt" });
.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