Learn R Programming

paws.security.identity (version 0.1.12)

inspector_update_assessment_target: 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

inspector_update_assessment_target(assessmentTargetArn,
  assessmentTargetName, resourceGroupArn)

Value

An empty list.

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.

Request syntax

svc$update_assessment_target(
  assessmentTargetArn = "string",
  assessmentTargetName = "string",
  resourceGroupArn = "string"
)

Examples

Run this code
if (FALSE) {
# 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"
)
}

Run the code above in your browser using DataLab