Class: Aws::Inspector::Types::CreateAssessmentTargetRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::Inspector::Types::CreateAssessmentTargetRequest
- 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
-
#assessment_target_name ⇒ String
The user-defined name that identifies the assessment target that you want to create.
-
#resource_group_arn ⇒ String
The ARN that specifies the resource group that is used to create the assessment target.
Instance Attribute Details
#assessment_target_name ⇒ String
The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.
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_arn ⇒ String
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.
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 |