paws.security.identity (version 0.1.0)

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.

Usage

inspector_update_assessment_target(assessmentTargetArn,
  assessmentTargetName, resourceGroupArn)

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"
)

Details

If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.

Examples

Run this code
# NOT RUN {
# Updates the assessment target that is specified by the ARN of the
# assessment target.
# }
# NOT RUN {
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"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab