Class: Aws::MailManager::Types::PolicyStatement

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

Overview

The structure containing traffic policy conditions and actions.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionString

The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.

Returns:

  • (String)


2491
2492
2493
2494
2495
2496
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2491

class PolicyStatement < Struct.new(
  :action,
  :conditions)
  SENSITIVE = []
  include Aws::Structure
end

#conditionsArray<Types::PolicyCondition>

The list of conditions to apply to incoming messages for filtering email traffic.

Returns:



2491
2492
2493
2494
2495
2496
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 2491

class PolicyStatement < Struct.new(
  :action,
  :conditions)
  SENSITIVE = []
  include Aws::Structure
end