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 PutDestinationPolicy operation. Creates or updates an access policy associated with an existing destination. An access policy is an IAM policy document that is used to authorize claims to register a subscription filter against a given destination.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class PutDestinationPolicyRequest : AmazonCloudWatchLogsRequest IAmazonWebServiceRequest
The PutDestinationPolicyRequest type exposes the following members
Name | Description | |
---|---|---|
PutDestinationPolicyRequest() |
Name | Type | Description | |
---|---|---|---|
AccessPolicy | System.String |
Gets and sets the property AccessPolicy. An IAM policy document that authorizes cross-account users to deliver their log events to the associated destination. This can be up to 5120 bytes. |
|
DestinationName | System.String |
Gets and sets the property DestinationName. A name for an existing destination. |
|
ForceUpdate | System.Boolean |
Gets and sets the property ForceUpdate.
Specify true if you are updating an existing destination policy to grant permission
to an organization ID instead of granting permission to individual Amazon Web Services
accounts. Before you update a destination policy this way, you must first update the
subscription filters in the accounts that send logs to this destination. If you do
not, the subscription filters might stop working. By specifying
If you omit this parameter, the default of |
.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