AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Inspector::Types::CreateAssessmentTargetRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateAssessmentTargetRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  assessment_target_name: "AssessmentTargetName", # required
  resource_group_arn: "Arn",
}

Instance Attribute Summary collapse

Instance Attribute Details

#assessment_target_nameString

The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.

Returns:

  • (String)

    The user-defined name that identifies the assessment target that you want to create.

#resource_group_arnString

The ARN that specifies the resource group that is used to create the assessment target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account and region are included in the assessment target.

Returns:

  • (String)

    The ARN that specifies the resource group that is used to create the assessment target.