| 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.AwsIamPolicyDetails
Description
Synopsis
- data AwsIamPolicyDetails = AwsIamPolicyDetails' {
- policyName :: Maybe Text
- updateDate :: Maybe Text
- policyId :: Maybe Text
- path :: Maybe Text
- policyVersionList :: Maybe [AwsIamPolicyVersion]
- createDate :: Maybe Text
- isAttachable :: Maybe Bool
- permissionsBoundaryUsageCount :: Maybe Int
- defaultVersionId :: Maybe Text
- attachmentCount :: Maybe Int
- description :: Maybe Text
- newAwsIamPolicyDetails :: AwsIamPolicyDetails
- awsIamPolicyDetails_policyName :: Lens' AwsIamPolicyDetails (Maybe Text)
- awsIamPolicyDetails_updateDate :: Lens' AwsIamPolicyDetails (Maybe Text)
- awsIamPolicyDetails_policyId :: Lens' AwsIamPolicyDetails (Maybe Text)
- awsIamPolicyDetails_path :: Lens' AwsIamPolicyDetails (Maybe Text)
- awsIamPolicyDetails_policyVersionList :: Lens' AwsIamPolicyDetails (Maybe [AwsIamPolicyVersion])
- awsIamPolicyDetails_createDate :: Lens' AwsIamPolicyDetails (Maybe Text)
- awsIamPolicyDetails_isAttachable :: Lens' AwsIamPolicyDetails (Maybe Bool)
- awsIamPolicyDetails_permissionsBoundaryUsageCount :: Lens' AwsIamPolicyDetails (Maybe Int)
- awsIamPolicyDetails_defaultVersionId :: Lens' AwsIamPolicyDetails (Maybe Text)
- awsIamPolicyDetails_attachmentCount :: Lens' AwsIamPolicyDetails (Maybe Int)
- awsIamPolicyDetails_description :: Lens' AwsIamPolicyDetails (Maybe Text)
Documentation
data AwsIamPolicyDetails Source #
Represents an IAM permissions policy.
See: newAwsIamPolicyDetails smart constructor.
Constructors
| AwsIamPolicyDetails' | |
Fields
| |
Instances
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_policyName :: Lens' AwsIamPolicyDetails (Maybe Text) Source #
The name 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_path :: Lens' AwsIamPolicyDetails (Maybe Text) Source #
The path to the policy.
awsIamPolicyDetails_policyVersionList :: Lens' AwsIamPolicyDetails (Maybe [AwsIamPolicyVersion]) Source #
List of versions 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.
awsIamPolicyDetails_description :: Lens' AwsIamPolicyDetails (Maybe Text) Source #
A description of the policy.