AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A policy enabling one or more entities to put logs to a log group in this account.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class ResourcePolicy
The ResourcePolicy type exposes the following members
Name | Description | |
---|---|---|
![]() |
ResourcePolicy() |
Name | Type | Description | |
---|---|---|---|
![]() |
LastUpdatedTime | System.Int64 |
Gets and sets the property LastUpdatedTime.
Timestamp showing when this policy was last updated, expressed as the number of milliseconds
after |
![]() |
PolicyDocument | System.String |
Gets and sets the property PolicyDocument. The details of the policy. |
![]() |
PolicyName | System.String |
Gets and sets the property PolicyName. The name of the resource policy. |
![]() |
PolicyScope | Amazon.CloudWatchLogs.PolicyScope |
Gets and sets the property PolicyScope. Specifies scope of the resource policy. Valid values are ACCOUNT or RESOURCE. |
![]() |
ResourceArn | System.String |
Gets and sets the property ResourceArn. The ARN of the CloudWatch Logs resource to which the resource policy is attached. Only populated for resource-scoped policies. |
![]() |
RevisionId | System.String |
Gets and sets the property RevisionId. The revision ID of the resource policy. Only populated for resource-scoped policies. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5