inspector_update_assessment_target: Updates the assessment target that is specified by the ARN of...

Description Usage Arguments Details Request syntax Examples

View source: R/inspector_operations.R

Description

Updates the assessment target that is specified by the ARN of the assessment target.

Usage

1
2
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.

Details

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

Request syntax

1
2
3
4
5
svc$update_assessment_target(
  assessmentTargetArn = "string",
  assessmentTargetName = "string",
  resourceGroupArn = "string"
)

Examples

1
2
3
4
5
6
7
# 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"
)

paws.security.identity documentation built on Jan. 14, 2020, 5:08 p.m.