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.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb

Overview

Note:

When making an API call, you may pass CreateAssessmentTargetRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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)


808
809
810
811
812
813
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 808

class CreateAssessmentTargetRequest < Struct.new(
  :assessment_target_name,
  :resource_group_arn)
  SENSITIVE = []
  include Aws::Structure
end

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


808
809
810
811
812
813
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 808

class CreateAssessmentTargetRequest < Struct.new(
  :assessment_target_name,
  :resource_group_arn)
  SENSITIVE = []
  include Aws::Structure
end