v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1467365253.0 KB

Creates a subscription to forward real-time Directory Service domain controller security logs to the specified Amazon CloudWatch log group in your Amazon Web Services account.

post/#X-Amz-Target=DirectoryService_20150416.CreateLogSubscription

Headers

X-Amz-Target'DirectoryService_20150416.CreateLogSubscription' required

Request body

DirectoryIdstring required

Identifier of the directory to which you want to subscribe and receive real-time logs to your specified CloudWatch log group.

LogGroupNamestring required

The name of the CloudWatch log group where the real-time domain controller logs are forwarded.

Response

Success

CreateLogSubscriptionResult required