Class: Aws::MailManager::Types::PolicyCondition
- Inherits:
-
Struct
- Object
- Struct
- Aws::MailManager::Types::PolicyCondition
- Defined in:
- gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb
Overview
PolicyCondition is a union - when making an API calls you must set exactly one of the members.
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.
Direct Known Subclasses
BooleanExpression, IpExpression, StringExpression, TlsExpression, Unknown
Defined Under Namespace
Classes: BooleanExpression, IpExpression, StringExpression, TlsExpression, Unknown
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#boolean_expression ⇒ Types::IngressBooleanExpression
This represents a boolean type condition matching on the incoming mail.
-
#ip_expression ⇒ Types::IngressIpv4Expression
This represents an IP based condition matching on the incoming mail.
-
#string_expression ⇒ Types::IngressStringExpression
This represents a string based condition matching on the incoming mail.
-
#tls_expression ⇒ Types::IngressTlsProtocolExpression
This represents a TLS based condition matching on the incoming mail.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#boolean_expression ⇒ Types::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_expression ⇒ Types::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_expression ⇒ Types::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_expression ⇒ Types::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 |
#unknown ⇒ Object
Returns the value of attribute unknown
2460 2461 2462 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2460 def unknown @unknown end |