Class: Aws::MailManager::Types::CreateTrafficPolicyRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::MailManager::Types::CreateTrafficPolicyRequest
- Defined in:
- gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique token that Amazon SES uses to recognize subsequent retries of the same request.
-
#default_action ⇒ String
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.
-
#max_message_size_bytes ⇒ Integer
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
-
#policy_statements ⇒ Array<Types::PolicyStatement>
Conditional statements for filtering email traffic.
-
#tags ⇒ Array<Types::Tag>
The tags used to organize, track, or control access for the resource.
-
#traffic_policy_name ⇒ String
A user-friendly name for the traffic policy resource.
Instance Attribute Details
#client_token ⇒ String
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.
908 909 910 911 912 913 914 915 916 917 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 908 class CreateTrafficPolicyRequest < Struct.new( :client_token, :traffic_policy_name, :policy_statements, :default_action, :max_message_size_bytes, :tags) SENSITIVE = [] include Aws::Structure end |
#default_action ⇒ String
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
908 909 910 911 912 913 914 915 916 917 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 908 class CreateTrafficPolicyRequest < Struct.new( :client_token, :traffic_policy_name, :policy_statements, :default_action, :max_message_size_bytes, :tags) SENSITIVE = [] include Aws::Structure end |
#max_message_size_bytes ⇒ Integer
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
908 909 910 911 912 913 914 915 916 917 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 908 class CreateTrafficPolicyRequest < Struct.new( :client_token, :traffic_policy_name, :policy_statements, :default_action, :max_message_size_bytes, :tags) SENSITIVE = [] include Aws::Structure end |
#policy_statements ⇒ Array<Types::PolicyStatement>
Conditional statements for filtering email traffic.
908 909 910 911 912 913 914 915 916 917 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 908 class CreateTrafficPolicyRequest < Struct.new( :client_token, :traffic_policy_name, :policy_statements, :default_action, :max_message_size_bytes, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Array<Types::Tag>
The tags used to organize, track, or control access for the resource. For example, { "tags": "key2":"value2" }.
908 909 910 911 912 913 914 915 916 917 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 908 class CreateTrafficPolicyRequest < Struct.new( :client_token, :traffic_policy_name, :policy_statements, :default_action, :max_message_size_bytes, :tags) SENSITIVE = [] include Aws::Structure end |
#traffic_policy_name ⇒ String
A user-friendly name for the traffic policy resource.
908 909 910 911 912 913 914 915 916 917 |
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 908 class CreateTrafficPolicyRequest < Struct.new( :client_token, :traffic_policy_name, :policy_statements, :default_action, :max_message_size_bytes, :tags) SENSITIVE = [] include Aws::Structure end |