Update Assessment Target
inspector_update_assessment_target | R Documentation |
Updates the assessment target that is specified by the ARN of the assessment target¶
Description¶
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.
Usage¶
Arguments¶
assessmentTargetArn
[required] The ARN of the assessment target that you want to update.
assessmentTargetName
[required] The name of the assessment target that you want to update.
resourceGroupArn
The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.
Value¶
An empty list.
Request syntax¶
svc$update_assessment_target(
assessmentTargetArn = "string",
assessmentTargetName = "string",
resourceGroupArn = "string"
)
Examples¶
## Not run:
# Updates the assessment target that is specified by the ARN of the
# assessment target.
svc$update_assessment_target(
assessmentTargetArn = "arn:aws:inspector:us-west-2:123456789012:target/0-nvgVhaxX",
assessmentTargetName = "Example",
resourceGroupArn = "arn:aws:inspector:us-west-2:123456789012:resourcegroup/0-yNbgL5Pt"
)
## End(Not run)