Skip to content

Creates or updates the email monitoring configuration for a specified organization

Description

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

Usage

workmail_put_email_monitoring_configuration(OrganizationId, RoleArn,
  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.

Value

An empty list.

Request syntax

svc$put_email_monitoring_configuration(
  OrganizationId = "string",
  RoleArn = "string",
  LogGroupArn = "string"
)