/AWS1/CL_IAMMANAGEDPOLICYDET¶
Contains information about a managed policy, including the policy's ARN, versions, and the number of principal entities (users, groups, and roles) that the policy is attached to.
This data type is used as a response element in the GetAccountAuthorizationDetails operation.
For more information about managed policies, see Managed policies and inline policies in the IAM User Guide.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_policyname TYPE /AWS1/IAMPOLICYNAMETYPE /AWS1/IAMPOLICYNAMETYPE¶
The friendly name (not ARN) identifying the policy.
iv_policyid TYPE /AWS1/IAMIDTYPE /AWS1/IAMIDTYPE¶
The stable and unique string identifying the policy.
For more information about IDs, see IAM identifiers in the IAM User Guide.
iv_arn TYPE /AWS1/IAMARNTYPE /AWS1/IAMARNTYPE¶
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
iv_path TYPE /AWS1/IAMPOLICYPATHTYPE /AWS1/IAMPOLICYPATHTYPE¶
The path to the policy.
For more information about paths, see IAM identifiers in the IAM User Guide.
iv_defaultversionid TYPE /AWS1/IAMPOLICYVERSIONIDTYPE /AWS1/IAMPOLICYVERSIONIDTYPE¶
The identifier for the version of the policy that is set as the default (operative) version.
For more information about policy versions, see Versioning for managed policies in the IAM User Guide.
iv_attachmentcount TYPE /AWS1/IAMATTACHMENTCOUNTTYPE /AWS1/IAMATTACHMENTCOUNTTYPE¶
The number of principal entities (users, groups, and roles) that the policy is attached to.
iv_permsboundaryusagecount TYPE /AWS1/IAMATTACHMENTCOUNTTYPE /AWS1/IAMATTACHMENTCOUNTTYPE¶
The number of entities (users and roles) for which the policy is used as the permissions boundary.
For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
iv_isattachable TYPE /AWS1/IAMBOOLEANTYPE /AWS1/IAMBOOLEANTYPE¶
Specifies whether the policy can be attached to an IAM user, group, or role.
iv_description TYPE /AWS1/IAMPOLICYDESCRIPTIONTYPE /AWS1/IAMPOLICYDESCRIPTIONTYPE¶
A friendly description of the policy.
iv_createdate TYPE /AWS1/IAMDATETYPE /AWS1/IAMDATETYPE¶
The date and time, in ISO 8601 date-time format, when the policy was created.
iv_updatedate TYPE /AWS1/IAMDATETYPE /AWS1/IAMDATETYPE¶
The date and time, in ISO 8601 date-time format, when the policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
it_policyversionlist TYPE /AWS1/CL_IAMPOLICYVERSION=>TT_POLICYDOCVERSIONLISTTYPE TT_POLICYDOCVERSIONLISTTYPE¶
A list containing information about the versions of the policy.
Queryable Attributes¶
PolicyName¶
The friendly name (not ARN) identifying the policy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYNAME() |
Getter for POLICYNAME, with configurable default |
ASK_POLICYNAME() |
Getter for POLICYNAME w/ exceptions if field has no value |
HAS_POLICYNAME() |
Determine if POLICYNAME has a value |
PolicyId¶
The stable and unique string identifying the policy.
For more information about IDs, see IAM identifiers in the IAM User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYID() |
Getter for POLICYID, with configurable default |
ASK_POLICYID() |
Getter for POLICYID w/ exceptions if field has no value |
HAS_POLICYID() |
Determine if POLICYID has a value |
Arn¶
The Amazon Resource Name (ARN). ARNs are unique identifiers for Amazon Web Services resources.
For more information about ARNs, go to Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ARN() |
Getter for ARN, with configurable default |
ASK_ARN() |
Getter for ARN w/ exceptions if field has no value |
HAS_ARN() |
Determine if ARN has a value |
Path¶
The path to the policy.
For more information about paths, see IAM identifiers in the IAM User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PATH() |
Getter for PATH, with configurable default |
ASK_PATH() |
Getter for PATH w/ exceptions if field has no value |
HAS_PATH() |
Determine if PATH has a value |
DefaultVersionId¶
The identifier for the version of the policy that is set as the default (operative) version.
For more information about policy versions, see Versioning for managed policies in the IAM User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DEFAULTVERSIONID() |
Getter for DEFAULTVERSIONID, with configurable default |
ASK_DEFAULTVERSIONID() |
Getter for DEFAULTVERSIONID w/ exceptions if field has no va |
HAS_DEFAULTVERSIONID() |
Determine if DEFAULTVERSIONID has a value |
AttachmentCount¶
The number of principal entities (users, groups, and roles) that the policy is attached to.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTACHMENTCOUNT() |
Getter for ATTACHMENTCOUNT, with configurable default |
ASK_ATTACHMENTCOUNT() |
Getter for ATTACHMENTCOUNT w/ exceptions if field has no val |
HAS_ATTACHMENTCOUNT() |
Determine if ATTACHMENTCOUNT has a value |
PermissionsBoundaryUsageCount¶
The number of entities (users and roles) for which the policy is used as the permissions boundary.
For more information about permissions boundaries, see Permissions boundaries for IAM identities in the IAM User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PERMSBOUNDARYUSAGECOUNT() |
Getter for PERMSBOUNDARYUSAGECOUNT, with configurable defaul |
ASK_PERMSBOUNDARYUSAGECOUNT() |
Getter for PERMSBOUNDARYUSAGECOUNT w/ exceptions if field ha |
HAS_PERMSBOUNDARYUSAGECOUNT() |
Determine if PERMSBOUNDARYUSAGECOUNT has a value |
IsAttachable¶
Specifies whether the policy can be attached to an IAM user, group, or role.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ISATTACHABLE() |
Getter for ISATTACHABLE |
Description¶
A friendly description of the policy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_DESCRIPTION() |
Getter for DESCRIPTION, with configurable default |
ASK_DESCRIPTION() |
Getter for DESCRIPTION w/ exceptions if field has no value |
HAS_DESCRIPTION() |
Determine if DESCRIPTION has a value |
CreateDate¶
The date and time, in ISO 8601 date-time format, when the policy was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDATE() |
Getter for CREATEDATE, with configurable default |
ASK_CREATEDATE() |
Getter for CREATEDATE w/ exceptions if field has no value |
HAS_CREATEDATE() |
Determine if CREATEDATE has a value |
UpdateDate¶
The date and time, in ISO 8601 date-time format, when the policy was last updated.
When a policy has only one version, this field contains the date and time when the policy was created. When a policy has more than one version, this field contains the date and time when the most recent policy version was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UPDATEDATE() |
Getter for UPDATEDATE, with configurable default |
ASK_UPDATEDATE() |
Getter for UPDATEDATE w/ exceptions if field has no value |
HAS_UPDATEDATE() |
Determine if UPDATEDATE has a value |
PolicyVersionList¶
A list containing information about the versions of the policy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYVERSIONLIST() |
Getter for POLICYVERSIONLIST, with configurable default |
ASK_POLICYVERSIONLIST() |
Getter for POLICYVERSIONLIST w/ exceptions if field has no v |
HAS_POLICYVERSIONLIST() |
Determine if POLICYVERSIONLIST has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_MANAGEDPOLICYDETAILLISTTYPE¶
TYPES TT_MANAGEDPOLICYDETAILLISTTYPE TYPE STANDARD TABLE OF REF TO /AWS1/CL_IAMMANAGEDPOLICYDET WITH DEFAULT KEY
.