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

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", # required
}

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)


647
648
649
650
651
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 647

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

#resource_group_arnString

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

Returns:

  • (String)


647
648
649
650
651
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 647

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