Skip to contents

Creates or updates the email monitoring configuration for a specified organization.

See https://www.paws-r-sdk.com/docs/workmail_put_email_monitoring_configuration/ for full documentation.

Usage

workmail_put_email_monitoring_configuration(
  OrganizationId,
  RoleArn = NULL,
  LogGroupArn
)

Arguments

OrganizationId

[required] The ID of the organization for which the email monitoring configuration is set.

RoleArn

The Amazon Resource Name (ARN) of the IAM Role associated with the email monitoring configuration. If absent, the IAM Role Arn of AWSServiceRoleForAmazonWorkMailEvents will be used.

LogGroupArn

[required] The Amazon Resource Name (ARN) of the CloudWatch Log group associated with the email monitoring configuration.