LogSubscriptionArgs constructor

const LogSubscriptionArgs({
  1. required Input<String> directoryId,
  2. required Input<String> logGroupName,
  3. Input<String?>? region,
})

Creates a new LogSubscriptionArgs. directoryId ID of directory. logGroupName Name of the cloudwatch log group to which the logs should be published. The log group should be already created and the directory service principal should be provided with required permission to create stream and publish logs. Changing this value would delete the current subscription and create a new one. A directory can only have one log subscription at a time. region Region where this resource will be managed. Defaults to the Region set in the provider configuration.

Implementation

const LogSubscriptionArgs({
  required this.directoryId,
  required this.logGroupName,
  this.region,
});