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

Description

 
Synopsis

Documentation

data AwsIamPolicyDetails Source #

Represents an IAM permissions policy.

See: newAwsIamPolicyDetails smart constructor.

Constructors

AwsIamPolicyDetails' 

Fields

Instances

Instances details
Eq AwsIamPolicyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamPolicyDetails

Read AwsIamPolicyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamPolicyDetails

Show AwsIamPolicyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamPolicyDetails

Generic AwsIamPolicyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamPolicyDetails

Associated Types

type Rep AwsIamPolicyDetails :: Type -> Type #

NFData AwsIamPolicyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamPolicyDetails

Methods

rnf :: AwsIamPolicyDetails -> () #

Hashable AwsIamPolicyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamPolicyDetails

ToJSON AwsIamPolicyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamPolicyDetails

FromJSON AwsIamPolicyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamPolicyDetails

type Rep AwsIamPolicyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsIamPolicyDetails

type Rep AwsIamPolicyDetails = D1 ('MetaData "AwsIamPolicyDetails" "Amazonka.SecurityHub.Types.AwsIamPolicyDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsIamPolicyDetails'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "updateDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "policyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "path") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyVersionList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AwsIamPolicyVersion]))))) :*: ((S1 ('MetaSel ('Just "createDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "isAttachable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "permissionsBoundaryUsageCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "defaultVersionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "attachmentCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newAwsIamPolicyDetails :: AwsIamPolicyDetails Source #

Create a value of AwsIamPolicyDetails 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:policyName:AwsIamPolicyDetails', awsIamPolicyDetails_policyName - The name of the policy.

$sel:updateDate:AwsIamPolicyDetails', awsIamPolicyDetails_updateDate - When the policy was most recently updated.

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:policyId:AwsIamPolicyDetails', awsIamPolicyDetails_policyId - The unique identifier of the policy.

$sel:path:AwsIamPolicyDetails', awsIamPolicyDetails_path - The path to the policy.

$sel:policyVersionList:AwsIamPolicyDetails', awsIamPolicyDetails_policyVersionList - List of versions of the policy.

$sel:createDate:AwsIamPolicyDetails', awsIamPolicyDetails_createDate - When the policy 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:isAttachable:AwsIamPolicyDetails', awsIamPolicyDetails_isAttachable - Whether the policy can be attached to a user, group, or role.

$sel:permissionsBoundaryUsageCount:AwsIamPolicyDetails', awsIamPolicyDetails_permissionsBoundaryUsageCount - The number of users and roles that use the policy to set the permissions boundary.

$sel:defaultVersionId:AwsIamPolicyDetails', awsIamPolicyDetails_defaultVersionId - The identifier of the default version of the policy.

$sel:attachmentCount:AwsIamPolicyDetails', awsIamPolicyDetails_attachmentCount - The number of users, groups, and roles that the policy is attached to.

$sel:description:AwsIamPolicyDetails', awsIamPolicyDetails_description - A description of the policy.

awsIamPolicyDetails_updateDate :: Lens' AwsIamPolicyDetails (Maybe Text) Source #

When the policy was most recently updated.

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.

awsIamPolicyDetails_policyId :: Lens' AwsIamPolicyDetails (Maybe Text) Source #

The unique identifier of the policy.

awsIamPolicyDetails_createDate :: Lens' AwsIamPolicyDetails (Maybe Text) Source #

When the policy 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.

awsIamPolicyDetails_isAttachable :: Lens' AwsIamPolicyDetails (Maybe Bool) Source #

Whether the policy can be attached to a user, group, or role.

awsIamPolicyDetails_permissionsBoundaryUsageCount :: Lens' AwsIamPolicyDetails (Maybe Int) Source #

The number of users and roles that use the policy to set the permissions boundary.

awsIamPolicyDetails_defaultVersionId :: Lens' AwsIamPolicyDetails (Maybe Text) Source #

The identifier of the default version of the policy.

awsIamPolicyDetails_attachmentCount :: Lens' AwsIamPolicyDetails (Maybe Int) Source #

The number of users, groups, and roles that the policy is attached to.