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

Class: Aws::Inspector::Types::DescribeCrossAccountAccessRoleResponse

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#registered_atTime

The date when the cross-account access role was registered.

Returns:

  • (Time)


947
948
949
950
951
952
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 947

class DescribeCrossAccountAccessRoleResponse < Struct.new(
  :role_arn,
  :valid,
  :registered_at)
  include Aws::Structure
end

#role_arnString

The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS account.

Returns:

  • (String)


947
948
949
950
951
952
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 947

class DescribeCrossAccountAccessRoleResponse < Struct.new(
  :role_arn,
  :valid,
  :registered_at)
  include Aws::Structure
end

#validBoolean

A Boolean value that specifies whether the IAM role has the necessary policies attached to enable Amazon Inspector to access your AWS account.

Returns:

  • (Boolean)


947
948
949
950
951
952
# File 'gems/aws-sdk-inspector/lib/aws-sdk-inspector/types.rb', line 947

class DescribeCrossAccountAccessRoleResponse < Struct.new(
  :role_arn,
  :valid,
  :registered_at)
  include Aws::Structure
end