libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsIamRoleDetails

Description

 
Synopsis

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

Instances details
Eq AwsIamRoleDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamRoleDetails

Read AwsIamRoleDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamRoleDetails

Show AwsIamRoleDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamRoleDetails

Generic AwsIamRoleDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamRoleDetails

Associated Types

type Rep AwsIamRoleDetails :: Type -> Type #

NFData AwsIamRoleDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamRoleDetails

Methods

rnf :: AwsIamRoleDetails -> () #

Hashable AwsIamRoleDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamRoleDetails

ToJSON AwsIamRoleDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamRoleDetails

FromJSON AwsIamRoleDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamRoleDetails

type Rep AwsIamRoleDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamRoleDetails

type Rep AwsIamRoleDetails = D1 ('MetaData "AwsIamRoleDetails" "Amazonka.SecurityHub.Types.AwsIamRoleDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsIamRoleDetails'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "maxSessionDuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "assumeRolePolicyDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceProfileList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsIamInstanceProfile])) :*: S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "roleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "permissionsBoundary") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AwsIamPermissionsBoundary)) :*: (S1 ('MetaSel ('Just "rolePolicyList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsIamRolePolicy])) :*: S1 ('MetaSel ('Just "attachedManagedPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsIamAttachedManagedPolicy])))))))

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_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_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.