1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ses
  5. getMailManagerTrafficPolicy

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.ses.getMailManagerTrafficPolicy

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

Definition of AWS::SES::MailManagerTrafficPolicy Resource Type

Using getMailManagerTrafficPolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getMailManagerTrafficPolicy(args: GetMailManagerTrafficPolicyArgs, opts?: InvokeOptions): Promise<GetMailManagerTrafficPolicyResult>
function getMailManagerTrafficPolicyOutput(args: GetMailManagerTrafficPolicyOutputArgs, opts?: InvokeOptions): Output<GetMailManagerTrafficPolicyResult>
Copy
def get_mail_manager_traffic_policy(traffic_policy_id: Optional[str] = None,
                                    opts: Optional[InvokeOptions] = None) -> GetMailManagerTrafficPolicyResult
def get_mail_manager_traffic_policy_output(traffic_policy_id: Optional[pulumi.Input[str]] = None,
                                    opts: Optional[InvokeOptions] = None) -> Output[GetMailManagerTrafficPolicyResult]
Copy
func LookupMailManagerTrafficPolicy(ctx *Context, args *LookupMailManagerTrafficPolicyArgs, opts ...InvokeOption) (*LookupMailManagerTrafficPolicyResult, error)
func LookupMailManagerTrafficPolicyOutput(ctx *Context, args *LookupMailManagerTrafficPolicyOutputArgs, opts ...InvokeOption) LookupMailManagerTrafficPolicyResultOutput
Copy

> Note: This function is named LookupMailManagerTrafficPolicy in the Go SDK.

