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

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi

aws-native.ses.getMailManagerTrafficPolicy

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.126.0 published on Monday, Sep 30, 2024 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>
    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]
    func LookupMailManagerTrafficPolicy(ctx *Context, args *LookupMailManagerTrafficPolicyArgs, opts ...InvokeOption) (*LookupMailManagerTrafficPolicyResult, error)
    func LookupMailManagerTrafficPolicyOutput(ctx *Context, args *LookupMailManagerTrafficPolicyOutputArgs, opts ...InvokeOption) LookupMailManagerTrafficPolicyResultOutput

    > 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)
    }
    public static CompletableFuture<GetMailManagerTrafficPolicyResult> getMailManagerTrafficPolicy(GetMailManagerTrafficPolicyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ses:getMailManagerTrafficPolicy
      arguments:
        # arguments dictionary

    The following arguments are supported:

    TrafficPolicyId string
    The identifier of the traffic policy resource.
    TrafficPolicyId string
    The identifier of the traffic policy resource.
    trafficPolicyId String
    The identifier of the traffic policy resource.
    trafficPolicyId string
    The identifier of the traffic policy resource.
    traffic_policy_id str
    The identifier of the traffic policy resource.
    trafficPolicyId 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 string
    ResultField string
    Analyzer string
    ResultField string
    analyzer String
    resultField String
    analyzer string
    resultField string
    analyzer String
    resultField String

    MailManagerTrafficPolicyIngressBooleanExpression

    MailManagerTrafficPolicyIngressBooleanOperator

    MailManagerTrafficPolicyIngressBooleanToEvaluateProperties

    MailManagerTrafficPolicyIngressIpOperator

    MailManagerTrafficPolicyIngressIpToEvaluateProperties

    MailManagerTrafficPolicyIngressIpv4Attribute

    MailManagerTrafficPolicyIngressIpv4Expression

    MailManagerTrafficPolicyIngressStringEmailAttribute

    MailManagerTrafficPolicyIngressStringExpression

    MailManagerTrafficPolicyIngressStringOperator

    MailManagerTrafficPolicyIngressStringToEvaluateProperties

    MailManagerTrafficPolicyIngressTlsAttribute

    MailManagerTrafficPolicyIngressTlsProtocolAttribute

    MailManagerTrafficPolicyIngressTlsProtocolExpression

    MailManagerTrafficPolicyIngressTlsProtocolOperator

    MailManagerTrafficPolicyIngressTlsProtocolToEvaluateProperties

    MailManagerTrafficPolicyPolicyCondition0Properties

    MailManagerTrafficPolicyPolicyCondition1Properties

    MailManagerTrafficPolicyPolicyCondition2Properties

    MailManagerTrafficPolicyPolicyCondition3Properties

    MailManagerTrafficPolicyPolicyStatement

    Action 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 List<object>
    The list of conditions to apply to incoming messages for filtering email traffic.
    Action 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 []interface{}
    The list of conditions to apply to incoming messages for filtering email traffic.
    action 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 List<Object>
    The list of conditions to apply to incoming messages for filtering email traffic.
    action 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 (MailManagerTrafficPolicyPolicyCondition0Properties | MailManagerTrafficPolicyPolicyCondition1Properties | MailManagerTrafficPolicyPolicyCondition2Properties | MailManagerTrafficPolicyPolicyCondition3Properties)[]
    The list of conditions to apply to incoming messages for filtering email traffic.
    action 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 Sequence[Union[MailManagerTrafficPolicyPolicyCondition0Properties, MailManagerTrafficPolicyPolicyCondition1Properties, MailManagerTrafficPolicyPolicyCondition2Properties, MailManagerTrafficPolicyPolicyCondition3Properties]]
    The list of conditions to apply to incoming messages for filtering email traffic.
    action "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 List<Property Map | Property Map | Property Map | Property Map>
    The list of conditions to apply to incoming messages for filtering email traffic.

    Tag

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

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

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

    AWS Native v0.126.0 published on Monday, Sep 30, 2024 by Pulumi