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

Class: Aws::Inspector::Types::RegisterCrossAccountAccessRoleRequest

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 RegisterCrossAccountAccessRoleRequest data as a hash:

{
  role_arn: "Arn", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#role_arnString

The ARN of the IAM role that Amazon Inspector uses to list your EC2 instances during the assessment run or when you call the PreviewAgents action.

Returns:

  • (String)


2040
2041
2042
2043
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 2040

class RegisterCrossAccountAccessRoleRequest < Struct.new(
  :role_arn)
  include Aws::Structure
end