| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.SecurityHub.Types.AwsIamRoleDetails
Description
Synopsis
- data AwsIamRoleDetails = AwsIamRoleDetails' {
- maxSessionDuration :: Maybe Int
- assumeRolePolicyDocument :: Maybe Text
- path :: Maybe Text
- instanceProfileList :: Maybe [AwsIamInstanceProfile]
- createDate :: Maybe Text
- roleName :: Maybe Text
- roleId :: Maybe Text
- permissionsBoundary :: Maybe AwsIamPermissionsBoundary
- rolePolicyList :: Maybe [AwsIamRolePolicy]
- attachedManagedPolicies :: Maybe [AwsIamAttachedManagedPolicy]
- newAwsIamRoleDetails :: AwsIamRoleDetails
- awsIamRoleDetails_maxSessionDuration :: Lens' AwsIamRoleDetails (Maybe Int)
- awsIamRoleDetails_assumeRolePolicyDocument :: Lens' AwsIamRoleDetails (Maybe Text)
- awsIamRoleDetails_path :: Lens' AwsIamRoleDetails (Maybe Text)
- awsIamRoleDetails_instanceProfileList :: Lens' AwsIamRoleDetails (Maybe [AwsIamInstanceProfile])
- awsIamRoleDetails_createDate :: Lens' AwsIamRoleDetails (Maybe Text)
- awsIamRoleDetails_roleName :: Lens' AwsIamRoleDetails (Maybe Text)
- awsIamRoleDetails_roleId :: Lens' AwsIamRoleDetails (Maybe Text)
- awsIamRoleDetails_permissionsBoundary :: Lens' AwsIamRoleDetails (Maybe AwsIamPermissionsBoundary)
- awsIamRoleDetails_rolePolicyList :: Lens' AwsIamRoleDetails (Maybe [AwsIamRolePolicy])
- awsIamRoleDetails_attachedManagedPolicies :: Lens' AwsIamRoleDetails (Maybe [AwsIamAttachedManagedPolicy])
Documentation
data AwsIamRoleDetails Source #
Contains information about an IAM role, including all of the role's policies.
See: newAwsIamRoleDetails smart constructor.
Constructors
| AwsIamRoleDetails' | |
Fields
| |
Instances
newAwsIamRoleDetails :: AwsIamRoleDetails Source #
Create a value of AwsIamRoleDetails with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxSessionDuration:AwsIamRoleDetails', awsIamRoleDetails_maxSessionDuration - The maximum session duration (in seconds) that you want to set for the
specified role.
$sel:assumeRolePolicyDocument:AwsIamRoleDetails', awsIamRoleDetails_assumeRolePolicyDocument - The trust policy that grants permission to assume the role.
$sel:path:AwsIamRoleDetails', awsIamRoleDetails_path - The path to the role.
$sel:instanceProfileList:AwsIamRoleDetails', awsIamRoleDetails_instanceProfileList - The list of instance profiles that contain this role.
$sel:createDate:AwsIamRoleDetails', awsIamRoleDetails_createDate - 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.
$sel:roleName:AwsIamRoleDetails', awsIamRoleDetails_roleName - The friendly name that identifies the role.
$sel:roleId:AwsIamRoleDetails', awsIamRoleDetails_roleId - The stable and unique string identifying the role.
$sel:permissionsBoundary:AwsIamRoleDetails', awsIamRoleDetails_permissionsBoundary - Undocumented member.
$sel:rolePolicyList:AwsIamRoleDetails', awsIamRoleDetails_rolePolicyList - The list of inline policies that are embedded in the role.
$sel:attachedManagedPolicies:AwsIamRoleDetails', awsIamRoleDetails_attachedManagedPolicies - The list of the managed policies that are attached to the role.
awsIamRoleDetails_maxSessionDuration :: Lens' AwsIamRoleDetails (Maybe Int) Source #
The maximum session duration (in seconds) that you want to set for the specified role.
awsIamRoleDetails_assumeRolePolicyDocument :: Lens' AwsIamRoleDetails (Maybe Text) Source #
The trust policy that grants permission to assume the role.
awsIamRoleDetails_path :: Lens' AwsIamRoleDetails (Maybe Text) Source #
The path to the role.
awsIamRoleDetails_instanceProfileList :: Lens' AwsIamRoleDetails (Maybe [AwsIamInstanceProfile]) Source #
The list of instance profiles that contain this role.
awsIamRoleDetails_createDate :: Lens' AwsIamRoleDetails (Maybe Text) Source #
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.
awsIamRoleDetails_roleName :: Lens' AwsIamRoleDetails (Maybe Text) Source #
The friendly name that identifies the role.
awsIamRoleDetails_roleId :: Lens' AwsIamRoleDetails (Maybe Text) Source #
The stable and unique string identifying the role.
awsIamRoleDetails_permissionsBoundary :: Lens' AwsIamRoleDetails (Maybe AwsIamPermissionsBoundary) Source #
Undocumented member.
awsIamRoleDetails_rolePolicyList :: Lens' AwsIamRoleDetails (Maybe [AwsIamRolePolicy]) Source #
The list of inline policies that are embedded in the role.
awsIamRoleDetails_attachedManagedPolicies :: Lens' AwsIamRoleDetails (Maybe [AwsIamAttachedManagedPolicy]) Source #
The list of the managed policies that are attached to the role.