Skip to content

Create Log Subscription

directoryservice_create_log_subscription R Documentation

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

Description

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.

Usage

directoryservice_create_log_subscription(DirectoryId, LogGroupName)

Arguments

DirectoryId

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

LogGroupName

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

Value

An empty list.

Request syntax

svc$create_log_subscription(
  DirectoryId = "string",
  LogGroupName = "string"
)