Skip to content

/AWS1/CL_INS=>UPDATEASSESSMENTTARGET()

About UpdateAssessmentTarget

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.

Method Signature

IMPORTING

Required arguments:

IV_ASSESSMENTTARGETARN TYPE /AWS1/INSARN /AWS1/INSARN

The ARN of the assessment target that you want to update.

IV_ASSESSMENTTARGETNAME TYPE /AWS1/INSASSESSMENTTARGETNAME /AWS1/INSASSESSMENTTARGETNAME

The name of the assessment target that you want to update.

Optional arguments:

IV_RESOURCEGROUPARN TYPE /AWS1/INSARN /AWS1/INSARN

The ARN of the resource group that is used to specify the new resource group to associate with the assessment target.