You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SecurityHub::Types::AwsIamRoleDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsIamRoleDetails
- Defined in:
- (unknown)
Overview
When passing AwsIamRoleDetails as input to an Aws::Client method, you can use a vanilla Hash:
{
assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
attached_managed_policies: [
{
policy_name: "NonEmptyString",
policy_arn: "NonEmptyString",
},
],
create_date: "NonEmptyString",
instance_profile_list: [
{
arn: "NonEmptyString",
create_date: "NonEmptyString",
instance_profile_id: "NonEmptyString",
instance_profile_name: "NonEmptyString",
path: "NonEmptyString",
roles: [
{
arn: "NonEmptyString",
assume_role_policy_document: "AwsIamRoleAssumeRolePolicyDocument",
create_date: "NonEmptyString",
path: "NonEmptyString",
role_id: "NonEmptyString",
role_name: "NonEmptyString",
},
],
},
],
permissions_boundary: {
permissions_boundary_arn: "NonEmptyString",
permissions_boundary_type: "NonEmptyString",
},
role_id: "NonEmptyString",
role_name: "NonEmptyString",
role_policy_list: [
{
policy_name: "NonEmptyString",
},
],
max_session_duration: 1,
path: "NonEmptyString",
}
Contains information about an IAM role, including all of the role's policies.
Returned by:
Instance Attribute Summary collapse
-
#assume_role_policy_document ⇒ String
The trust policy that grants permission to assume the role.
-
#attached_managed_policies ⇒ Array<Types::AwsIamAttachedManagedPolicy>
The list of the managed policies that are attached to the role.
-
#create_date ⇒ String
Indicates when the role was created.
-
#instance_profile_list ⇒ Array<Types::AwsIamInstanceProfile>
The list of instance profiles that contain this role.
-
#max_session_duration ⇒ Integer
The maximum session duration (in seconds) that you want to set for the specified role.
-
#path ⇒ String
The path to the role.
-
#permissions_boundary ⇒ Types::AwsIamPermissionsBoundary
Information about the policy used to set the permissions boundary for an IAM principal.
.
-
#role_id ⇒ String
The stable and unique string identifying the role.
-
#role_name ⇒ String
The friendly name that identifies the role.
-
#role_policy_list ⇒ Array<Types::AwsIamRolePolicy>
The list of inline policies that are embedded in the role.
Instance Attribute Details
#assume_role_policy_document ⇒ String
The trust policy that grants permission to assume the role.
#attached_managed_policies ⇒ Array<Types::AwsIamAttachedManagedPolicy>
The list of the managed policies that are attached to the role.
#create_date ⇒ String
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
.
#instance_profile_list ⇒ Array<Types::AwsIamInstanceProfile>
The list of instance profiles that contain this role.
#max_session_duration ⇒ Integer
The maximum session duration (in seconds) that you want to set for the specified role.
#path ⇒ String
The path to the role.
#permissions_boundary ⇒ Types::AwsIamPermissionsBoundary
Information about the policy used to set the permissions boundary for an IAM principal.
#role_id ⇒ String
The stable and unique string identifying the role.
#role_name ⇒ String
The friendly name that identifies the role.
#role_policy_list ⇒ Array<Types::AwsIamRolePolicy>
The list of inline policies that are embedded in the role.