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

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.MailManagerTrafficPolicy

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

    Create MailManagerTrafficPolicy Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new MailManagerTrafficPolicy(name: string, args: MailManagerTrafficPolicyArgs, opts?: CustomResourceOptions);
    @overload
    def MailManagerTrafficPolicy(resource_name: str,
                                 args: MailManagerTrafficPolicyArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def MailManagerTrafficPolicy(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 default_action: Optional[MailManagerTrafficPolicyAcceptAction] = None,
                                 policy_statements: Optional[Sequence[MailManagerTrafficPolicyPolicyStatementArgs]] = None,
                                 max_message_size_bytes: Optional[float] = None,
                                 tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                                 traffic_policy_name: Optional[str] = None)
    func NewMailManagerTrafficPolicy(ctx *Context, name string, args MailManagerTrafficPolicyArgs, opts ...ResourceOption) (*MailManagerTrafficPolicy, error)
    public MailManagerTrafficPolicy(string name, MailManagerTrafficPolicyArgs args, CustomResourceOptions? opts = null)
    public MailManagerTrafficPolicy(String name, MailManagerTrafficPolicyArgs args)
    public MailManagerTrafficPolicy(String name, MailManagerTrafficPolicyArgs args, CustomResourceOptions options)
    
    type: aws-native:ses:MailManagerTrafficPolicy
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args MailManagerTrafficPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args MailManagerTrafficPolicyArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args MailManagerTrafficPolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MailManagerTrafficPolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MailManagerTrafficPolicyArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MailManagerTrafficPolicy Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The MailManagerTrafficPolicy resource accepts the following input properties:

    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
    PolicyStatements List<Pulumi.AwsNative.Ses.Inputs.MailManagerTrafficPolicyPolicyStatement>
    Conditional statements for filtering email traffic.
    MaxMessageSizeBytes double
    The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    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
    PolicyStatements []MailManagerTrafficPolicyPolicyStatementArgs
    Conditional statements for filtering email traffic.
    MaxMessageSizeBytes float64
    The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
    Tags TagArgs
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    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
    policyStatements List<MailManagerTrafficPolicyPolicyStatement>
    Conditional statements for filtering email traffic.
    maxMessageSizeBytes Double
    The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
    tags List<Tag>
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    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
    policyStatements MailManagerTrafficPolicyPolicyStatement[]
    Conditional statements for filtering email traffic.
    maxMessageSizeBytes number
    The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
    tags Tag[]
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    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
    policy_statements Sequence[MailManagerTrafficPolicyPolicyStatementArgs]
    Conditional statements for filtering email traffic.
    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.
    tags Sequence[TagArgs]
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    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
    policyStatements List<Property Map>
    Conditional statements for filtering email traffic.
    maxMessageSizeBytes Number
    The maximum message size in bytes of email which is allowed in by this traffic policy—anything larger will be blocked.
    tags List<Property Map>
    The tags used to organize, track, or control access for the resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
    trafficPolicyName String

    The name of the policy.

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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MailManagerTrafficPolicy resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    TrafficPolicyArn string
    The Amazon Resource Name (ARN) of the traffic policy resource.
    TrafficPolicyId string
    The identifier of the traffic policy resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    TrafficPolicyArn string
    The Amazon Resource Name (ARN) of the traffic policy resource.
    TrafficPolicyId string
    The identifier of the traffic policy resource.
    id String
    The provider-assigned unique ID for this managed resource.
    trafficPolicyArn String
    The Amazon Resource Name (ARN) of the traffic policy resource.
    trafficPolicyId String
    The identifier of the traffic policy resource.
    id string
    The provider-assigned unique ID for this managed resource.
    trafficPolicyArn string
    The Amazon Resource Name (ARN) of the traffic policy resource.
    trafficPolicyId string
    The identifier of the traffic policy resource.
    id str
    The provider-assigned unique ID for this managed resource.
    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.
    id String
    The provider-assigned unique ID for this managed resource.
    trafficPolicyArn String
    The Amazon Resource Name (ARN) of the traffic policy resource.
    trafficPolicyId String
    The identifier of the traffic policy resource.

    Supporting Types

    MailManagerTrafficPolicyAcceptAction, MailManagerTrafficPolicyAcceptActionArgs

    Allow
    ALLOW
    Deny
    DENY
    MailManagerTrafficPolicyAcceptActionAllow
    ALLOW
    MailManagerTrafficPolicyAcceptActionDeny
    DENY
    Allow
    ALLOW
    Deny
    DENY
    Allow
    ALLOW
    Deny
    DENY
    ALLOW
    ALLOW
    DENY
    DENY
    "ALLOW"
    ALLOW
    "DENY"
    DENY

    MailManagerTrafficPolicyIngressAnalysis, MailManagerTrafficPolicyIngressAnalysisArgs

    Analyzer string
    ResultField string
    Analyzer string
    ResultField string
    analyzer String
    resultField String
    analyzer string
    resultField string
    analyzer String
    resultField String

    MailManagerTrafficPolicyIngressBooleanExpression, MailManagerTrafficPolicyIngressBooleanExpressionArgs

    MailManagerTrafficPolicyIngressBooleanOperator, MailManagerTrafficPolicyIngressBooleanOperatorArgs

    IsTrue
    IS_TRUE
    IsFalse
    IS_FALSE
    MailManagerTrafficPolicyIngressBooleanOperatorIsTrue
    IS_TRUE
    MailManagerTrafficPolicyIngressBooleanOperatorIsFalse
    IS_FALSE
    IsTrue
    IS_TRUE
    IsFalse
    IS_FALSE
    IsTrue
    IS_TRUE
    IsFalse
    IS_FALSE
    IS_TRUE
    IS_TRUE
    IS_FALSE
    IS_FALSE
    "IS_TRUE"
    IS_TRUE
    "IS_FALSE"
    IS_FALSE

    MailManagerTrafficPolicyIngressBooleanToEvaluateProperties, MailManagerTrafficPolicyIngressBooleanToEvaluatePropertiesArgs

    MailManagerTrafficPolicyIngressIpOperator, MailManagerTrafficPolicyIngressIpOperatorArgs

    CidrMatches
    CIDR_MATCHES
    NotCidrMatches
    NOT_CIDR_MATCHES
    MailManagerTrafficPolicyIngressIpOperatorCidrMatches
    CIDR_MATCHES
    MailManagerTrafficPolicyIngressIpOperatorNotCidrMatches
    NOT_CIDR_MATCHES
    CidrMatches
    CIDR_MATCHES
    NotCidrMatches
    NOT_CIDR_MATCHES
    CidrMatches
    CIDR_MATCHES
    NotCidrMatches
    NOT_CIDR_MATCHES
    CIDR_MATCHES
    CIDR_MATCHES
    NOT_CIDR_MATCHES
    NOT_CIDR_MATCHES
    "CIDR_MATCHES"
    CIDR_MATCHES
    "NOT_CIDR_MATCHES"
    NOT_CIDR_MATCHES

    MailManagerTrafficPolicyIngressIpToEvaluateProperties, MailManagerTrafficPolicyIngressIpToEvaluatePropertiesArgs

    MailManagerTrafficPolicyIngressIpv4Attribute, MailManagerTrafficPolicyIngressIpv4AttributeArgs

    SenderIp
    SENDER_IP
    MailManagerTrafficPolicyIngressIpv4AttributeSenderIp
    SENDER_IP
    SenderIp
    SENDER_IP
    SenderIp
    SENDER_IP
    SENDER_IP
    SENDER_IP
    "SENDER_IP"
    SENDER_IP

    MailManagerTrafficPolicyIngressIpv4Expression, MailManagerTrafficPolicyIngressIpv4ExpressionArgs

    MailManagerTrafficPolicyIngressStringEmailAttribute, MailManagerTrafficPolicyIngressStringEmailAttributeArgs

    Recipient
    RECIPIENT
    MailManagerTrafficPolicyIngressStringEmailAttributeRecipient
    RECIPIENT
    Recipient
    RECIPIENT
    Recipient
    RECIPIENT
    RECIPIENT
    RECIPIENT
    "RECIPIENT"
    RECIPIENT

    MailManagerTrafficPolicyIngressStringExpression, MailManagerTrafficPolicyIngressStringExpressionArgs

    MailManagerTrafficPolicyIngressStringOperator, MailManagerTrafficPolicyIngressStringOperatorArgs

    EqualsValue
    EQUALS
    NotEquals
    NOT_EQUALS
    StartsWith
    STARTS_WITH
    EndsWith
    ENDS_WITH
    Contains
    CONTAINS
    MailManagerTrafficPolicyIngressStringOperatorEquals
    EQUALS
    MailManagerTrafficPolicyIngressStringOperatorNotEquals
    NOT_EQUALS
    MailManagerTrafficPolicyIngressStringOperatorStartsWith
    STARTS_WITH
    MailManagerTrafficPolicyIngressStringOperatorEndsWith
    ENDS_WITH
    MailManagerTrafficPolicyIngressStringOperatorContains
    CONTAINS
    Equals
    EQUALS
    NotEquals
    NOT_EQUALS
    StartsWith
    STARTS_WITH
    EndsWith
    ENDS_WITH
    Contains
    CONTAINS
    Equals
    EQUALS
    NotEquals
    NOT_EQUALS
    StartsWith
    STARTS_WITH
    EndsWith
    ENDS_WITH
    Contains
    CONTAINS
    EQUALS
    EQUALS
    NOT_EQUALS
    NOT_EQUALS
    STARTS_WITH
    STARTS_WITH
    ENDS_WITH
    ENDS_WITH
    CONTAINS
    CONTAINS
    "EQUALS"
    EQUALS
    "NOT_EQUALS"
    NOT_EQUALS
    "STARTS_WITH"
    STARTS_WITH
    "ENDS_WITH"
    ENDS_WITH
    "CONTAINS"
    CONTAINS

    MailManagerTrafficPolicyIngressStringToEvaluateProperties, MailManagerTrafficPolicyIngressStringToEvaluatePropertiesArgs

    MailManagerTrafficPolicyIngressTlsAttribute, MailManagerTrafficPolicyIngressTlsAttributeArgs

    TlsProtocol
    TLS_PROTOCOL
    MailManagerTrafficPolicyIngressTlsAttributeTlsProtocol
    TLS_PROTOCOL
    TlsProtocol
    TLS_PROTOCOL
    TlsProtocol
    TLS_PROTOCOL
    TLS_PROTOCOL
    TLS_PROTOCOL
    "TLS_PROTOCOL"
    TLS_PROTOCOL

    MailManagerTrafficPolicyIngressTlsProtocolAttribute, MailManagerTrafficPolicyIngressTlsProtocolAttributeArgs

    Tls12
    TLS1_2
    Tls13
    TLS1_3
    MailManagerTrafficPolicyIngressTlsProtocolAttributeTls12
    TLS1_2
    MailManagerTrafficPolicyIngressTlsProtocolAttributeTls13
    TLS1_3
    Tls12
    TLS1_2
    Tls13
    TLS1_3
    Tls12
    TLS1_2
    Tls13
    TLS1_3
    TLS12
    TLS1_2
    TLS13
    TLS1_3
    "TLS1_2"
    TLS1_2
    "TLS1_3"
    TLS1_3

    MailManagerTrafficPolicyIngressTlsProtocolExpression, MailManagerTrafficPolicyIngressTlsProtocolExpressionArgs

    MailManagerTrafficPolicyIngressTlsProtocolOperator, MailManagerTrafficPolicyIngressTlsProtocolOperatorArgs

    MinimumTlsVersion
    MINIMUM_TLS_VERSION
    Is
    IS
    MailManagerTrafficPolicyIngressTlsProtocolOperatorMinimumTlsVersion
    MINIMUM_TLS_VERSION
    MailManagerTrafficPolicyIngressTlsProtocolOperatorIs
    IS
    MinimumTlsVersion
    MINIMUM_TLS_VERSION
    Is
    IS
    MinimumTlsVersion
    MINIMUM_TLS_VERSION
    Is
    IS
    MINIMUM_TLS_VERSION
    MINIMUM_TLS_VERSION
    IS_
    IS
    "MINIMUM_TLS_VERSION"
    MINIMUM_TLS_VERSION
    "IS"
    IS

    MailManagerTrafficPolicyIngressTlsProtocolToEvaluateProperties, MailManagerTrafficPolicyIngressTlsProtocolToEvaluatePropertiesArgs

    MailManagerTrafficPolicyPolicyCondition0Properties, MailManagerTrafficPolicyPolicyCondition0PropertiesArgs

    MailManagerTrafficPolicyPolicyCondition1Properties, MailManagerTrafficPolicyPolicyCondition1PropertiesArgs

    MailManagerTrafficPolicyPolicyCondition2Properties, MailManagerTrafficPolicyPolicyCondition2PropertiesArgs

    MailManagerTrafficPolicyPolicyCondition3Properties, MailManagerTrafficPolicyPolicyCondition3PropertiesArgs

    MailManagerTrafficPolicyPolicyStatement, MailManagerTrafficPolicyPolicyStatementArgs

    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, TagArgs

    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