DirectoryService / Client / create_log_subscription
create_log_subscription#
- DirectoryService.Client.create_log_subscription(**kwargs)#
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.
See also: AWS API Documentation
Request Syntax
response = client.create_log_subscription( DirectoryId='string', LogGroupName='string' )
- Parameters:
DirectoryId (string) –
[REQUIRED]
Identifier of the directory to which you want to subscribe and receive real-time logs to your specified CloudWatch log group.
LogGroupName (string) –
[REQUIRED]
The name of the CloudWatch log group where the real-time domain controller logs are forwarded.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions