class Aws::WorkMail::Types::PutAccessControlRuleRequest

@note When making an API call, you may pass PutAccessControlRuleRequest

data as a hash:

    {
      name: "AccessControlRuleName", # required
      effect: "ALLOW", # required, accepts ALLOW, DENY
      description: "AccessControlRuleDescription", # required
      ip_ranges: ["IpRange"],
      not_ip_ranges: ["IpRange"],
      actions: ["AccessControlRuleAction"],
      not_actions: ["AccessControlRuleAction"],
      user_ids: ["WorkMailIdentifier"],
      not_user_ids: ["WorkMailIdentifier"],
      organization_id: "OrganizationId", # required
    }

@!attribute [rw] name

The rule name.
@return [String]

@!attribute [rw] effect

The rule effect.
@return [String]

@!attribute [rw] description

The rule description.
@return [String]

@!attribute [rw] ip_ranges

IPv4 CIDR ranges to include in the rule.
@return [Array<String>]

@!attribute [rw] not_ip_ranges

IPv4 CIDR ranges to exclude from the rule.
@return [Array<String>]

@!attribute [rw] actions

Access protocol actions to include in the rule. Valid values include
`ActiveSync`, `AutoDiscover`, `EWS`, `IMAP`, `SMTP`,
`WindowsOutlook`, and `WebMail`.
@return [Array<String>]

@!attribute [rw] not_actions

Access protocol actions to exclude from the rule. Valid values
include `ActiveSync`, `AutoDiscover`, `EWS`, `IMAP`, `SMTP`,
`WindowsOutlook`, and `WebMail`.
@return [Array<String>]

@!attribute [rw] user_ids

User IDs to include in the rule.
@return [Array<String>]

@!attribute [rw] not_user_ids

User IDs to exclude from the rule.
@return [Array<String>]

@!attribute [rw] organization_id

The identifier of the organization.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/PutAccessControlRuleRequest AWS API Documentation

Constants

SENSITIVE