Class: Aws::MailManager::Types::PolicyCondition

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

Overview

Note:

PolicyCondition is a union - when making an API calls you must set exactly one of the members.

Note:

PolicyCondition is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of PolicyCondition corresponding to the set member.

The email traffic filtering conditions which are contained in a traffic policy resource.

Defined Under Namespace

Classes: BooleanExpression, IpExpression, StringExpression, TlsExpression, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#boolean_expressionTypes::IngressBooleanExpression

This represents a boolean type condition matching on the incoming mail. It performs the boolean operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.



2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2460

class PolicyCondition < Struct.new(
  :boolean_expression,
  :ip_expression,
  :string_expression,
  :tls_expression,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BooleanExpression < PolicyCondition; end
  class IpExpression < PolicyCondition; end
  class StringExpression < PolicyCondition; end
  class TlsExpression < PolicyCondition; end
  class Unknown < PolicyCondition; end
end

#ip_expressionTypes::IngressIpv4Expression

This represents an IP based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.



2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2460

class PolicyCondition < Struct.new(
  :boolean_expression,
  :ip_expression,
  :string_expression,
  :tls_expression,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BooleanExpression < PolicyCondition; end
  class IpExpression < PolicyCondition; end
  class StringExpression < PolicyCondition; end
  class TlsExpression < PolicyCondition; end
  class Unknown < PolicyCondition; end
end

#string_expressionTypes::IngressStringExpression

This represents a string based condition matching on the incoming mail. It performs the string operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.



2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2460

class PolicyCondition < Struct.new(
  :boolean_expression,
  :ip_expression,
  :string_expression,
  :tls_expression,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BooleanExpression < PolicyCondition; end
  class IpExpression < PolicyCondition; end
  class StringExpression < PolicyCondition; end
  class TlsExpression < PolicyCondition; end
  class Unknown < PolicyCondition; end
end

#tls_expressionTypes::IngressTlsProtocolExpression

This represents a TLS based condition matching on the incoming mail. It performs the operation configured in 'Operator' and evaluates the 'Protocol' object against the 'Value'.



2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2460

class PolicyCondition < Struct.new(
  :boolean_expression,
  :ip_expression,
  :string_expression,
  :tls_expression,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class BooleanExpression < PolicyCondition; end
  class IpExpression < PolicyCondition; end
  class StringExpression < PolicyCondition; end
  class TlsExpression < PolicyCondition; end
  class Unknown < PolicyCondition; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



2460
2461
2462
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2460

def unknown
  @unknown
end