/AWS1/CL_CWLRESOURCEPOLICY¶
A policy enabling one or more entities to put logs to a log group in this account.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_policyname TYPE /AWS1/CWLPOLICYNAME /AWS1/CWLPOLICYNAME¶
The name of the resource policy.
iv_policydocument TYPE /AWS1/CWLPOLICYDOCUMENT /AWS1/CWLPOLICYDOCUMENT¶
The details of the policy.
iv_lastupdatedtime TYPE /AWS1/CWLTIMESTAMP /AWS1/CWLTIMESTAMP¶
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC.
iv_policyscope TYPE /AWS1/CWLPOLICYSCOPE /AWS1/CWLPOLICYSCOPE¶
Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE.
iv_resourcearn TYPE /AWS1/CWLARN /AWS1/CWLARN¶
The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies.
iv_revisionid TYPE /AWS1/CWLEXPECTEDREVISIONID /AWS1/CWLEXPECTEDREVISIONID¶
The revision ID of the resource policy. Only populated for resource-scoped policies.
Queryable Attributes¶
policyName¶
The name of the resource 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 |
policyDocument¶
The details of the policy.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYDOCUMENT() |
Getter for POLICYDOCUMENT, with configurable default |
ASK_POLICYDOCUMENT() |
Getter for POLICYDOCUMENT w/ exceptions if field has no valu |
HAS_POLICYDOCUMENT() |
Determine if POLICYDOCUMENT has a value |
lastUpdatedTime¶
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after
Jan 1, 1970 00:00:00 UTC.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTUPDATEDTIME() |
Getter for LASTUPDATEDTIME, with configurable default |
ASK_LASTUPDATEDTIME() |
Getter for LASTUPDATEDTIME w/ exceptions if field has no val |
HAS_LASTUPDATEDTIME() |
Determine if LASTUPDATEDTIME has a value |
policyScope¶
Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_POLICYSCOPE() |
Getter for POLICYSCOPE, with configurable default |
ASK_POLICYSCOPE() |
Getter for POLICYSCOPE w/ exceptions if field has no value |
HAS_POLICYSCOPE() |
Determine if POLICYSCOPE has a value |
resourceArn¶
The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RESOURCEARN() |
Getter for RESOURCEARN, with configurable default |
ASK_RESOURCEARN() |
Getter for RESOURCEARN w/ exceptions if field has no value |
HAS_RESOURCEARN() |
Determine if RESOURCEARN has a value |
revisionId¶
The revision ID of the resource policy. Only populated for resource-scoped policies.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_REVISIONID() |
Getter for REVISIONID, with configurable default |
ASK_REVISIONID() |
Getter for REVISIONID w/ exceptions if field has no value |
HAS_REVISIONID() |
Determine if REVISIONID 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_RESOURCEPOLICIES¶
TYPES TT_RESOURCEPOLICIES TYPE STANDARD TABLE OF REF TO /AWS1/CL_CWLRESOURCEPOLICY WITH DEFAULT KEY
.