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.



2830
2831
2832
2833
2834
2835
2836
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2830

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

#operatorString

The operator to evaluate the IP address.

Returns:

  • (String)


2830
2831
2832
2833
2834
2835
2836
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2830

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>)


2830
2831
2832
2833
2834
2835
2836
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2830

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