ImpersonationRule - Amazon WorkMail

ImpersonationRule

The rules for the given impersonation role.

Contents

Effect

The effect of the rule when it matches the input. Allowed effect values are ALLOW or DENY.

Type: String

Valid Values: ALLOW | DENY

Required: Yes

ImpersonationRuleId

The identifier of the rule.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [a-zA-Z0-9_-]+

Required: Yes

Description

The rule description.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [^\x00-\x09\x0B\x0C\x0E-\x1F\x7F\x3C\x3E\x5C]+

Required: No

Name

The rule name.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [^\x00-\x1F\x7F\x3C\x3E\x5C]+

Required: No

NotTargetUsers

A list of user IDs that don't match the rule.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [a-zA-Z0-9._%+@-]+

Required: No

TargetUsers

A list of user IDs that match the rule.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 10 items.

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: [a-zA-Z0-9._%+@-]+

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: