Class: Aws::MailManager::Types::RuleIpExpression

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb

Overview

An IP address expression matching certain IP addresses within a given range of IP addresses.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#evaluateTypes::RuleIpToEvaluate

The IP address to evaluate in this condition.



3931
3932
3933
3934
3935
3936
3937
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3931

class RuleIpExpression < Struct.new(
  :evaluate,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#operatorString

The operator to evaluate the IP address.

Returns:

  • (String)


3931
3932
3933
3934
3935
3936
3937
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3931

class RuleIpExpression < Struct.new(
  :evaluate,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end

#valuesArray<String>

The IP CIDR blocks in format "x.y.z.w/n" (eg 10.0.0.0/8) to match with the email's IP address. For the operator CIDR_MATCHES, if multiple values are given, they are evaluated as an OR. That is, if the IP address is contained within any of the given CIDR ranges, the condition is deemed to match. For NOT_CIDR_MATCHES, if multiple CIDR ranges are given, the condition is deemed to match if the IP address is not contained in any of the given CIDR ranges.

Returns:

  • (Array<String>)


3931
3932
3933
3934
3935
3936
3937
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3931

class RuleIpExpression < Struct.new(
  :evaluate,
  :operator,
  :values)
  SENSITIVE = []
  include Aws::Structure
end