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.
Container for the parameters to the GetResourcePolicy operation. Retrieves the JSON text of the resource-based policy document attached to the CloudTrail event data store, dashboard, or channel.
Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.CloudTrail.dll
Version: 3.x.y.z
public class GetResourcePolicyRequest : AmazonCloudTrailRequest IAmazonWebServiceRequest
The GetResourcePolicyRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
GetResourcePolicyRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ResourceArn | System.String |
Gets and sets the property ResourceArn. The Amazon Resource Name (ARN) of the CloudTrail event data store, dashboard, or channel attached to the resource-based policy.
Example event data store ARN format:
Example dashboard ARN format:
Example channel ARN format: |
.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