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'.
3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3079 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'.
3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3079 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'.
3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3079 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'.
3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3079 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
3079 3080 3081 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 3079 def unknown @unknown end |