Class: Aws::SecurityHub::Types::AwsIamInstanceProfileRole

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

Overview

Note:

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

{
  arn: "NonEmptyString",
  assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
  create_date: "NonEmptyString",
  path: "NonEmptyString",
  role_id: "NonEmptyString",
  role_name: "NonEmptyString",
}

Information about a role associated with an instance profile.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The ARN of the role.

Returns:

  • (String)


11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11086

class AwsIamInstanceProfileRole < Struct.new(
  :arn,
  :assume_role_policy_document,
  :create_date,
  :path,
  :role_id,
  :role_name)
  SENSITIVE = []
  include Aws::Structure
end

#assume_role_policy_documentString

The policy that grants an entity permission to assume the role.

Returns:

  • (String)


11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11086

class AwsIamInstanceProfileRole < Struct.new(
  :arn,
  :assume_role_policy_document,
  :create_date,
  :path,
  :role_id,
  :role_name)
  SENSITIVE = []
  include Aws::Structure
end

#create_dateString

Indicates when the role was created.

Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.

Returns:

  • (String)


11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11086

class AwsIamInstanceProfileRole < Struct.new(
  :arn,
  :assume_role_policy_document,
  :create_date,
  :path,
  :role_id,
  :role_name)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

The path to the role.

Returns:

  • (String)


11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11086

class AwsIamInstanceProfileRole < Struct.new(
  :arn,
  :assume_role_policy_document,
  :create_date,
  :path,
  :role_id,
  :role_name)
  SENSITIVE = []
  include Aws::Structure
end

#role_idString

The identifier of the role.

Returns:

  • (String)


11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11086

class AwsIamInstanceProfileRole < Struct.new(
  :arn,
  :assume_role_policy_document,
  :create_date,
  :path,
  :role_id,
  :role_name)
  SENSITIVE = []
  include Aws::Structure
end

#role_nameString

The name of the role.

Returns:

  • (String)


11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 11086

class AwsIamInstanceProfileRole < Struct.new(
  :arn,
  :assume_role_policy_document,
  :create_date,
  :path,
  :role_id,
  :role_name)
  SENSITIVE = []
  include Aws::Structure
end