public static class GetMailManagerTrafficPolicy 
{
    public static Task<GetMailManagerTrafficPolicyResult> InvokeAsync(GetMailManagerTrafficPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetMailManagerTrafficPolicyResult> Invoke(GetMailManagerTrafficPolicyInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetMailManagerTrafficPolicyResult> getMailManagerTrafficPolicy(GetMailManagerTrafficPolicyArgs args, InvokeOptions options)
public static Output<GetMailManagerTrafficPolicyResult> getMailManagerTrafficPolicy(GetMailManagerTrafficPolicyArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:ses:getMailManagerTrafficPolicy
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

TrafficPolicyId This property is required. string
The identifier of the traffic policy resource.
TrafficPolicyId This property is required. string
The identifier of the traffic policy resource.
trafficPolicyId This property is required. String
The identifier of the traffic policy resource.
trafficPolicyId This property is required. string
The identifier of the traffic policy resource.
traffic_policy_id This property is required. str
The identifier of the traffic policy resource.
trafficPolicyId This property is required. String
The identifier of the traffic policy resource.

getMailManagerTrafficPolicy Result

The following output properties are available:

DefaultAction Pulumi.AwsNative.Ses.MailManagerTrafficPolicyAcceptAction
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
MaxMessageSizeBytes double
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
PolicyStatements List<Pulumi.AwsNative.Ses.Outputs.MailManagerTrafficPolicyPolicyStatement>
Conditional statements for filtering email traffic.
Tags List<Pulumi.AwsNative.Outputs.Tag>
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
TrafficPolicyArn string
The Amazon Resource Name (ARN) of the traffic policy resource.
TrafficPolicyId string
The identifier of the traffic policy resource.
TrafficPolicyName string

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

DefaultAction MailManagerTrafficPolicyAcceptAction
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
MaxMessageSizeBytes float64
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
PolicyStatements []MailManagerTrafficPolicyPolicyStatement
Conditional statements for filtering email traffic.
Tags Tag
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
TrafficPolicyArn string
The Amazon Resource Name (ARN) of the traffic policy resource.
TrafficPolicyId string
The identifier of the traffic policy resource.
TrafficPolicyName string

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

defaultAction MailManagerTrafficPolicyAcceptAction
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
maxMessageSizeBytes Double
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
policyStatements List<MailManagerTrafficPolicyPolicyStatement>
Conditional statements for filtering email traffic.
tags List<Tag>
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
trafficPolicyArn String
The Amazon Resource Name (ARN) of the traffic policy resource.
trafficPolicyId String
The identifier of the traffic policy resource.
trafficPolicyName String

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

defaultAction MailManagerTrafficPolicyAcceptAction
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
maxMessageSizeBytes number
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
policyStatements MailManagerTrafficPolicyPolicyStatement[]
Conditional statements for filtering email traffic.
tags Tag[]
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
trafficPolicyArn string
The Amazon Resource Name (ARN) of the traffic policy resource.
trafficPolicyId string
The identifier of the traffic policy resource.
trafficPolicyName string

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

default_action MailManagerTrafficPolicyAcceptAction
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 float
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
policy_statements Sequence[MailManagerTrafficPolicyPolicyStatement]
Conditional statements for filtering email traffic.
tags Sequence[root_Tag]
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
traffic_policy_arn str
The Amazon Resource Name (ARN) of the traffic policy resource.
traffic_policy_id str
The identifier of the traffic policy resource.
traffic_policy_name str

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

defaultAction "ALLOW" | "DENY"
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
maxMessageSizeBytes Number
The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
policyStatements List<Property Map>
Conditional statements for filtering email traffic.
tags List<Property Map>
The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
trafficPolicyArn String
The Amazon Resource Name (ARN) of the traffic policy resource.
trafficPolicyId String
The identifier of the traffic policy resource.
trafficPolicyName String

The name of the policy.

The policy name cannot exceed 64 characters and can only include alphanumeric characters, dashes, and underscores.

Supporting Types

MailManagerTrafficPolicyAcceptAction

MailManagerTrafficPolicyIngressAnalysis

Analyzer This property is required. string
ResultField This property is required. string
Analyzer This property is required. string
ResultField This property is required. string
analyzer This property is required. String
resultField This property is required. String
analyzer This property is required. string
resultField This property is required. string
analyzer This property is required. str
result_field This property is required. str
analyzer This property is required. String
resultField This property is required. String

MailManagerTrafficPolicyIngressBooleanExpression

evaluate This property is required. Property Map
operator This property is required. "IS_TRUE" | "IS_FALSE"

MailManagerTrafficPolicyIngressBooleanOperator

MailManagerTrafficPolicyIngressBooleanToEvaluateProperties

analysis This property is required. Property Map

MailManagerTrafficPolicyIngressIpOperator

MailManagerTrafficPolicyIngressIpToEvaluateProperties

attribute This property is required. "SENDER_IP"

MailManagerTrafficPolicyIngressIpv4Attribute

MailManagerTrafficPolicyIngressIpv4Expression

Evaluate This property is required. MailManagerTrafficPolicyIngressIpToEvaluateProperties
Operator This property is required. MailManagerTrafficPolicyIngressIpOperator
Values This property is required. []string
evaluate This property is required. MailManagerTrafficPolicyIngressIpToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressIpOperator
values This property is required. List<String>
evaluate This property is required. MailManagerTrafficPolicyIngressIpToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressIpOperator
values This property is required. string[]
evaluate This property is required. MailManagerTrafficPolicyIngressIpToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressIpOperator
values This property is required. Sequence[str]
evaluate This property is required. Property Map
operator This property is required. "CIDR_MATCHES" | "NOT_CIDR_MATCHES"
values This property is required. List<String>

MailManagerTrafficPolicyIngressStringEmailAttribute

MailManagerTrafficPolicyIngressStringExpression

Evaluate This property is required. MailManagerTrafficPolicyIngressStringToEvaluateProperties
Operator This property is required. MailManagerTrafficPolicyIngressStringOperator
Values This property is required. []string
evaluate This property is required. MailManagerTrafficPolicyIngressStringToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressStringOperator
values This property is required. List<String>
evaluate This property is required. MailManagerTrafficPolicyIngressStringToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressStringOperator
values This property is required. string[]
evaluate This property is required. MailManagerTrafficPolicyIngressStringToEvaluateProperties
operator This property is required. MailManagerTrafficPolicyIngressStringOperator
values This property is required. Sequence[str]
evaluate This property is required. Property Map
operator This property is required. "EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"
values This property is required. List<String>

MailManagerTrafficPolicyIngressStringOperator

MailManagerTrafficPolicyIngressStringToEvaluateProperties

attribute This property is required. "RECIPIENT"

MailManagerTrafficPolicyIngressTlsAttribute

MailManagerTrafficPolicyIngressTlsProtocolAttribute

MailManagerTrafficPolicyIngressTlsProtocolExpression

evaluate This property is required. Property Map
operator This property is required. "MINIMUM_TLS_VERSION" | "IS"
value This property is required. "TLS1_2" | "TLS1_3"

MailManagerTrafficPolicyIngressTlsProtocolOperator

MailManagerTrafficPolicyIngressTlsProtocolToEvaluateProperties

attribute This property is required. "TLS_PROTOCOL"

MailManagerTrafficPolicyPolicyCondition0Properties

stringExpression This property is required. Property Map

MailManagerTrafficPolicyPolicyCondition1Properties

ipExpression This property is required. Property Map

MailManagerTrafficPolicyPolicyCondition2Properties

tlsExpression This property is required. Property Map

MailManagerTrafficPolicyPolicyCondition3Properties

booleanExpression This property is required. Property Map

MailManagerTrafficPolicyPolicyStatement

Action This property is required. Pulumi.AwsNative.Ses.MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
Conditions This property is required. List<object>
The list of conditions to apply to incoming messages for filtering email traffic.
Action This property is required. MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
Conditions This property is required. []interface{}
The list of conditions to apply to incoming messages for filtering email traffic.
action This property is required. MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
conditions This property is required. List<Object>
The list of conditions to apply to incoming messages for filtering email traffic.
action This property is required. MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
conditions This property is required. (MailManagerTrafficPolicyPolicyCondition0Properties | MailManagerTrafficPolicyPolicyCondition1Properties | MailManagerTrafficPolicyPolicyCondition2Properties | MailManagerTrafficPolicyPolicyCondition3Properties)[]
The list of conditions to apply to incoming messages for filtering email traffic.
action This property is required. MailManagerTrafficPolicyAcceptAction
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
conditions This property is required. Sequence[Union[MailManagerTrafficPolicyPolicyCondition0Properties, MailManagerTrafficPolicyPolicyCondition1Properties, MailManagerTrafficPolicyPolicyCondition2Properties, MailManagerTrafficPolicyPolicyCondition3Properties]]
The list of conditions to apply to incoming messages for filtering email traffic.
action This property is required. "ALLOW" | "DENY"
The action that informs a traffic policy resource to either allow or block the email if it matches a condition in the policy statement.
conditions This property is required. List<Property Map | Property Map | Property Map | Property Map>
The list of conditions to apply to incoming messages for filtering email traffic.

Tag

Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
Key This property is required. string
The key name of the tag
Value This property is required. string
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag
key This property is required. string
The key name of the tag
value This property is required. string
The value of the tag
key This property is required. str
The key name of the tag
value This property is required. str
The value of the tag
key This property is required. String
The key name of the tag
value This property is required. String
The value of the tag

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi