aws logs put-resource-policy
Creates or updates a resource policy allowing other Amazon Web Services services to put log events to this account, such as Amazon Route 53. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--expected-revision-idThe expected revision ID of the resource policy.--policy-documentDetails of the new policy, including the identity of the principal that is enabled to put logs to this account.--policy-nameName of the new policy.--resource-arnThe ARN of the CloudWatch Logs resource to which the resource policy needs to be added or attached.