Class: Aws::MailManager::Types::CreateTrafficPolicyRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique token that Amazon SES uses to recognize subsequent retries of the same request.

**A suitable default value is auto-generated.** You should normally not need to pass this option.

Returns:

  • (String)


705
706
707
708
709
710
711
712
713
714
# File 'lib/aws-sdk-mailmanager/types.rb', line 705

class CreateTrafficPolicyRequest < Struct.new(
  :client_token,
  :default_action,
  :max_message_size_bytes,
  :policy_statements,
  :tags,
  :traffic_policy_name)
  SENSITIVE = []
  include Aws::Structure
end

#default_actionString

Default action instructs the traffic policy to either Allow or Deny (block) messages that fall outside of (or not addressed by) the conditions of your policy statements

Returns:

  • (String)


705
706
707
708
709
710
711
712
713
714
# File 'lib/aws-sdk-mailmanager/types.rb', line 705

class CreateTrafficPolicyRequest < Struct.new(
  :client_token,
  :default_action,
  :max_message_size_bytes,
  :policy_statements,
  :tags,
  :traffic_policy_name)
  SENSITIVE = []
  include Aws::Structure
end

#max_message_size_bytesInteger

The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.

Returns:

  • (Integer)


705
706
707
708
709
710
711
712
713
714
# File 'lib/aws-sdk-mailmanager/types.rb', line 705

class CreateTrafficPolicyRequest < Struct.new(
  :client_token,
  :default_action,
  :max_message_size_bytes,
  :policy_statements,
  :tags,
  :traffic_policy_name)
  SENSITIVE = []
  include Aws::Structure
end

#policy_statementsArray<Types::PolicyStatement>

Conditional statements for filtering email traffic.

Returns:



705
706
707
708
709
710
711
712
713
714
# File 'lib/aws-sdk-mailmanager/types.rb', line 705

class CreateTrafficPolicyRequest < Struct.new(
  :client_token,
  :default_action,
  :max_message_size_bytes,
  :policy_statements,
  :tags,
  :traffic_policy_name)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags used to organize, track, or control access for the resource. For example, { “tags”: “key2”:“value2” }.

Returns:



705
706
707
708
709
710
711
712
713
714
# File 'lib/aws-sdk-mailmanager/types.rb', line 705

class CreateTrafficPolicyRequest < Struct.new(
  :client_token,
  :default_action,
  :max_message_size_bytes,
  :policy_statements,
  :tags,
  :traffic_policy_name)
  SENSITIVE = []
  include Aws::Structure
end

#traffic_policy_nameString

A user-friendly name for the traffic policy resource.

Returns:

  • (String)


705
706
707
708
709
710
711
712
713
714
# File 'lib/aws-sdk-mailmanager/types.rb', line 705

class CreateTrafficPolicyRequest < Struct.new(
  :client_token,
  :default_action,
  :max_message_size_bytes,
  :policy_statements,
  :tags,
  :traffic_policy_name)
  SENSITIVE = []
  include Aws::Structure
end