PutResourcePolicyRequest
class PutResourcePolicyRequest
Types
Properties
Link copied to clipboard
The expected revision ID of the resource policy. Required when resourceArn
is provided to prevent concurrent modifications. Use null
when creating a resource policy for the first time.
Link copied to clipboard
Details of the new policy, including the identity of the principal that is enabled to put logs to this account. This is formatted as a JSON string. This parameter is required.
Link copied to clipboard
Name of the new policy. This parameter is required.
Link copied to clipboard
The ARN of the CloudWatch Logs resource to which the resource policy needs to be added or attached. Currently only supports LogGroup ARN.