1. Registry
  2. Packages
  3. AWS
  4. API Docs
  5. mailmanager
  6. RuleSet
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi
aws logo aws logo
Viewing docs for AWS v7.46.0
published on Thursday, Sep 10, 2026 by Pulumi

    Manages an AWS SES Mail Manager Rule Set.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.mailmanager.RuleSet("example", {
        rules: [{
            actions: [{
                addHeader: {
                    headerName: "X-Example",
                    headerValue: "example",
                },
            }],
            name: "add-header",
        }],
        name: "example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.mailmanager.RuleSet("example",
        rules=[{
            "actions": [{
                "add_header": {
                    "header_name": "X-Example",
                    "header_value": "example",
                },
            }],
            "name": "add-header",
        }],
        name="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/mailmanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mailmanager.NewRuleSet(ctx, "example", &mailmanager.RuleSetArgs{
    			Rules: mailmanager.RuleSetRuleArray{
    				&mailmanager.RuleSetRuleArgs{
    					Actions: mailmanager.RuleSetRuleActionArray{
    						&mailmanager.RuleSetRuleActionArgs{
    							AddHeader: &mailmanager.RuleSetRuleActionAddHeaderArgs{
    								HeaderName:  pulumi.String("X-Example"),
    								HeaderValue: pulumi.String("example"),
    							},
    						},
    					},
    					Name: pulumi.String("add-header"),
    				},
    			},
    			Name: pulumi.String("example"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.MailManager.RuleSet("example", new()
        {
            Rules = new[]
            {
                new Aws.MailManager.Inputs.RuleSetRuleArgs
                {
                    Actions = new[]
                    {
                        new Aws.MailManager.Inputs.RuleSetRuleActionArgs
                        {
                            AddHeader = new Aws.MailManager.Inputs.RuleSetRuleActionAddHeaderArgs
                            {
                                HeaderName = "X-Example",
                                HeaderValue = "example",
                            },
                        },
                    },
                    Name = "add-header",
                },
            },
            Name = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.mailmanager.RuleSet;
    import com.pulumi.aws.mailmanager.RuleSetArgs;
    import com.pulumi.aws.mailmanager.inputs.RuleSetRuleArgs;
    import com.pulumi.aws.mailmanager.inputs.RuleSetRuleActionArgs;
    import com.pulumi.aws.mailmanager.inputs.RuleSetRuleActionAddHeaderArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new RuleSet("example", RuleSetArgs.builder()
                .rules(RuleSetRuleArgs.builder()
                    .actions(RuleSetRuleActionArgs.builder()
                        .addHeader(RuleSetRuleActionAddHeaderArgs.builder()
                            .headerName("X-Example")
                            .headerValue("example")
                            .build())
                        .build())
                    .name("add-header")
                    .build())
                .name("example")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:mailmanager:RuleSet
        properties:
          rules:
            - actions:
                - addHeader:
                    headerName: X-Example
                    headerValue: example
              name: add-header
          name: example
    
    pulumi {
      required_providers {
        aws = {
          source = "pulumi/aws"
        }
      }
    }
    
    resource "aws_mailmanager_ruleset" "example" {
      rules {
        actions {
          add_header = {
            header_name  = "X-Example"
            header_value = "example"
          }
        }
        name = "add-header"
      }
      name = "example"
    }
    

    Create RuleSet Resource

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

    Constructor syntax

    new RuleSet(name: string, args?: RuleSetArgs, opts?: CustomResourceOptions);
    @overload
    def RuleSet(resource_name: str,
                args: Optional[RuleSetArgs] = None,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def RuleSet(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                name: Optional[str] = None,
                region: Optional[str] = None,
                rules: Optional[Sequence[RuleSetRuleArgs]] = None,
                tags: Optional[Mapping[str, str]] = None)
    func NewRuleSet(ctx *Context, name string, args *RuleSetArgs, opts ...ResourceOption) (*RuleSet, error)
    public RuleSet(string name, RuleSetArgs? args = null, CustomResourceOptions? opts = null)
    public RuleSet(String name, RuleSetArgs args)
    public RuleSet(String name, RuleSetArgs args, CustomResourceOptions options)
    
    type: aws:mailmanager:RuleSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws_mailmanager_rule_set" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args RuleSetArgs
    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 RuleSetArgs
    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 RuleSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RuleSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RuleSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var ruleSetResource = new Aws.MailManager.RuleSet("ruleSetResource", new()
    {
        Name = "string",
        Region = "string",
        Rules = new[]
        {
            new Aws.MailManager.Inputs.RuleSetRuleArgs
            {
                Actions = new[]
                {
                    new Aws.MailManager.Inputs.RuleSetRuleActionArgs
                    {
                        AddHeader = new Aws.MailManager.Inputs.RuleSetRuleActionAddHeaderArgs
                        {
                            HeaderName = "string",
                            HeaderValue = "string",
                        },
                        Archive = new Aws.MailManager.Inputs.RuleSetRuleActionArchiveArgs
                        {
                            TargetArchive = "string",
                            ActionFailurePolicy = "string",
                        },
                        Bounce = new Aws.MailManager.Inputs.RuleSetRuleActionBounceArgs
                        {
                            DiagnosticMessage = "string",
                            RoleArn = "string",
                            Sender = "string",
                            SmtpReplyCode = "string",
                            StatusCode = "string",
                            ActionFailurePolicy = "string",
                            Message = "string",
                        },
                        DeliverToMailbox = new Aws.MailManager.Inputs.RuleSetRuleActionDeliverToMailboxArgs
                        {
                            MailboxArn = "string",
                            RoleArn = "string",
                            ActionFailurePolicy = "string",
                        },
                        DeliverToQBusiness = new Aws.MailManager.Inputs.RuleSetRuleActionDeliverToQBusinessArgs
                        {
                            ApplicationId = "string",
                            IndexId = "string",
                            RoleArn = "string",
                            ActionFailurePolicy = "string",
                        },
                        Drop = null,
                        InvokeLambda = new Aws.MailManager.Inputs.RuleSetRuleActionInvokeLambdaArgs
                        {
                            FunctionArn = "string",
                            InvocationType = "string",
                            RoleArn = "string",
                            ActionFailurePolicy = "string",
                            RetryTimeMinutes = 0,
                        },
                        PublishToSns = new Aws.MailManager.Inputs.RuleSetRuleActionPublishToSnsArgs
                        {
                            RoleArn = "string",
                            TopicArn = "string",
                            ActionFailurePolicy = "string",
                            Encoding = "string",
                            PayloadType = "string",
                        },
                        Relay = new Aws.MailManager.Inputs.RuleSetRuleActionRelayArgs
                        {
                            Relay = "string",
                            ActionFailurePolicy = "string",
                            MailFrom = "string",
                        },
                        ReplaceRecipient = new Aws.MailManager.Inputs.RuleSetRuleActionReplaceRecipientArgs
                        {
                            ReplaceWiths = new[]
                            {
                                "string",
                            },
                        },
                        Send = new Aws.MailManager.Inputs.RuleSetRuleActionSendArgs
                        {
                            RoleArn = "string",
                            ActionFailurePolicy = "string",
                        },
                        WriteToS3 = new Aws.MailManager.Inputs.RuleSetRuleActionWriteToS3Args
                        {
                            RoleArn = "string",
                            S3Bucket = "string",
                            ActionFailurePolicy = "string",
                            S3Prefix = "string",
                            S3SseKmsKeyId = "string",
                        },
                    },
                },
                Conditions = new[]
                {
                    new Aws.MailManager.Inputs.RuleSetRuleConditionArgs
                    {
                        BooleanExpression = new Aws.MailManager.Inputs.RuleSetRuleConditionBooleanExpressionArgs
                        {
                            Operator = "string",
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleConditionBooleanExpressionEvaluateArgs
                            {
                                Analysis = new Aws.MailManager.Inputs.RuleSetRuleConditionBooleanExpressionEvaluateAnalysisArgs
                                {
                                    Analyzer = "string",
                                    ResultField = "string",
                                },
                                Attribute = "string",
                                IsInAddressList = new Aws.MailManager.Inputs.RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressListArgs
                                {
                                    AddressLists = new[]
                                    {
                                        "string",
                                    },
                                    Attribute = "string",
                                },
                            },
                        },
                        DmarcExpression = new Aws.MailManager.Inputs.RuleSetRuleConditionDmarcExpressionArgs
                        {
                            Operator = "string",
                            Values = new[]
                            {
                                "string",
                            },
                        },
                        IpExpression = new Aws.MailManager.Inputs.RuleSetRuleConditionIpExpressionArgs
                        {
                            Operator = "string",
                            Values = new[]
                            {
                                "string",
                            },
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleConditionIpExpressionEvaluateArgs
                            {
                                Attribute = "string",
                            },
                        },
                        NumberExpression = new Aws.MailManager.Inputs.RuleSetRuleConditionNumberExpressionArgs
                        {
                            Operator = "string",
                            Value = 0.0,
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleConditionNumberExpressionEvaluateArgs
                            {
                                Attribute = "string",
                            },
                        },
                        StringExpression = new Aws.MailManager.Inputs.RuleSetRuleConditionStringExpressionArgs
                        {
                            Operator = "string",
                            Values = new[]
                            {
                                "string",
                            },
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleConditionStringExpressionEvaluateArgs
                            {
                                Analysis = new Aws.MailManager.Inputs.RuleSetRuleConditionStringExpressionEvaluateAnalysisArgs
                                {
                                    Analyzer = "string",
                                    ResultField = "string",
                                },
                                Attribute = "string",
                                ClientCertificateAttribute = "string",
                                MimeHeaderAttribute = "string",
                            },
                        },
                        VerdictExpression = new Aws.MailManager.Inputs.RuleSetRuleConditionVerdictExpressionArgs
                        {
                            Operator = "string",
                            Values = new[]
                            {
                                "string",
                            },
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleConditionVerdictExpressionEvaluateArgs
                            {
                                Analysis = new Aws.MailManager.Inputs.RuleSetRuleConditionVerdictExpressionEvaluateAnalysisArgs
                                {
                                    Analyzer = "string",
                                    ResultField = "string",
                                },
                                Attribute = "string",
                            },
                        },
                    },
                },
                Name = "string",
                Unlesses = new[]
                {
                    new Aws.MailManager.Inputs.RuleSetRuleUnlessArgs
                    {
                        BooleanExpression = new Aws.MailManager.Inputs.RuleSetRuleUnlessBooleanExpressionArgs
                        {
                            Operator = "string",
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleUnlessBooleanExpressionEvaluateArgs
                            {
                                Analysis = new Aws.MailManager.Inputs.RuleSetRuleUnlessBooleanExpressionEvaluateAnalysisArgs
                                {
                                    Analyzer = "string",
                                    ResultField = "string",
                                },
                                Attribute = "string",
                                IsInAddressList = new Aws.MailManager.Inputs.RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressListArgs
                                {
                                    AddressLists = new[]
                                    {
                                        "string",
                                    },
                                    Attribute = "string",
                                },
                            },
                        },
                        DmarcExpression = new Aws.MailManager.Inputs.RuleSetRuleUnlessDmarcExpressionArgs
                        {
                            Operator = "string",
                            Values = new[]
                            {
                                "string",
                            },
                        },
                        IpExpression = new Aws.MailManager.Inputs.RuleSetRuleUnlessIpExpressionArgs
                        {
                            Operator = "string",
                            Values = new[]
                            {
                                "string",
                            },
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleUnlessIpExpressionEvaluateArgs
                            {
                                Attribute = "string",
                            },
                        },
                        NumberExpression = new Aws.MailManager.Inputs.RuleSetRuleUnlessNumberExpressionArgs
                        {
                            Operator = "string",
                            Value = 0.0,
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleUnlessNumberExpressionEvaluateArgs
                            {
                                Attribute = "string",
                            },
                        },
                        StringExpression = new Aws.MailManager.Inputs.RuleSetRuleUnlessStringExpressionArgs
                        {
                            Operator = "string",
                            Values = new[]
                            {
                                "string",
                            },
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleUnlessStringExpressionEvaluateArgs
                            {
                                Analysis = new Aws.MailManager.Inputs.RuleSetRuleUnlessStringExpressionEvaluateAnalysisArgs
                                {
                                    Analyzer = "string",
                                    ResultField = "string",
                                },
                                Attribute = "string",
                                ClientCertificateAttribute = "string",
                                MimeHeaderAttribute = "string",
                            },
                        },
                        VerdictExpression = new Aws.MailManager.Inputs.RuleSetRuleUnlessVerdictExpressionArgs
                        {
                            Operator = "string",
                            Values = new[]
                            {
                                "string",
                            },
                            Evaluate = new Aws.MailManager.Inputs.RuleSetRuleUnlessVerdictExpressionEvaluateArgs
                            {
                                Analysis = new Aws.MailManager.Inputs.RuleSetRuleUnlessVerdictExpressionEvaluateAnalysisArgs
                                {
                                    Analyzer = "string",
                                    ResultField = "string",
                                },
                                Attribute = "string",
                            },
                        },
                    },
                },
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := mailmanager.NewRuleSet(ctx, "ruleSetResource", &mailmanager.RuleSetArgs{
    	Name:   pulumi.String("string"),
    	Region: pulumi.String("string"),
    	Rules: mailmanager.RuleSetRuleArray{
    		&mailmanager.RuleSetRuleArgs{
    			Actions: mailmanager.RuleSetRuleActionArray{
    				&mailmanager.RuleSetRuleActionArgs{
    					AddHeader: &mailmanager.RuleSetRuleActionAddHeaderArgs{
    						HeaderName:  pulumi.String("string"),
    						HeaderValue: pulumi.String("string"),
    					},
    					Archive: &mailmanager.RuleSetRuleActionArchiveArgs{
    						TargetArchive:       pulumi.String("string"),
    						ActionFailurePolicy: pulumi.String("string"),
    					},
    					Bounce: &mailmanager.RuleSetRuleActionBounceArgs{
    						DiagnosticMessage:   pulumi.String("string"),
    						RoleArn:             pulumi.String("string"),
    						Sender:              pulumi.String("string"),
    						SmtpReplyCode:       pulumi.String("string"),
    						StatusCode:          pulumi.String("string"),
    						ActionFailurePolicy: pulumi.String("string"),
    						Message:             pulumi.String("string"),
    					},
    					DeliverToMailbox: &mailmanager.RuleSetRuleActionDeliverToMailboxArgs{
    						MailboxArn:          pulumi.String("string"),
    						RoleArn:             pulumi.String("string"),
    						ActionFailurePolicy: pulumi.String("string"),
    					},
    					DeliverToQBusiness: &mailmanager.RuleSetRuleActionDeliverToQBusinessArgs{
    						ApplicationId:       pulumi.String("string"),
    						IndexId:             pulumi.String("string"),
    						RoleArn:             pulumi.String("string"),
    						ActionFailurePolicy: pulumi.String("string"),
    					},
    					Drop: &mailmanager.RuleSetRuleActionDropArgs{},
    					InvokeLambda: &mailmanager.RuleSetRuleActionInvokeLambdaArgs{
    						FunctionArn:         pulumi.String("string"),
    						InvocationType:      pulumi.String("string"),
    						RoleArn:             pulumi.String("string"),
    						ActionFailurePolicy: pulumi.String("string"),
    						RetryTimeMinutes:    pulumi.Int(0),
    					},
    					PublishToSns: &mailmanager.RuleSetRuleActionPublishToSnsArgs{
    						RoleArn:             pulumi.String("string"),
    						TopicArn:            pulumi.String("string"),
    						ActionFailurePolicy: pulumi.String("string"),
    						Encoding:            pulumi.String("string"),
    						PayloadType:         pulumi.String("string"),
    					},
    					Relay: &mailmanager.RuleSetRuleActionRelayArgs{
    						Relay:               pulumi.String("string"),
    						ActionFailurePolicy: pulumi.String("string"),
    						MailFrom:            pulumi.String("string"),
    					},
    					ReplaceRecipient: &mailmanager.RuleSetRuleActionReplaceRecipientArgs{
    						ReplaceWiths: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					Send: &mailmanager.RuleSetRuleActionSendArgs{
    						RoleArn:             pulumi.String("string"),
    						ActionFailurePolicy: pulumi.String("string"),
    					},
    					WriteToS3: &mailmanager.RuleSetRuleActionWriteToS3Args{
    						RoleArn:             pulumi.String("string"),
    						S3Bucket:            pulumi.String("string"),
    						ActionFailurePolicy: pulumi.String("string"),
    						S3Prefix:            pulumi.String("string"),
    						S3SseKmsKeyId:       pulumi.String("string"),
    					},
    				},
    			},
    			Conditions: mailmanager.RuleSetRuleConditionArray{
    				&mailmanager.RuleSetRuleConditionArgs{
    					BooleanExpression: &mailmanager.RuleSetRuleConditionBooleanExpressionArgs{
    						Operator: pulumi.String("string"),
    						Evaluate: &mailmanager.RuleSetRuleConditionBooleanExpressionEvaluateArgs{
    							Analysis: &mailmanager.RuleSetRuleConditionBooleanExpressionEvaluateAnalysisArgs{
    								Analyzer:    pulumi.String("string"),
    								ResultField: pulumi.String("string"),
    							},
    							Attribute: pulumi.String("string"),
    							IsInAddressList: &mailmanager.RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressListArgs{
    								AddressLists: pulumi.StringArray{
    									pulumi.String("string"),
    								},
    								Attribute: pulumi.String("string"),
    							},
    						},
    					},
    					DmarcExpression: &mailmanager.RuleSetRuleConditionDmarcExpressionArgs{
    						Operator: pulumi.String("string"),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					IpExpression: &mailmanager.RuleSetRuleConditionIpExpressionArgs{
    						Operator: pulumi.String("string"),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Evaluate: &mailmanager.RuleSetRuleConditionIpExpressionEvaluateArgs{
    							Attribute: pulumi.String("string"),
    						},
    					},
    					NumberExpression: &mailmanager.RuleSetRuleConditionNumberExpressionArgs{
    						Operator: pulumi.String("string"),
    						Value:    pulumi.Float64(0),
    						Evaluate: &mailmanager.RuleSetRuleConditionNumberExpressionEvaluateArgs{
    							Attribute: pulumi.String("string"),
    						},
    					},
    					StringExpression: &mailmanager.RuleSetRuleConditionStringExpressionArgs{
    						Operator: pulumi.String("string"),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Evaluate: &mailmanager.RuleSetRuleConditionStringExpressionEvaluateArgs{
    							Analysis: &mailmanager.RuleSetRuleConditionStringExpressionEvaluateAnalysisArgs{
    								Analyzer:    pulumi.String("string"),
    								ResultField: pulumi.String("string"),
    							},
    							Attribute:                  pulumi.String("string"),
    							ClientCertificateAttribute: pulumi.String("string"),
    							MimeHeaderAttribute:        pulumi.String("string"),
    						},
    					},
    					VerdictExpression: &mailmanager.RuleSetRuleConditionVerdictExpressionArgs{
    						Operator: pulumi.String("string"),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Evaluate: &mailmanager.RuleSetRuleConditionVerdictExpressionEvaluateArgs{
    							Analysis: &mailmanager.RuleSetRuleConditionVerdictExpressionEvaluateAnalysisArgs{
    								Analyzer:    pulumi.String("string"),
    								ResultField: pulumi.String("string"),
    							},
    							Attribute: pulumi.String("string"),
    						},
    					},
    				},
    			},
    			Name: pulumi.String("string"),
    			Unlesses: mailmanager.RuleSetRuleUnlessArray{
    				&mailmanager.RuleSetRuleUnlessArgs{
    					BooleanExpression: &mailmanager.RuleSetRuleUnlessBooleanExpressionArgs{
    						Operator: pulumi.String("string"),
    						Evaluate: &mailmanager.RuleSetRuleUnlessBooleanExpressionEvaluateArgs{
    							Analysis: &mailmanager.RuleSetRuleUnlessBooleanExpressionEvaluateAnalysisArgs{
    								Analyzer:    pulumi.String("string"),
    								ResultField: pulumi.String("string"),
    							},
    							Attribute: pulumi.String("string"),
    							IsInAddressList: &mailmanager.RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressListArgs{
    								AddressLists: pulumi.StringArray{
    									pulumi.String("string"),
    								},
    								Attribute: pulumi.String("string"),
    							},
    						},
    					},
    					DmarcExpression: &mailmanager.RuleSetRuleUnlessDmarcExpressionArgs{
    						Operator: pulumi.String("string"),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    					},
    					IpExpression: &mailmanager.RuleSetRuleUnlessIpExpressionArgs{
    						Operator: pulumi.String("string"),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Evaluate: &mailmanager.RuleSetRuleUnlessIpExpressionEvaluateArgs{
    							Attribute: pulumi.String("string"),
    						},
    					},
    					NumberExpression: &mailmanager.RuleSetRuleUnlessNumberExpressionArgs{
    						Operator: pulumi.String("string"),
    						Value:    pulumi.Float64(0),
    						Evaluate: &mailmanager.RuleSetRuleUnlessNumberExpressionEvaluateArgs{
    							Attribute: pulumi.String("string"),
    						},
    					},
    					StringExpression: &mailmanager.RuleSetRuleUnlessStringExpressionArgs{
    						Operator: pulumi.String("string"),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Evaluate: &mailmanager.RuleSetRuleUnlessStringExpressionEvaluateArgs{
    							Analysis: &mailmanager.RuleSetRuleUnlessStringExpressionEvaluateAnalysisArgs{
    								Analyzer:    pulumi.String("string"),
    								ResultField: pulumi.String("string"),
    							},
    							Attribute:                  pulumi.String("string"),
    							ClientCertificateAttribute: pulumi.String("string"),
    							MimeHeaderAttribute:        pulumi.String("string"),
    						},
    					},
    					VerdictExpression: &mailmanager.RuleSetRuleUnlessVerdictExpressionArgs{
    						Operator: pulumi.String("string"),
    						Values: pulumi.StringArray{
    							pulumi.String("string"),
    						},
    						Evaluate: &mailmanager.RuleSetRuleUnlessVerdictExpressionEvaluateArgs{
    							Analysis: &mailmanager.RuleSetRuleUnlessVerdictExpressionEvaluateAnalysisArgs{
    								Analyzer:    pulumi.String("string"),
    								ResultField: pulumi.String("string"),
    							},
    							Attribute: pulumi.String("string"),
    						},
    					},
    				},
    			},
    		},
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    resource "aws_mailmanager_rule_set" "ruleSetResource" {
      lifecycle {
        create_before_destroy = true
      }
      name   = "string"
      region = "string"
      rules {
        actions {
          add_header = {
            header_name  = "string"
            header_value = "string"
          }
          archive = {
            target_archive        = "string"
            action_failure_policy = "string"
          }
          bounce = {
            diagnostic_message    = "string"
            role_arn              = "string"
            sender                = "string"
            smtp_reply_code       = "string"
            status_code           = "string"
            action_failure_policy = "string"
            message               = "string"
          }
          deliver_to_mailbox = {
            mailbox_arn           = "string"
            role_arn              = "string"
            action_failure_policy = "string"
          }
          deliver_to_q_business = {
            application_id        = "string"
            index_id              = "string"
            role_arn              = "string"
            action_failure_policy = "string"
          }
          drop = {}
          invoke_lambda = {
            function_arn          = "string"
            invocation_type       = "string"
            role_arn              = "string"
            action_failure_policy = "string"
            retry_time_minutes    = 0
          }
          publish_to_sns = {
            role_arn              = "string"
            topic_arn             = "string"
            action_failure_policy = "string"
            encoding              = "string"
            payload_type          = "string"
          }
          relay = {
            relay                 = "string"
            action_failure_policy = "string"
            mail_from             = "string"
          }
          replace_recipient = {
            replace_withs = ["string"]
          }
          send = {
            role_arn              = "string"
            action_failure_policy = "string"
          }
          write_to_s3 = {
            role_arn              = "string"
            s3_bucket             = "string"
            action_failure_policy = "string"
            s3_prefix             = "string"
            s3_sse_kms_key_id     = "string"
          }
        }
        conditions {
          boolean_expression = {
            operator = "string"
            evaluate = {
              analysis = {
                analyzer     = "string"
                result_field = "string"
              }
              attribute = "string"
              is_in_address_list = {
                address_lists = ["string"]
                attribute     = "string"
              }
            }
          }
          dmarc_expression = {
            operator = "string"
            values   = ["string"]
          }
          ip_expression = {
            operator = "string"
            values   = ["string"]
            evaluate = {
              attribute = "string"
            }
          }
          number_expression = {
            operator = "string"
            value    = 0
            evaluate = {
              attribute = "string"
            }
          }
          string_expression = {
            operator = "string"
            values   = ["string"]
            evaluate = {
              analysis = {
                analyzer     = "string"
                result_field = "string"
              }
              attribute                    = "string"
              client_certificate_attribute = "string"
              mime_header_attribute        = "string"
            }
          }
          verdict_expression = {
            operator = "string"
            values   = ["string"]
            evaluate = {
              analysis = {
                analyzer     = "string"
                result_field = "string"
              }
              attribute = "string"
            }
          }
        }
        name = "string"
        unlesses {
          boolean_expression = {
            operator = "string"
            evaluate = {
              analysis = {
                analyzer     = "string"
                result_field = "string"
              }
              attribute = "string"
              is_in_address_list = {
                address_lists = ["string"]
                attribute     = "string"
              }
            }
          }
          dmarc_expression = {
            operator = "string"
            values   = ["string"]
          }
          ip_expression = {
            operator = "string"
            values   = ["string"]
            evaluate = {
              attribute = "string"
            }
          }
          number_expression = {
            operator = "string"
            value    = 0
            evaluate = {
              attribute = "string"
            }
          }
          string_expression = {
            operator = "string"
            values   = ["string"]
            evaluate = {
              analysis = {
                analyzer     = "string"
                result_field = "string"
              }
              attribute                    = "string"
              client_certificate_attribute = "string"
              mime_header_attribute        = "string"
            }
          }
          verdict_expression = {
            operator = "string"
            values   = ["string"]
            evaluate = {
              analysis = {
                analyzer     = "string"
                result_field = "string"
              }
              attribute = "string"
            }
          }
        }
      }
      tags = {
        "string" = "string"
      }
    }
    
    var ruleSetResource = new RuleSet("ruleSetResource", RuleSetArgs.builder()
        .name("string")
        .region("string")
        .rules(RuleSetRuleArgs.builder()
            .actions(RuleSetRuleActionArgs.builder()
                .addHeader(RuleSetRuleActionAddHeaderArgs.builder()
                    .headerName("string")
                    .headerValue("string")
                    .build())
                .archive(RuleSetRuleActionArchiveArgs.builder()
                    .targetArchive("string")
                    .actionFailurePolicy("string")
                    .build())
                .bounce(RuleSetRuleActionBounceArgs.builder()
                    .diagnosticMessage("string")
                    .roleArn("string")
                    .sender("string")
                    .smtpReplyCode("string")
                    .statusCode("string")
                    .actionFailurePolicy("string")
                    .message("string")
                    .build())
                .deliverToMailbox(RuleSetRuleActionDeliverToMailboxArgs.builder()
                    .mailboxArn("string")
                    .roleArn("string")
                    .actionFailurePolicy("string")
                    .build())
                .deliverToQBusiness(RuleSetRuleActionDeliverToQBusinessArgs.builder()
                    .applicationId("string")
                    .indexId("string")
                    .roleArn("string")
                    .actionFailurePolicy("string")
                    .build())
                .drop(RuleSetRuleActionDropArgs.builder()
                    .build())
                .invokeLambda(RuleSetRuleActionInvokeLambdaArgs.builder()
                    .functionArn("string")
                    .invocationType("string")
                    .roleArn("string")
                    .actionFailurePolicy("string")
                    .retryTimeMinutes(0)
                    .build())
                .publishToSns(RuleSetRuleActionPublishToSnsArgs.builder()
                    .roleArn("string")
                    .topicArn("string")
                    .actionFailurePolicy("string")
                    .encoding("string")
                    .payloadType("string")
                    .build())
                .relay(RuleSetRuleActionRelayArgs.builder()
                    .relay("string")
                    .actionFailurePolicy("string")
                    .mailFrom("string")
                    .build())
                .replaceRecipient(RuleSetRuleActionReplaceRecipientArgs.builder()
                    .replaceWiths("string")
                    .build())
                .send(RuleSetRuleActionSendArgs.builder()
                    .roleArn("string")
                    .actionFailurePolicy("string")
                    .build())
                .writeToS3(RuleSetRuleActionWriteToS3Args.builder()
                    .roleArn("string")
                    .s3Bucket("string")
                    .actionFailurePolicy("string")
                    .s3Prefix("string")
                    .s3SseKmsKeyId("string")
                    .build())
                .build())
            .conditions(RuleSetRuleConditionArgs.builder()
                .booleanExpression(RuleSetRuleConditionBooleanExpressionArgs.builder()
                    .operator("string")
                    .evaluate(RuleSetRuleConditionBooleanExpressionEvaluateArgs.builder()
                        .analysis(RuleSetRuleConditionBooleanExpressionEvaluateAnalysisArgs.builder()
                            .analyzer("string")
                            .resultField("string")
                            .build())
                        .attribute("string")
                        .isInAddressList(RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressListArgs.builder()
                            .addressLists("string")
                            .attribute("string")
                            .build())
                        .build())
                    .build())
                .dmarcExpression(RuleSetRuleConditionDmarcExpressionArgs.builder()
                    .operator("string")
                    .values("string")
                    .build())
                .ipExpression(RuleSetRuleConditionIpExpressionArgs.builder()
                    .operator("string")
                    .values("string")
                    .evaluate(RuleSetRuleConditionIpExpressionEvaluateArgs.builder()
                        .attribute("string")
                        .build())
                    .build())
                .numberExpression(RuleSetRuleConditionNumberExpressionArgs.builder()
                    .operator("string")
                    .value(0.0)
                    .evaluate(RuleSetRuleConditionNumberExpressionEvaluateArgs.builder()
                        .attribute("string")
                        .build())
                    .build())
                .stringExpression(RuleSetRuleConditionStringExpressionArgs.builder()
                    .operator("string")
                    .values("string")
                    .evaluate(RuleSetRuleConditionStringExpressionEvaluateArgs.builder()
                        .analysis(RuleSetRuleConditionStringExpressionEvaluateAnalysisArgs.builder()
                            .analyzer("string")
                            .resultField("string")
                            .build())
                        .attribute("string")
                        .clientCertificateAttribute("string")
                        .mimeHeaderAttribute("string")
                        .build())
                    .build())
                .verdictExpression(RuleSetRuleConditionVerdictExpressionArgs.builder()
                    .operator("string")
                    .values("string")
                    .evaluate(RuleSetRuleConditionVerdictExpressionEvaluateArgs.builder()
                        .analysis(RuleSetRuleConditionVerdictExpressionEvaluateAnalysisArgs.builder()
                            .analyzer("string")
                            .resultField("string")
                            .build())
                        .attribute("string")
                        .build())
                    .build())
                .build())
            .name("string")
            .unlesses(RuleSetRuleUnlessArgs.builder()
                .booleanExpression(RuleSetRuleUnlessBooleanExpressionArgs.builder()
                    .operator("string")
                    .evaluate(RuleSetRuleUnlessBooleanExpressionEvaluateArgs.builder()
                        .analysis(RuleSetRuleUnlessBooleanExpressionEvaluateAnalysisArgs.builder()
                            .analyzer("string")
                            .resultField("string")
                            .build())
                        .attribute("string")
                        .isInAddressList(RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressListArgs.builder()
                            .addressLists("string")
                            .attribute("string")
                            .build())
                        .build())
                    .build())
                .dmarcExpression(RuleSetRuleUnlessDmarcExpressionArgs.builder()
                    .operator("string")
                    .values("string")
                    .build())
                .ipExpression(RuleSetRuleUnlessIpExpressionArgs.builder()
                    .operator("string")
                    .values("string")
                    .evaluate(RuleSetRuleUnlessIpExpressionEvaluateArgs.builder()
                        .attribute("string")
                        .build())
                    .build())
                .numberExpression(RuleSetRuleUnlessNumberExpressionArgs.builder()
                    .operator("string")
                    .value(0.0)
                    .evaluate(RuleSetRuleUnlessNumberExpressionEvaluateArgs.builder()
                        .attribute("string")
                        .build())
                    .build())
                .stringExpression(RuleSetRuleUnlessStringExpressionArgs.builder()
                    .operator("string")
                    .values("string")
                    .evaluate(RuleSetRuleUnlessStringExpressionEvaluateArgs.builder()
                        .analysis(RuleSetRuleUnlessStringExpressionEvaluateAnalysisArgs.builder()
                            .analyzer("string")
                            .resultField("string")
                            .build())
                        .attribute("string")
                        .clientCertificateAttribute("string")
                        .mimeHeaderAttribute("string")
                        .build())
                    .build())
                .verdictExpression(RuleSetRuleUnlessVerdictExpressionArgs.builder()
                    .operator("string")
                    .values("string")
                    .evaluate(RuleSetRuleUnlessVerdictExpressionEvaluateArgs.builder()
                        .analysis(RuleSetRuleUnlessVerdictExpressionEvaluateAnalysisArgs.builder()
                            .analyzer("string")
                            .resultField("string")
                            .build())
                        .attribute("string")
                        .build())
                    .build())
                .build())
            .build())
        .tags(Map.of("string", "string"))
        .build());
    
    rule_set_resource = aws.mailmanager.RuleSet("ruleSetResource",
        name="string",
        region="string",
        rules=[{
            "actions": [{
                "add_header": {
                    "header_name": "string",
                    "header_value": "string",
                },
                "archive": {
                    "target_archive": "string",
                    "action_failure_policy": "string",
                },
                "bounce": {
                    "diagnostic_message": "string",
                    "role_arn": "string",
                    "sender": "string",
                    "smtp_reply_code": "string",
                    "status_code": "string",
                    "action_failure_policy": "string",
                    "message": "string",
                },
                "deliver_to_mailbox": {
                    "mailbox_arn": "string",
                    "role_arn": "string",
                    "action_failure_policy": "string",
                },
                "deliver_to_q_business": {
                    "application_id": "string",
                    "index_id": "string",
                    "role_arn": "string",
                    "action_failure_policy": "string",
                },
                "drop": {},
                "invoke_lambda": {
                    "function_arn": "string",
                    "invocation_type": "string",
                    "role_arn": "string",
                    "action_failure_policy": "string",
                    "retry_time_minutes": 0,
                },
                "publish_to_sns": {
                    "role_arn": "string",
                    "topic_arn": "string",
                    "action_failure_policy": "string",
                    "encoding": "string",
                    "payload_type": "string",
                },
                "relay": {
                    "relay": "string",
                    "action_failure_policy": "string",
                    "mail_from": "string",
                },
                "replace_recipient": {
                    "replace_withs": ["string"],
                },
                "send": {
                    "role_arn": "string",
                    "action_failure_policy": "string",
                },
                "write_to_s3": {
                    "role_arn": "string",
                    "s3_bucket": "string",
                    "action_failure_policy": "string",
                    "s3_prefix": "string",
                    "s3_sse_kms_key_id": "string",
                },
            }],
            "conditions": [{
                "boolean_expression": {
                    "operator": "string",
                    "evaluate": {
                        "analysis": {
                            "analyzer": "string",
                            "result_field": "string",
                        },
                        "attribute": "string",
                        "is_in_address_list": {
                            "address_lists": ["string"],
                            "attribute": "string",
                        },
                    },
                },
                "dmarc_expression": {
                    "operator": "string",
                    "values": ["string"],
                },
                "ip_expression": {
                    "operator": "string",
                    "values": ["string"],
                    "evaluate": {
                        "attribute": "string",
                    },
                },
                "number_expression": {
                    "operator": "string",
                    "value": float(0),
                    "evaluate": {
                        "attribute": "string",
                    },
                },
                "string_expression": {
                    "operator": "string",
                    "values": ["string"],
                    "evaluate": {
                        "analysis": {
                            "analyzer": "string",
                            "result_field": "string",
                        },
                        "attribute": "string",
                        "client_certificate_attribute": "string",
                        "mime_header_attribute": "string",
                    },
                },
                "verdict_expression": {
                    "operator": "string",
                    "values": ["string"],
                    "evaluate": {
                        "analysis": {
                            "analyzer": "string",
                            "result_field": "string",
                        },
                        "attribute": "string",
                    },
                },
            }],
            "name": "string",
            "unlesses": [{
                "boolean_expression": {
                    "operator": "string",
                    "evaluate": {
                        "analysis": {
                            "analyzer": "string",
                            "result_field": "string",
                        },
                        "attribute": "string",
                        "is_in_address_list": {
                            "address_lists": ["string"],
                            "attribute": "string",
                        },
                    },
                },
                "dmarc_expression": {
                    "operator": "string",
                    "values": ["string"],
                },
                "ip_expression": {
                    "operator": "string",
                    "values": ["string"],
                    "evaluate": {
                        "attribute": "string",
                    },
                },
                "number_expression": {
                    "operator": "string",
                    "value": float(0),
                    "evaluate": {
                        "attribute": "string",
                    },
                },
                "string_expression": {
                    "operator": "string",
                    "values": ["string"],
                    "evaluate": {
                        "analysis": {
                            "analyzer": "string",
                            "result_field": "string",
                        },
                        "attribute": "string",
                        "client_certificate_attribute": "string",
                        "mime_header_attribute": "string",
                    },
                },
                "verdict_expression": {
                    "operator": "string",
                    "values": ["string"],
                    "evaluate": {
                        "analysis": {
                            "analyzer": "string",
                            "result_field": "string",
                        },
                        "attribute": "string",
                    },
                },
            }],
        }],
        tags={
            "string": "string",
        })
    
    const ruleSetResource = new aws.mailmanager.RuleSet("ruleSetResource", {
        name: "string",
        region: "string",
        rules: [{
            actions: [{
                addHeader: {
                    headerName: "string",
                    headerValue: "string",
                },
                archive: {
                    targetArchive: "string",
                    actionFailurePolicy: "string",
                },
                bounce: {
                    diagnosticMessage: "string",
                    roleArn: "string",
                    sender: "string",
                    smtpReplyCode: "string",
                    statusCode: "string",
                    actionFailurePolicy: "string",
                    message: "string",
                },
                deliverToMailbox: {
                    mailboxArn: "string",
                    roleArn: "string",
                    actionFailurePolicy: "string",
                },
                deliverToQBusiness: {
                    applicationId: "string",
                    indexId: "string",
                    roleArn: "string",
                    actionFailurePolicy: "string",
                },
                drop: {},
                invokeLambda: {
                    functionArn: "string",
                    invocationType: "string",
                    roleArn: "string",
                    actionFailurePolicy: "string",
                    retryTimeMinutes: 0,
                },
                publishToSns: {
                    roleArn: "string",
                    topicArn: "string",
                    actionFailurePolicy: "string",
                    encoding: "string",
                    payloadType: "string",
                },
                relay: {
                    relay: "string",
                    actionFailurePolicy: "string",
                    mailFrom: "string",
                },
                replaceRecipient: {
                    replaceWiths: ["string"],
                },
                send: {
                    roleArn: "string",
                    actionFailurePolicy: "string",
                },
                writeToS3: {
                    roleArn: "string",
                    s3Bucket: "string",
                    actionFailurePolicy: "string",
                    s3Prefix: "string",
                    s3SseKmsKeyId: "string",
                },
            }],
            conditions: [{
                booleanExpression: {
                    operator: "string",
                    evaluate: {
                        analysis: {
                            analyzer: "string",
                            resultField: "string",
                        },
                        attribute: "string",
                        isInAddressList: {
                            addressLists: ["string"],
                            attribute: "string",
                        },
                    },
                },
                dmarcExpression: {
                    operator: "string",
                    values: ["string"],
                },
                ipExpression: {
                    operator: "string",
                    values: ["string"],
                    evaluate: {
                        attribute: "string",
                    },
                },
                numberExpression: {
                    operator: "string",
                    value: 0,
                    evaluate: {
                        attribute: "string",
                    },
                },
                stringExpression: {
                    operator: "string",
                    values: ["string"],
                    evaluate: {
                        analysis: {
                            analyzer: "string",
                            resultField: "string",
                        },
                        attribute: "string",
                        clientCertificateAttribute: "string",
                        mimeHeaderAttribute: "string",
                    },
                },
                verdictExpression: {
                    operator: "string",
                    values: ["string"],
                    evaluate: {
                        analysis: {
                            analyzer: "string",
                            resultField: "string",
                        },
                        attribute: "string",
                    },
                },
            }],
            name: "string",
            unlesses: [{
                booleanExpression: {
                    operator: "string",
                    evaluate: {
                        analysis: {
                            analyzer: "string",
                            resultField: "string",
                        },
                        attribute: "string",
                        isInAddressList: {
                            addressLists: ["string"],
                            attribute: "string",
                        },
                    },
                },
                dmarcExpression: {
                    operator: "string",
                    values: ["string"],
                },
                ipExpression: {
                    operator: "string",
                    values: ["string"],
                    evaluate: {
                        attribute: "string",
                    },
                },
                numberExpression: {
                    operator: "string",
                    value: 0,
                    evaluate: {
                        attribute: "string",
                    },
                },
                stringExpression: {
                    operator: "string",
                    values: ["string"],
                    evaluate: {
                        analysis: {
                            analyzer: "string",
                            resultField: "string",
                        },
                        attribute: "string",
                        clientCertificateAttribute: "string",
                        mimeHeaderAttribute: "string",
                    },
                },
                verdictExpression: {
                    operator: "string",
                    values: ["string"],
                    evaluate: {
                        analysis: {
                            analyzer: "string",
                            resultField: "string",
                        },
                        attribute: "string",
                    },
                },
            }],
        }],
        tags: {
            string: "string",
        },
    });
    
    type: aws:mailmanager:RuleSet
    properties:
        name: string
        region: string
        rules:
            - actions:
                - addHeader:
                    headerName: string
                    headerValue: string
                  archive:
                    actionFailurePolicy: string
                    targetArchive: string
                  bounce:
                    actionFailurePolicy: string
                    diagnosticMessage: string
                    message: string
                    roleArn: string
                    sender: string
                    smtpReplyCode: string
                    statusCode: string
                  deliverToMailbox:
                    actionFailurePolicy: string
                    mailboxArn: string
                    roleArn: string
                  deliverToQBusiness:
                    actionFailurePolicy: string
                    applicationId: string
                    indexId: string
                    roleArn: string
                  drop: {}
                  invokeLambda:
                    actionFailurePolicy: string
                    functionArn: string
                    invocationType: string
                    retryTimeMinutes: 0
                    roleArn: string
                  publishToSns:
                    actionFailurePolicy: string
                    encoding: string
                    payloadType: string
                    roleArn: string
                    topicArn: string
                  relay:
                    actionFailurePolicy: string
                    mailFrom: string
                    relay: string
                  replaceRecipient:
                    replaceWiths:
                        - string
                  send:
                    actionFailurePolicy: string
                    roleArn: string
                  writeToS3:
                    actionFailurePolicy: string
                    roleArn: string
                    s3Bucket: string
                    s3Prefix: string
                    s3SseKmsKeyId: string
              conditions:
                - booleanExpression:
                    evaluate:
                        analysis:
                            analyzer: string
                            resultField: string
                        attribute: string
                        isInAddressList:
                            addressLists:
                                - string
                            attribute: string
                    operator: string
                  dmarcExpression:
                    operator: string
                    values:
                        - string
                  ipExpression:
                    evaluate:
                        attribute: string
                    operator: string
                    values:
                        - string
                  numberExpression:
                    evaluate:
                        attribute: string
                    operator: string
                    value: 0
                  stringExpression:
                    evaluate:
                        analysis:
                            analyzer: string
                            resultField: string
                        attribute: string
                        clientCertificateAttribute: string
                        mimeHeaderAttribute: string
                    operator: string
                    values:
                        - string
                  verdictExpression:
                    evaluate:
                        analysis:
                            analyzer: string
                            resultField: string
                        attribute: string
                    operator: string
                    values:
                        - string
              name: string
              unlesses:
                - booleanExpression:
                    evaluate:
                        analysis:
                            analyzer: string
                            resultField: string
                        attribute: string
                        isInAddressList:
                            addressLists:
                                - string
                            attribute: string
                    operator: string
                  dmarcExpression:
                    operator: string
                    values:
                        - string
                  ipExpression:
                    evaluate:
                        attribute: string
                    operator: string
                    values:
                        - string
                  numberExpression:
                    evaluate:
                        attribute: string
                    operator: string
                    value: 0
                  stringExpression:
                    evaluate:
                        analysis:
                            analyzer: string
                            resultField: string
                        attribute: string
                        clientCertificateAttribute: string
                        mimeHeaderAttribute: string
                    operator: string
                    values:
                        - string
                  verdictExpression:
                    evaluate:
                        analysis:
                            analyzer: string
                            resultField: string
                        attribute: string
                    operator: string
                    values:
                        - string
        tags:
            string: string
    

    RuleSet Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RuleSet resource accepts the following input properties:

    Name string
    Name of the rule set.
    Region string
    Region where this resource is managed.
    Rules List<RuleSetRule>

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    Tags Dictionary<string, string>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    Name string
    Name of the rule set.
    Region string
    Region where this resource is managed.
    Rules []RuleSetRuleArgs

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    Tags map[string]string
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    name string
    Name of the rule set.
    region string
    Region where this resource is managed.
    rules list(object)

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags map(string)
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    name String
    Name of the rule set.
    region String
    Region where this resource is managed.
    rules List<RuleSetRule>

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags Map<String,String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    name string
    Name of the rule set.
    region string
    Region where this resource is managed.
    rules RuleSetRule[]

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags {[key: string]: string}
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    name str
    Name of the rule set.
    region str
    Region where this resource is managed.
    rules Sequence[RuleSetRuleArgs]

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags Mapping[str, str]
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    name String
    Name of the rule set.
    region String
    Region where this resource is managed.
    rules List<Property Map>

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags Map<String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

    Outputs

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

    Arn string
    ARN of the rule set.
    CreatedDate string
    Date and time when the rule set was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModificationDate string
    Date and time when the rule set was last modified.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the rule set.
    CreatedDate string
    Date and time when the rule set was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastModificationDate string
    Date and time when the rule set was last modified.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the rule set.
    created_date string
    Date and time when the rule set was created.
    id string
    The provider-assigned unique ID for this managed resource.
    last_modification_date string
    Date and time when the rule set was last modified.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the rule set.
    createdDate String
    Date and time when the rule set was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModificationDate String
    Date and time when the rule set was last modified.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the rule set.
    createdDate string
    Date and time when the rule set was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastModificationDate string
    Date and time when the rule set was last modified.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the rule set.
    created_date str
    Date and time when the rule set was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_modification_date str
    Date and time when the rule set was last modified.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the rule set.
    createdDate String
    Date and time when the rule set was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastModificationDate String
    Date and time when the rule set was last modified.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Look up Existing RuleSet Resource

    Get an existing RuleSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RuleSetState, opts?: CustomResourceOptions): RuleSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arn: Optional[str] = None,
            created_date: Optional[str] = None,
            last_modification_date: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            rules: Optional[Sequence[RuleSetRuleArgs]] = None,
            tags: Optional[Mapping[str, str]] = None,
            tags_all: Optional[Mapping[str, str]] = None) -> RuleSet
    func GetRuleSet(ctx *Context, name string, id IDInput, state *RuleSetState, opts ...ResourceOption) (*RuleSet, error)
    public static RuleSet Get(string name, Input<string> id, RuleSetState? state, CustomResourceOptions? opts = null)
    public static RuleSet get(String name, Output<String> id, RuleSetState state, CustomResourceOptions options)
    resources:  _:    type: aws:mailmanager:RuleSet    get:      id: ${id}
    import {
      to = aws_mailmanager_rule_set.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Arn string
    ARN of the rule set.
    CreatedDate string
    Date and time when the rule set was created.
    LastModificationDate string
    Date and time when the rule set was last modified.
    Name string
    Name of the rule set.
    Region string
    Region where this resource is managed.
    Rules List<RuleSetRule>

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    Tags Dictionary<string, string>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll Dictionary<string, string>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    Arn string
    ARN of the rule set.
    CreatedDate string
    Date and time when the rule set was created.
    LastModificationDate string
    Date and time when the rule set was last modified.
    Name string
    Name of the rule set.
    Region string
    Region where this resource is managed.
    Rules []RuleSetRuleArgs

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    Tags map[string]string
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    TagsAll map[string]string
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the rule set.
    created_date string
    Date and time when the rule set was created.
    last_modification_date string
    Date and time when the rule set was last modified.
    name string
    Name of the rule set.
    region string
    Region where this resource is managed.
    rules list(object)

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags map(string)
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all map(string)
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the rule set.
    createdDate String
    Date and time when the rule set was created.
    lastModificationDate String
    Date and time when the rule set was last modified.
    name String
    Name of the rule set.
    region String
    Region where this resource is managed.
    rules List<RuleSetRule>

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags Map<String,String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String,String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn string
    ARN of the rule set.
    createdDate string
    Date and time when the rule set was created.
    lastModificationDate string
    Date and time when the rule set was last modified.
    name string
    Name of the rule set.
    region string
    Region where this resource is managed.
    rules RuleSetRule[]

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags {[key: string]: string}
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll {[key: string]: string}
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn str
    ARN of the rule set.
    created_date str
    Date and time when the rule set was created.
    last_modification_date str
    Date and time when the rule set was last modified.
    name str
    Name of the rule set.
    region str
    Region where this resource is managed.
    rules Sequence[RuleSetRuleArgs]

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags Mapping[str, str]
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tags_all Mapping[str, str]
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
    arn String
    ARN of the rule set.
    createdDate String
    Date and time when the rule set was created.
    lastModificationDate String
    Date and time when the rule set was last modified.
    name String
    Name of the rule set.
    region String
    Region where this resource is managed.
    rules List<Property Map>

    One or more rules that define filtering and action logic. Up to 40 rules are supported. See rule Block.

    The following arguments are optional:

    tags Map<String>
    Map of tags assigned to the resource. If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
    tagsAll Map<String>
    Map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.

    Supporting Types

    RuleSetRule, RuleSetRuleArgs

    Actions List<RuleSetRuleAction>
    One or more actions to execute when all conditions match. Between 1 and 10 actions are supported. Each action must contain exactly one action configuration. See action Block.
    Conditions List<RuleSetRuleCondition>
    One or more conditions that must all evaluate to true for the rule to match. Up to 10 conditions are supported. See condition Block.
    Name string
    Name of the rule.
    Unlesses List<RuleSetRuleUnless>
    One or more conditions that prevent the rule from matching when any evaluates to true. Up to 10 conditions are supported. See condition Block.
    Actions []RuleSetRuleAction
    One or more actions to execute when all conditions match. Between 1 and 10 actions are supported. Each action must contain exactly one action configuration. See action Block.
    Conditions []RuleSetRuleCondition
    One or more conditions that must all evaluate to true for the rule to match. Up to 10 conditions are supported. See condition Block.
    Name string
    Name of the rule.
    Unlesses []RuleSetRuleUnless
    One or more conditions that prevent the rule from matching when any evaluates to true. Up to 10 conditions are supported. See condition Block.
    actions list(object)
    One or more actions to execute when all conditions match. Between 1 and 10 actions are supported. Each action must contain exactly one action configuration. See action Block.
    conditions list(object)
    One or more conditions that must all evaluate to true for the rule to match. Up to 10 conditions are supported. See condition Block.
    name string
    Name of the rule.
    unlesses list(object)
    One or more conditions that prevent the rule from matching when any evaluates to true. Up to 10 conditions are supported. See condition Block.
    actions List<RuleSetRuleAction>
    One or more actions to execute when all conditions match. Between 1 and 10 actions are supported. Each action must contain exactly one action configuration. See action Block.
    conditions List<RuleSetRuleCondition>
    One or more conditions that must all evaluate to true for the rule to match. Up to 10 conditions are supported. See condition Block.
    name String
    Name of the rule.
    unlesses List<RuleSetRuleUnless>
    One or more conditions that prevent the rule from matching when any evaluates to true. Up to 10 conditions are supported. See condition Block.
    actions RuleSetRuleAction[]
    One or more actions to execute when all conditions match. Between 1 and 10 actions are supported. Each action must contain exactly one action configuration. See action Block.
    conditions RuleSetRuleCondition[]
    One or more conditions that must all evaluate to true for the rule to match. Up to 10 conditions are supported. See condition Block.
    name string
    Name of the rule.
    unlesses RuleSetRuleUnless[]
    One or more conditions that prevent the rule from matching when any evaluates to true. Up to 10 conditions are supported. See condition Block.
    actions Sequence[RuleSetRuleAction]
    One or more actions to execute when all conditions match. Between 1 and 10 actions are supported. Each action must contain exactly one action configuration. See action Block.
    conditions Sequence[RuleSetRuleCondition]
    One or more conditions that must all evaluate to true for the rule to match. Up to 10 conditions are supported. See condition Block.
    name str
    Name of the rule.
    unlesses Sequence[RuleSetRuleUnless]
    One or more conditions that prevent the rule from matching when any evaluates to true. Up to 10 conditions are supported. See condition Block.
    actions List<Property Map>
    One or more actions to execute when all conditions match. Between 1 and 10 actions are supported. Each action must contain exactly one action configuration. See action Block.
    conditions List<Property Map>
    One or more conditions that must all evaluate to true for the rule to match. Up to 10 conditions are supported. See condition Block.
    name String
    Name of the rule.
    unlesses List<Property Map>
    One or more conditions that prevent the rule from matching when any evaluates to true. Up to 10 conditions are supported. See condition Block.

    RuleSetRuleAction, RuleSetRuleActionArgs

    AddHeader RuleSetRuleActionAddHeader
    Adds a header to the email. See addHeader Block.
    Archive RuleSetRuleActionArchive
    Archives the email. See archive Block.
    Bounce RuleSetRuleActionBounce
    Sends a bounce response. See bounce Block.
    DeliverToMailbox RuleSetRuleActionDeliverToMailbox
    Delivers the email to a WorkMail mailbox. See deliverToMailbox Block.
    DeliverToQBusiness RuleSetRuleActionDeliverToQBusiness
    Delivers the email to an Amazon Q Business application. See deliverToQBusiness Block.
    Drop RuleSetRuleActionDrop
    Stops rule evaluation and drops the email.
    InvokeLambda RuleSetRuleActionInvokeLambda
    Invokes a Lambda function. See invokeLambda Block.
    PublishToSns RuleSetRuleActionPublishToSns
    Publishes the email to an SNS topic. See publishToSns Block.
    Relay RuleSetRuleActionRelay
    Relays the email to an SMTP server. See relay Block.
    ReplaceRecipient RuleSetRuleActionReplaceRecipient
    Replaces envelope recipients. See replaceRecipient Block.
    Send RuleSetRuleActionSend
    Sends the email to the internet. See send Block.
    WriteToS3 RuleSetRuleActionWriteToS3
    Writes the email MIME content to an S3 bucket. See writeToS3 Block.
    AddHeader RuleSetRuleActionAddHeader
    Adds a header to the email. See addHeader Block.
    Archive RuleSetRuleActionArchive
    Archives the email. See archive Block.
    Bounce RuleSetRuleActionBounce
    Sends a bounce response. See bounce Block.
    DeliverToMailbox RuleSetRuleActionDeliverToMailbox
    Delivers the email to a WorkMail mailbox. See deliverToMailbox Block.
    DeliverToQBusiness RuleSetRuleActionDeliverToQBusiness
    Delivers the email to an Amazon Q Business application. See deliverToQBusiness Block.
    Drop RuleSetRuleActionDrop
    Stops rule evaluation and drops the email.
    InvokeLambda RuleSetRuleActionInvokeLambda
    Invokes a Lambda function. See invokeLambda Block.
    PublishToSns RuleSetRuleActionPublishToSns
    Publishes the email to an SNS topic. See publishToSns Block.
    Relay RuleSetRuleActionRelay
    Relays the email to an SMTP server. See relay Block.
    ReplaceRecipient RuleSetRuleActionReplaceRecipient
    Replaces envelope recipients. See replaceRecipient Block.
    Send RuleSetRuleActionSend
    Sends the email to the internet. See send Block.
    WriteToS3 RuleSetRuleActionWriteToS3
    Writes the email MIME content to an S3 bucket. See writeToS3 Block.
    add_header object
    Adds a header to the email. See addHeader Block.
    archive object
    Archives the email. See archive Block.
    bounce object
    Sends a bounce response. See bounce Block.
    deliver_to_mailbox object
    Delivers the email to a WorkMail mailbox. See deliverToMailbox Block.
    deliver_to_q_business object
    Delivers the email to an Amazon Q Business application. See deliverToQBusiness Block.
    drop object
    Stops rule evaluation and drops the email.
    invoke_lambda object
    Invokes a Lambda function. See invokeLambda Block.
    publish_to_sns object
    Publishes the email to an SNS topic. See publishToSns Block.
    relay object
    Relays the email to an SMTP server. See relay Block.
    replace_recipient object
    Replaces envelope recipients. See replaceRecipient Block.
    send object
    Sends the email to the internet. See send Block.
    write_to_s3 object
    Writes the email MIME content to an S3 bucket. See writeToS3 Block.
    addHeader RuleSetRuleActionAddHeader
    Adds a header to the email. See addHeader Block.
    archive RuleSetRuleActionArchive
    Archives the email. See archive Block.
    bounce RuleSetRuleActionBounce
    Sends a bounce response. See bounce Block.
    deliverToMailbox RuleSetRuleActionDeliverToMailbox
    Delivers the email to a WorkMail mailbox. See deliverToMailbox Block.
    deliverToQBusiness RuleSetRuleActionDeliverToQBusiness
    Delivers the email to an Amazon Q Business application. See deliverToQBusiness Block.
    drop RuleSetRuleActionDrop
    Stops rule evaluation and drops the email.
    invokeLambda RuleSetRuleActionInvokeLambda
    Invokes a Lambda function. See invokeLambda Block.
    publishToSns RuleSetRuleActionPublishToSns
    Publishes the email to an SNS topic. See publishToSns Block.
    relay RuleSetRuleActionRelay
    Relays the email to an SMTP server. See relay Block.
    replaceRecipient RuleSetRuleActionReplaceRecipient
    Replaces envelope recipients. See replaceRecipient Block.
    send RuleSetRuleActionSend
    Sends the email to the internet. See send Block.
    writeToS3 RuleSetRuleActionWriteToS3
    Writes the email MIME content to an S3 bucket. See writeToS3 Block.
    addHeader RuleSetRuleActionAddHeader
    Adds a header to the email. See addHeader Block.
    archive RuleSetRuleActionArchive
    Archives the email. See archive Block.
    bounce RuleSetRuleActionBounce
    Sends a bounce response. See bounce Block.
    deliverToMailbox RuleSetRuleActionDeliverToMailbox
    Delivers the email to a WorkMail mailbox. See deliverToMailbox Block.
    deliverToQBusiness RuleSetRuleActionDeliverToQBusiness
    Delivers the email to an Amazon Q Business application. See deliverToQBusiness Block.
    drop RuleSetRuleActionDrop
    Stops rule evaluation and drops the email.
    invokeLambda RuleSetRuleActionInvokeLambda
    Invokes a Lambda function. See invokeLambda Block.
    publishToSns RuleSetRuleActionPublishToSns
    Publishes the email to an SNS topic. See publishToSns Block.
    relay RuleSetRuleActionRelay
    Relays the email to an SMTP server. See relay Block.
    replaceRecipient RuleSetRuleActionReplaceRecipient
    Replaces envelope recipients. See replaceRecipient Block.
    send RuleSetRuleActionSend
    Sends the email to the internet. See send Block.
    writeToS3 RuleSetRuleActionWriteToS3
    Writes the email MIME content to an S3 bucket. See writeToS3 Block.
    add_header RuleSetRuleActionAddHeader
    Adds a header to the email. See addHeader Block.
    archive RuleSetRuleActionArchive
    Archives the email. See archive Block.
    bounce RuleSetRuleActionBounce
    Sends a bounce response. See bounce Block.
    deliver_to_mailbox RuleSetRuleActionDeliverToMailbox
    Delivers the email to a WorkMail mailbox. See deliverToMailbox Block.
    deliver_to_q_business RuleSetRuleActionDeliverToQBusiness
    Delivers the email to an Amazon Q Business application. See deliverToQBusiness Block.
    drop RuleSetRuleActionDrop
    Stops rule evaluation and drops the email.
    invoke_lambda RuleSetRuleActionInvokeLambda
    Invokes a Lambda function. See invokeLambda Block.
    publish_to_sns RuleSetRuleActionPublishToSns
    Publishes the email to an SNS topic. See publishToSns Block.
    relay RuleSetRuleActionRelay
    Relays the email to an SMTP server. See relay Block.
    replace_recipient RuleSetRuleActionReplaceRecipient
    Replaces envelope recipients. See replaceRecipient Block.
    send RuleSetRuleActionSend
    Sends the email to the internet. See send Block.
    write_to_s3 RuleSetRuleActionWriteToS3
    Writes the email MIME content to an S3 bucket. See writeToS3 Block.
    addHeader Property Map
    Adds a header to the email. See addHeader Block.
    archive Property Map
    Archives the email. See archive Block.
    bounce Property Map
    Sends a bounce response. See bounce Block.
    deliverToMailbox Property Map
    Delivers the email to a WorkMail mailbox. See deliverToMailbox Block.
    deliverToQBusiness Property Map
    Delivers the email to an Amazon Q Business application. See deliverToQBusiness Block.
    drop Property Map
    Stops rule evaluation and drops the email.
    invokeLambda Property Map
    Invokes a Lambda function. See invokeLambda Block.
    publishToSns Property Map
    Publishes the email to an SNS topic. See publishToSns Block.
    relay Property Map
    Relays the email to an SMTP server. See relay Block.
    replaceRecipient Property Map
    Replaces envelope recipients. See replaceRecipient Block.
    send Property Map
    Sends the email to the internet. See send Block.
    writeToS3 Property Map
    Writes the email MIME content to an S3 bucket. See writeToS3 Block.

    RuleSetRuleActionAddHeader, RuleSetRuleActionAddHeaderArgs

    HeaderName string
    Header name. Must begin with X-.
    HeaderValue string
    Header value.
    HeaderName string
    Header name. Must begin with X-.
    HeaderValue string
    Header value.
    header_name string
    Header name. Must begin with X-.
    header_value string
    Header value.
    headerName String
    Header name. Must begin with X-.
    headerValue String
    Header value.
    headerName string
    Header name. Must begin with X-.
    headerValue string
    Header value.
    header_name str
    Header name. Must begin with X-.
    header_value str
    Header value.
    headerName String
    Header name. Must begin with X-.
    headerValue String
    Header value.

    RuleSetRuleActionArchive, RuleSetRuleActionArchiveArgs

    TargetArchive string
    Identifier of the archive.
    ActionFailurePolicy string
    Policy applied when the action fails.
    TargetArchive string
    Identifier of the archive.
    ActionFailurePolicy string
    Policy applied when the action fails.
    target_archive string
    Identifier of the archive.
    action_failure_policy string
    Policy applied when the action fails.
    targetArchive String
    Identifier of the archive.
    actionFailurePolicy String
    Policy applied when the action fails.
    targetArchive string
    Identifier of the archive.
    actionFailurePolicy string
    Policy applied when the action fails.
    target_archive str
    Identifier of the archive.
    action_failure_policy str
    Policy applied when the action fails.
    targetArchive String
    Identifier of the archive.
    actionFailurePolicy String
    Policy applied when the action fails.

    RuleSetRuleActionBounce, RuleSetRuleActionBounceArgs

    DiagnosticMessage string
    Diagnostic message included in the bounce.
    RoleArn string
    ARN of the IAM role used to send the bounce.
    Sender string
    Sender address of the bounce.
    SmtpReplyCode string
    SMTP reply code.
    StatusCode string
    Enhanced status code.
    ActionFailurePolicy string
    Policy applied when the action fails.
    Message string
    Human-readable bounce message.
    DiagnosticMessage string
    Diagnostic message included in the bounce.
    RoleArn string
    ARN of the IAM role used to send the bounce.
    Sender string
    Sender address of the bounce.
    SmtpReplyCode string
    SMTP reply code.
    StatusCode string
    Enhanced status code.
    ActionFailurePolicy string
    Policy applied when the action fails.
    Message string
    Human-readable bounce message.
    diagnostic_message string
    Diagnostic message included in the bounce.
    role_arn string
    ARN of the IAM role used to send the bounce.
    sender string
    Sender address of the bounce.
    smtp_reply_code string
    SMTP reply code.
    status_code string
    Enhanced status code.
    action_failure_policy string
    Policy applied when the action fails.
    message string
    Human-readable bounce message.
    diagnosticMessage String
    Diagnostic message included in the bounce.
    roleArn String
    ARN of the IAM role used to send the bounce.
    sender String
    Sender address of the bounce.
    smtpReplyCode String
    SMTP reply code.
    statusCode String
    Enhanced status code.
    actionFailurePolicy String
    Policy applied when the action fails.
    message String
    Human-readable bounce message.
    diagnosticMessage string
    Diagnostic message included in the bounce.
    roleArn string
    ARN of the IAM role used to send the bounce.
    sender string
    Sender address of the bounce.
    smtpReplyCode string
    SMTP reply code.
    statusCode string
    Enhanced status code.
    actionFailurePolicy string
    Policy applied when the action fails.
    message string
    Human-readable bounce message.
    diagnostic_message str
    Diagnostic message included in the bounce.
    role_arn str
    ARN of the IAM role used to send the bounce.
    sender str
    Sender address of the bounce.
    smtp_reply_code str
    SMTP reply code.
    status_code str
    Enhanced status code.
    action_failure_policy str
    Policy applied when the action fails.
    message str
    Human-readable bounce message.
    diagnosticMessage String
    Diagnostic message included in the bounce.
    roleArn String
    ARN of the IAM role used to send the bounce.
    sender String
    Sender address of the bounce.
    smtpReplyCode String
    SMTP reply code.
    statusCode String
    Enhanced status code.
    actionFailurePolicy String
    Policy applied when the action fails.
    message String
    Human-readable bounce message.

    RuleSetRuleActionDeliverToMailbox, RuleSetRuleActionDeliverToMailboxArgs

    MailboxArn string
    ARN of the WorkMail organization.
    RoleArn string
    ARN of the IAM role used to deliver the email.
    ActionFailurePolicy string
    Policy applied when the action fails.
    MailboxArn string
    ARN of the WorkMail organization.
    RoleArn string
    ARN of the IAM role used to deliver the email.
    ActionFailurePolicy string
    Policy applied when the action fails.
    mailbox_arn string
    ARN of the WorkMail organization.
    role_arn string
    ARN of the IAM role used to deliver the email.
    action_failure_policy string
    Policy applied when the action fails.
    mailboxArn String
    ARN of the WorkMail organization.
    roleArn String
    ARN of the IAM role used to deliver the email.
    actionFailurePolicy String
    Policy applied when the action fails.
    mailboxArn string
    ARN of the WorkMail organization.
    roleArn string
    ARN of the IAM role used to deliver the email.
    actionFailurePolicy string
    Policy applied when the action fails.
    mailbox_arn str
    ARN of the WorkMail organization.
    role_arn str
    ARN of the IAM role used to deliver the email.
    action_failure_policy str
    Policy applied when the action fails.
    mailboxArn String
    ARN of the WorkMail organization.
    roleArn String
    ARN of the IAM role used to deliver the email.
    actionFailurePolicy String
    Policy applied when the action fails.

    RuleSetRuleActionDeliverToQBusiness, RuleSetRuleActionDeliverToQBusinessArgs

    ApplicationId string
    Q Business application identifier.
    IndexId string
    Q Business index identifier.
    RoleArn string
    ARN of the IAM role used to deliver the email.
    ActionFailurePolicy string
    Policy applied when the action fails.
    ApplicationId string
    Q Business application identifier.
    IndexId string
    Q Business index identifier.
    RoleArn string
    ARN of the IAM role used to deliver the email.
    ActionFailurePolicy string
    Policy applied when the action fails.
    application_id string
    Q Business application identifier.
    index_id string
    Q Business index identifier.
    role_arn string
    ARN of the IAM role used to deliver the email.
    action_failure_policy string
    Policy applied when the action fails.
    applicationId String
    Q Business application identifier.
    indexId String
    Q Business index identifier.
    roleArn String
    ARN of the IAM role used to deliver the email.
    actionFailurePolicy String
    Policy applied when the action fails.
    applicationId string
    Q Business application identifier.
    indexId string
    Q Business index identifier.
    roleArn string
    ARN of the IAM role used to deliver the email.
    actionFailurePolicy string
    Policy applied when the action fails.
    application_id str
    Q Business application identifier.
    index_id str
    Q Business index identifier.
    role_arn str
    ARN of the IAM role used to deliver the email.
    action_failure_policy str
    Policy applied when the action fails.
    applicationId String
    Q Business application identifier.
    indexId String
    Q Business index identifier.
    roleArn String
    ARN of the IAM role used to deliver the email.
    actionFailurePolicy String
    Policy applied when the action fails.

    RuleSetRuleActionInvokeLambda, RuleSetRuleActionInvokeLambdaArgs

    FunctionArn string
    ARN of the Lambda function.
    InvocationType string
    Lambda invocation type.
    RoleArn string
    ARN of the IAM role used to invoke the function.
    ActionFailurePolicy string
    Policy applied when the action fails.
    RetryTimeMinutes int
    Maximum retry time in minutes.
    FunctionArn string
    ARN of the Lambda function.
    InvocationType string
    Lambda invocation type.
    RoleArn string
    ARN of the IAM role used to invoke the function.
    ActionFailurePolicy string
    Policy applied when the action fails.
    RetryTimeMinutes int
    Maximum retry time in minutes.
    function_arn string
    ARN of the Lambda function.
    invocation_type string
    Lambda invocation type.
    role_arn string
    ARN of the IAM role used to invoke the function.
    action_failure_policy string
    Policy applied when the action fails.
    retry_time_minutes number
    Maximum retry time in minutes.
    functionArn String
    ARN of the Lambda function.
    invocationType String
    Lambda invocation type.
    roleArn String
    ARN of the IAM role used to invoke the function.
    actionFailurePolicy String
    Policy applied when the action fails.
    retryTimeMinutes Integer
    Maximum retry time in minutes.
    functionArn string
    ARN of the Lambda function.
    invocationType string
    Lambda invocation type.
    roleArn string
    ARN of the IAM role used to invoke the function.
    actionFailurePolicy string
    Policy applied when the action fails.
    retryTimeMinutes number
    Maximum retry time in minutes.
    function_arn str
    ARN of the Lambda function.
    invocation_type str
    Lambda invocation type.
    role_arn str
    ARN of the IAM role used to invoke the function.
    action_failure_policy str
    Policy applied when the action fails.
    retry_time_minutes int
    Maximum retry time in minutes.
    functionArn String
    ARN of the Lambda function.
    invocationType String
    Lambda invocation type.
    roleArn String
    ARN of the IAM role used to invoke the function.
    actionFailurePolicy String
    Policy applied when the action fails.
    retryTimeMinutes Number
    Maximum retry time in minutes.

    RuleSetRuleActionPublishToSns, RuleSetRuleActionPublishToSnsArgs

    RoleArn string
    ARN of the IAM role used to publish the email.
    TopicArn string
    ARN of the SNS topic.
    ActionFailurePolicy string
    Policy applied when the action fails.
    Encoding string
    Email encoding in the notification.
    PayloadType string
    Notification payload type.
    RoleArn string
    ARN of the IAM role used to publish the email.
    TopicArn string
    ARN of the SNS topic.
    ActionFailurePolicy string
    Policy applied when the action fails.
    Encoding string
    Email encoding in the notification.
    PayloadType string
    Notification payload type.
    role_arn string
    ARN of the IAM role used to publish the email.
    topic_arn string
    ARN of the SNS topic.
    action_failure_policy string
    Policy applied when the action fails.
    encoding string
    Email encoding in the notification.
    payload_type string
    Notification payload type.
    roleArn String
    ARN of the IAM role used to publish the email.
    topicArn String
    ARN of the SNS topic.
    actionFailurePolicy String
    Policy applied when the action fails.
    encoding String
    Email encoding in the notification.
    payloadType String
    Notification payload type.
    roleArn string
    ARN of the IAM role used to publish the email.
    topicArn string
    ARN of the SNS topic.
    actionFailurePolicy string
    Policy applied when the action fails.
    encoding string
    Email encoding in the notification.
    payloadType string
    Notification payload type.
    role_arn str
    ARN of the IAM role used to publish the email.
    topic_arn str
    ARN of the SNS topic.
    action_failure_policy str
    Policy applied when the action fails.
    encoding str
    Email encoding in the notification.
    payload_type str
    Notification payload type.
    roleArn String
    ARN of the IAM role used to publish the email.
    topicArn String
    ARN of the SNS topic.
    actionFailurePolicy String
    Policy applied when the action fails.
    encoding String
    Email encoding in the notification.
    payloadType String
    Notification payload type.

    RuleSetRuleActionRelay, RuleSetRuleActionRelayArgs

    Relay string
    Identifier of the relay resource.
    ActionFailurePolicy string
    Policy applied when the action fails.
    MailFrom string
    Whether to preserve or replace the original MAIL FROM address.
    Relay string
    Identifier of the relay resource.
    ActionFailurePolicy string
    Policy applied when the action fails.
    MailFrom string
    Whether to preserve or replace the original MAIL FROM address.
    relay string
    Identifier of the relay resource.
    action_failure_policy string
    Policy applied when the action fails.
    mail_from string
    Whether to preserve or replace the original MAIL FROM address.
    relay String
    Identifier of the relay resource.
    actionFailurePolicy String
    Policy applied when the action fails.
    mailFrom String
    Whether to preserve or replace the original MAIL FROM address.
    relay string
    Identifier of the relay resource.
    actionFailurePolicy string
    Policy applied when the action fails.
    mailFrom string
    Whether to preserve or replace the original MAIL FROM address.
    relay str
    Identifier of the relay resource.
    action_failure_policy str
    Policy applied when the action fails.
    mail_from str
    Whether to preserve or replace the original MAIL FROM address.
    relay String
    Identifier of the relay resource.
    actionFailurePolicy String
    Policy applied when the action fails.
    mailFrom String
    Whether to preserve or replace the original MAIL FROM address.

    RuleSetRuleActionReplaceRecipient, RuleSetRuleActionReplaceRecipientArgs

    ReplaceWiths List<string>
    Replacement envelope recipient addresses.
    ReplaceWiths []string
    Replacement envelope recipient addresses.
    replace_withs list(string)
    Replacement envelope recipient addresses.
    replaceWiths List<String>
    Replacement envelope recipient addresses.
    replaceWiths string[]
    Replacement envelope recipient addresses.
    replace_withs Sequence[str]
    Replacement envelope recipient addresses.
    replaceWiths List<String>
    Replacement envelope recipient addresses.

    RuleSetRuleActionSend, RuleSetRuleActionSendArgs

    RoleArn string
    ARN of the IAM role used to send the email.
    ActionFailurePolicy string
    Policy applied when the action fails.
    RoleArn string
    ARN of the IAM role used to send the email.
    ActionFailurePolicy string
    Policy applied when the action fails.
    role_arn string
    ARN of the IAM role used to send the email.
    action_failure_policy string
    Policy applied when the action fails.
    roleArn String
    ARN of the IAM role used to send the email.
    actionFailurePolicy String
    Policy applied when the action fails.
    roleArn string
    ARN of the IAM role used to send the email.
    actionFailurePolicy string
    Policy applied when the action fails.
    role_arn str
    ARN of the IAM role used to send the email.
    action_failure_policy str
    Policy applied when the action fails.
    roleArn String
    ARN of the IAM role used to send the email.
    actionFailurePolicy String
    Policy applied when the action fails.

    RuleSetRuleActionWriteToS3, RuleSetRuleActionWriteToS3Args

    RoleArn string
    ARN of the IAM role used to write to S3.
    S3Bucket string
    Name of the S3 bucket.
    ActionFailurePolicy string
    Policy applied when the action fails.
    S3Prefix string
    S3 object key prefix.
    S3SseKmsKeyId string
    KMS key identifier used to encrypt the email.
    RoleArn string
    ARN of the IAM role used to write to S3.
    S3Bucket string
    Name of the S3 bucket.
    ActionFailurePolicy string
    Policy applied when the action fails.
    S3Prefix string
    S3 object key prefix.
    S3SseKmsKeyId string
    KMS key identifier used to encrypt the email.
    role_arn string
    ARN of the IAM role used to write to S3.
    s3_bucket string
    Name of the S3 bucket.
    action_failure_policy string
    Policy applied when the action fails.
    s3_prefix string
    S3 object key prefix.
    s3_sse_kms_key_id string
    KMS key identifier used to encrypt the email.
    roleArn String
    ARN of the IAM role used to write to S3.
    s3Bucket String
    Name of the S3 bucket.
    actionFailurePolicy String
    Policy applied when the action fails.
    s3Prefix String
    S3 object key prefix.
    s3SseKmsKeyId String
    KMS key identifier used to encrypt the email.
    roleArn string
    ARN of the IAM role used to write to S3.
    s3Bucket string
    Name of the S3 bucket.
    actionFailurePolicy string
    Policy applied when the action fails.
    s3Prefix string
    S3 object key prefix.
    s3SseKmsKeyId string
    KMS key identifier used to encrypt the email.
    role_arn str
    ARN of the IAM role used to write to S3.
    s3_bucket str
    Name of the S3 bucket.
    action_failure_policy str
    Policy applied when the action fails.
    s3_prefix str
    S3 object key prefix.
    s3_sse_kms_key_id str
    KMS key identifier used to encrypt the email.
    roleArn String
    ARN of the IAM role used to write to S3.
    s3Bucket String
    Name of the S3 bucket.
    actionFailurePolicy String
    Policy applied when the action fails.
    s3Prefix String
    S3 object key prefix.
    s3SseKmsKeyId String
    KMS key identifier used to encrypt the email.

    RuleSetRuleCondition, RuleSetRuleConditionArgs

    BooleanExpression RuleSetRuleConditionBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    DmarcExpression RuleSetRuleConditionDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    IpExpression RuleSetRuleConditionIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    NumberExpression RuleSetRuleConditionNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    StringExpression RuleSetRuleConditionStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    VerdictExpression RuleSetRuleConditionVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    BooleanExpression RuleSetRuleConditionBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    DmarcExpression RuleSetRuleConditionDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    IpExpression RuleSetRuleConditionIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    NumberExpression RuleSetRuleConditionNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    StringExpression RuleSetRuleConditionStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    VerdictExpression RuleSetRuleConditionVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    boolean_expression object
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarc_expression object
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ip_expression object
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    number_expression object
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    string_expression object
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdict_expression object
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    booleanExpression RuleSetRuleConditionBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarcExpression RuleSetRuleConditionDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ipExpression RuleSetRuleConditionIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    numberExpression RuleSetRuleConditionNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    stringExpression RuleSetRuleConditionStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdictExpression RuleSetRuleConditionVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    booleanExpression RuleSetRuleConditionBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarcExpression RuleSetRuleConditionDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ipExpression RuleSetRuleConditionIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    numberExpression RuleSetRuleConditionNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    stringExpression RuleSetRuleConditionStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdictExpression RuleSetRuleConditionVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    boolean_expression RuleSetRuleConditionBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarc_expression RuleSetRuleConditionDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ip_expression RuleSetRuleConditionIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    number_expression RuleSetRuleConditionNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    string_expression RuleSetRuleConditionStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdict_expression RuleSetRuleConditionVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    booleanExpression Property Map
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarcExpression Property Map
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ipExpression Property Map
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    numberExpression Property Map
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    stringExpression Property Map
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdictExpression Property Map
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.

    RuleSetRuleConditionBooleanExpression, RuleSetRuleConditionBooleanExpressionArgs

    Operator string
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    Evaluate RuleSetRuleConditionBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    Operator string
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    Evaluate RuleSetRuleConditionBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator string
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate object
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator String
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate RuleSetRuleConditionBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator string
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate RuleSetRuleConditionBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator str
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate RuleSetRuleConditionBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator String
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate Property Map
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.

    RuleSetRuleConditionBooleanExpressionEvaluate, RuleSetRuleConditionBooleanExpressionEvaluateArgs

    Analysis RuleSetRuleConditionBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    IsInAddressList RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    Analysis RuleSetRuleConditionBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    IsInAddressList RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    analysis object
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    is_in_address_list object
    Address-list membership expression.
    analysis RuleSetRuleConditionBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    isInAddressList RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    analysis RuleSetRuleConditionBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    isInAddressList RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    analysis RuleSetRuleConditionBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    is_in_address_list RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    analysis Property Map
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    isInAddressList Property Map
    Address-list membership expression.

    RuleSetRuleConditionBooleanExpressionEvaluateAnalysis, RuleSetRuleConditionBooleanExpressionEvaluateAnalysisArgs

    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    result_field string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    resultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer str
    ARN of the Mail Manager Add On.
    result_field str
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.

    RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressList, RuleSetRuleConditionBooleanExpressionEvaluateIsInAddressListArgs

    AddressLists List<string>
    List containing exactly one address list ARN or identifier.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    AddressLists []string
    List containing exactly one address list ARN or identifier.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    address_lists list(string)
    List containing exactly one address list ARN or identifier.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    addressLists List<String>
    List containing exactly one address list ARN or identifier.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    addressLists string[]
    List containing exactly one address list ARN or identifier.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    address_lists Sequence[str]
    List containing exactly one address list ARN or identifier.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    addressLists List<String>
    List containing exactly one address list ARN or identifier.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.

    RuleSetRuleConditionDmarcExpression, RuleSetRuleConditionDmarcExpressionArgs

    Operator string
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    Values List<string>
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    Operator string
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    Values []string
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator string
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values list(string)
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator String
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values List<String>
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator string
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values string[]
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator str
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values Sequence[str]
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator String
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values List<String>
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.

    RuleSetRuleConditionIpExpression, RuleSetRuleConditionIpExpressionArgs

    Operator string
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    Values List<string>
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    Evaluate RuleSetRuleConditionIpExpressionEvaluate
    Left-hand operand of the expression.
    Operator string
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    Values []string
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    Evaluate RuleSetRuleConditionIpExpressionEvaluate
    Left-hand operand of the expression.
    operator string
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values list(string)
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate object
    Left-hand operand of the expression.
    operator String
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values List<String>
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate RuleSetRuleConditionIpExpressionEvaluate
    Left-hand operand of the expression.
    operator string
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values string[]
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate RuleSetRuleConditionIpExpressionEvaluate
    Left-hand operand of the expression.
    operator str
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values Sequence[str]
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate RuleSetRuleConditionIpExpressionEvaluate
    Left-hand operand of the expression.
    operator String
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values List<String>
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate Property Map
    Left-hand operand of the expression.

    RuleSetRuleConditionIpExpressionEvaluate, RuleSetRuleConditionIpExpressionEvaluateArgs

    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.

    RuleSetRuleConditionNumberExpression, RuleSetRuleConditionNumberExpressionArgs

    Operator string
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    Value double
    Numeric value to compare against.
    Evaluate RuleSetRuleConditionNumberExpressionEvaluate
    Left-hand operand of the expression.
    Operator string
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    Value float64
    Numeric value to compare against.
    Evaluate RuleSetRuleConditionNumberExpressionEvaluate
    Left-hand operand of the expression.
    operator string
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value number
    Numeric value to compare against.
    evaluate object
    Left-hand operand of the expression.
    operator String
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value Double
    Numeric value to compare against.
    evaluate RuleSetRuleConditionNumberExpressionEvaluate
    Left-hand operand of the expression.
    operator string
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value number
    Numeric value to compare against.
    evaluate RuleSetRuleConditionNumberExpressionEvaluate
    Left-hand operand of the expression.
    operator str
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value float
    Numeric value to compare against.
    evaluate RuleSetRuleConditionNumberExpressionEvaluate
    Left-hand operand of the expression.
    operator String
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value Number
    Numeric value to compare against.
    evaluate Property Map
    Left-hand operand of the expression.

    RuleSetRuleConditionNumberExpressionEvaluate, RuleSetRuleConditionNumberExpressionEvaluateArgs

    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.

    RuleSetRuleConditionStringExpression, RuleSetRuleConditionStringExpressionArgs

    Operator string
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    Values List<string>
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    Evaluate RuleSetRuleConditionStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    Operator string
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    Values []string
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    Evaluate RuleSetRuleConditionStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator string
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values list(string)
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate object
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator String
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values List<String>
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate RuleSetRuleConditionStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator string
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values string[]
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate RuleSetRuleConditionStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator str
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values Sequence[str]
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate RuleSetRuleConditionStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator String
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values List<String>
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate Property Map
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.

    RuleSetRuleConditionStringExpressionEvaluate, RuleSetRuleConditionStringExpressionEvaluateArgs

    Analysis RuleSetRuleConditionStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    ClientCertificateAttribute string
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    MimeHeaderAttribute string
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    Analysis RuleSetRuleConditionStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    ClientCertificateAttribute string
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    MimeHeaderAttribute string
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis object
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    client_certificate_attribute string
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mime_header_attribute string
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis RuleSetRuleConditionStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    clientCertificateAttribute String
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mimeHeaderAttribute String
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis RuleSetRuleConditionStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    clientCertificateAttribute string
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mimeHeaderAttribute string
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis RuleSetRuleConditionStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    client_certificate_attribute str
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mime_header_attribute str
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis Property Map
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    clientCertificateAttribute String
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mimeHeaderAttribute String
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.

    RuleSetRuleConditionStringExpressionEvaluateAnalysis, RuleSetRuleConditionStringExpressionEvaluateAnalysisArgs

    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    result_field string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    resultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer str
    ARN of the Mail Manager Add On.
    result_field str
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.

    RuleSetRuleConditionVerdictExpression, RuleSetRuleConditionVerdictExpressionArgs

    Operator string
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    Values List<string>
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    Evaluate RuleSetRuleConditionVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    Operator string
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    Values []string
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    Evaluate RuleSetRuleConditionVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator string
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values list(string)
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate object
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator String
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values List<String>
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate RuleSetRuleConditionVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator string
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values string[]
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate RuleSetRuleConditionVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator str
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values Sequence[str]
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate RuleSetRuleConditionVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator String
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values List<String>
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate Property Map
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.

    RuleSetRuleConditionVerdictExpressionEvaluate, RuleSetRuleConditionVerdictExpressionEvaluateArgs

    Analysis RuleSetRuleConditionVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    Analysis RuleSetRuleConditionVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis object
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis RuleSetRuleConditionVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis RuleSetRuleConditionVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis RuleSetRuleConditionVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis Property Map
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.

    RuleSetRuleConditionVerdictExpressionEvaluateAnalysis, RuleSetRuleConditionVerdictExpressionEvaluateAnalysisArgs

    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    result_field string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    resultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer str
    ARN of the Mail Manager Add On.
    result_field str
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.

    RuleSetRuleUnless, RuleSetRuleUnlessArgs

    BooleanExpression RuleSetRuleUnlessBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    DmarcExpression RuleSetRuleUnlessDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    IpExpression RuleSetRuleUnlessIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    NumberExpression RuleSetRuleUnlessNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    StringExpression RuleSetRuleUnlessStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    VerdictExpression RuleSetRuleUnlessVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    BooleanExpression RuleSetRuleUnlessBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    DmarcExpression RuleSetRuleUnlessDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    IpExpression RuleSetRuleUnlessIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    NumberExpression RuleSetRuleUnlessNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    StringExpression RuleSetRuleUnlessStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    VerdictExpression RuleSetRuleUnlessVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    boolean_expression object
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarc_expression object
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ip_expression object
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    number_expression object
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    string_expression object
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdict_expression object
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    booleanExpression RuleSetRuleUnlessBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarcExpression RuleSetRuleUnlessDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ipExpression RuleSetRuleUnlessIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    numberExpression RuleSetRuleUnlessNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    stringExpression RuleSetRuleUnlessStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdictExpression RuleSetRuleUnlessVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    booleanExpression RuleSetRuleUnlessBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarcExpression RuleSetRuleUnlessDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ipExpression RuleSetRuleUnlessIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    numberExpression RuleSetRuleUnlessNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    stringExpression RuleSetRuleUnlessStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdictExpression RuleSetRuleUnlessVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    boolean_expression RuleSetRuleUnlessBooleanExpression
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarc_expression RuleSetRuleUnlessDmarcExpression
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ip_expression RuleSetRuleUnlessIpExpression
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    number_expression RuleSetRuleUnlessNumberExpression
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    string_expression RuleSetRuleUnlessStringExpression
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdict_expression RuleSetRuleUnlessVerdictExpression
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.
    booleanExpression Property Map
    Boolean expression evaluated against an email attribute or Add On result. See booleanExpression Block.
    dmarcExpression Property Map
    DMARC policy expression evaluated against the email's DMARC result. See dmarcExpression Block.
    ipExpression Property Map
    IP CIDR expression evaluated against the sender IP address. See ipExpression Block.
    numberExpression Property Map
    Numeric expression evaluated against an email attribute such as message size. See numberExpression Block.
    stringExpression Property Map
    String expression evaluated against an email attribute, MIME header, client certificate field, or Add On result. See stringExpression Block.
    verdictExpression Property Map
    Verdict expression evaluated against email authentication results such as SPF or DKIM. See verdictExpression Block.

    RuleSetRuleUnlessBooleanExpression, RuleSetRuleUnlessBooleanExpressionArgs

    Operator string
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    Evaluate RuleSetRuleUnlessBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    Operator string
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    Evaluate RuleSetRuleUnlessBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator string
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate object
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator String
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate RuleSetRuleUnlessBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator string
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate RuleSetRuleUnlessBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator str
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate RuleSetRuleUnlessBooleanExpressionEvaluate
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.
    operator String
    Boolean matching operator. Valid values are IS_TRUE and IS_FALSE.
    evaluate Property Map
    Operand evaluated by the expression. Exactly one of analysis, attribute, or isInAddressList must be configured.

    RuleSetRuleUnlessBooleanExpressionEvaluate, RuleSetRuleUnlessBooleanExpressionEvaluateArgs

    Analysis RuleSetRuleUnlessBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    IsInAddressList RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    Analysis RuleSetRuleUnlessBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    IsInAddressList RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    analysis object
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    is_in_address_list object
    Address-list membership expression.
    analysis RuleSetRuleUnlessBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    isInAddressList RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    analysis RuleSetRuleUnlessBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    isInAddressList RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    analysis RuleSetRuleUnlessBooleanExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    is_in_address_list RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressList
    Address-list membership expression.
    analysis Property Map
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    isInAddressList Property Map
    Address-list membership expression.

    RuleSetRuleUnlessBooleanExpressionEvaluateAnalysis, RuleSetRuleUnlessBooleanExpressionEvaluateAnalysisArgs

    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    result_field string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    resultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer str
    ARN of the Mail Manager Add On.
    result_field str
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.

    RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressList, RuleSetRuleUnlessBooleanExpressionEvaluateIsInAddressListArgs

    AddressLists List<string>
    List containing exactly one address list ARN or identifier.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    AddressLists []string
    List containing exactly one address list ARN or identifier.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    address_lists list(string)
    List containing exactly one address list ARN or identifier.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    addressLists List<String>
    List containing exactly one address list ARN or identifier.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    addressLists string[]
    List containing exactly one address list ARN or identifier.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    address_lists Sequence[str]
    List containing exactly one address list ARN or identifier.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    addressLists List<String>
    List containing exactly one address list ARN or identifier.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.

    RuleSetRuleUnlessDmarcExpression, RuleSetRuleUnlessDmarcExpressionArgs

    Operator string
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    Values List<string>
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    Operator string
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    Values []string
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator string
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values list(string)
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator String
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values List<String>
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator string
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values string[]
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator str
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values Sequence[str]
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.
    operator String
    DMARC policy matching operator. Valid values are EQUALS and NOT_EQUALS.
    values List<String>
    List of DMARC policy values. Valid values are NONE, QUARANTINE, and REJECT.

    RuleSetRuleUnlessIpExpression, RuleSetRuleUnlessIpExpressionArgs

    Operator string
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    Values List<string>
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    Evaluate RuleSetRuleUnlessIpExpressionEvaluate
    Left-hand operand of the expression.
    Operator string
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    Values []string
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    Evaluate RuleSetRuleUnlessIpExpressionEvaluate
    Left-hand operand of the expression.
    operator string
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values list(string)
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate object
    Left-hand operand of the expression.
    operator String
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values List<String>
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate RuleSetRuleUnlessIpExpressionEvaluate
    Left-hand operand of the expression.
    operator string
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values string[]
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate RuleSetRuleUnlessIpExpressionEvaluate
    Left-hand operand of the expression.
    operator str
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values Sequence[str]
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate RuleSetRuleUnlessIpExpressionEvaluate
    Left-hand operand of the expression.
    operator String
    CIDR matching operator. Valid values are CIDR_MATCHES and NOT_CIDR_MATCHES.
    values List<String>
    List of IP CIDR ranges against which the sender IP address is evaluated. Between 1 and 10 values are supported.
    evaluate Property Map
    Left-hand operand of the expression.

    RuleSetRuleUnlessIpExpressionEvaluate, RuleSetRuleUnlessIpExpressionEvaluateArgs

    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.

    RuleSetRuleUnlessNumberExpression, RuleSetRuleUnlessNumberExpressionArgs

    Operator string
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    Value double
    Numeric value to compare against.
    Evaluate RuleSetRuleUnlessNumberExpressionEvaluate
    Left-hand operand of the expression.
    Operator string
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    Value float64
    Numeric value to compare against.
    Evaluate RuleSetRuleUnlessNumberExpressionEvaluate
    Left-hand operand of the expression.
    operator string
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value number
    Numeric value to compare against.
    evaluate object
    Left-hand operand of the expression.
    operator String
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value Double
    Numeric value to compare against.
    evaluate RuleSetRuleUnlessNumberExpressionEvaluate
    Left-hand operand of the expression.
    operator string
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value number
    Numeric value to compare against.
    evaluate RuleSetRuleUnlessNumberExpressionEvaluate
    Left-hand operand of the expression.
    operator str
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value float
    Numeric value to compare against.
    evaluate RuleSetRuleUnlessNumberExpressionEvaluate
    Left-hand operand of the expression.
    operator String
    Numeric comparison operator. Valid values are EQUALS, NOT_EQUALS, LESS_THAN, GREATER_THAN, LESS_THAN_OR_EQUAL, and GREATER_THAN_OR_EQUAL.
    value Number
    Numeric value to compare against.
    evaluate Property Map
    Left-hand operand of the expression.

    RuleSetRuleUnlessNumberExpressionEvaluate, RuleSetRuleUnlessNumberExpressionEvaluateArgs

    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.

    RuleSetRuleUnlessStringExpression, RuleSetRuleUnlessStringExpressionArgs

    Operator string
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    Values List<string>
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    Evaluate RuleSetRuleUnlessStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    Operator string
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    Values []string
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    Evaluate RuleSetRuleUnlessStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator string
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values list(string)
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate object
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator String
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values List<String>
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate RuleSetRuleUnlessStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator string
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values string[]
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate RuleSetRuleUnlessStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator str
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values Sequence[str]
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate RuleSetRuleUnlessStringExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.
    operator String
    String matching operator. Valid values are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, and CONTAINS.
    values List<String>
    List of strings against which the selected operand is evaluated. Between 1 and 10 values are supported, each up to 4096 characters.
    evaluate Property Map
    Left-hand operand of the expression. Exactly one of analysis, attribute, clientCertificateAttribute, or mimeHeaderAttribute must be configured.

    RuleSetRuleUnlessStringExpressionEvaluate, RuleSetRuleUnlessStringExpressionEvaluateArgs

    Analysis RuleSetRuleUnlessStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    ClientCertificateAttribute string
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    MimeHeaderAttribute string
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    Analysis RuleSetRuleUnlessStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    ClientCertificateAttribute string
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    MimeHeaderAttribute string
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis object
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    client_certificate_attribute string
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mime_header_attribute string
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis RuleSetRuleUnlessStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    clientCertificateAttribute String
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mimeHeaderAttribute String
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis RuleSetRuleUnlessStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    clientCertificateAttribute string
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mimeHeaderAttribute string
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis RuleSetRuleUnlessStringExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    client_certificate_attribute str
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mime_header_attribute str
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.
    analysis Property Map
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    clientCertificateAttribute String
    Client certificate field to evaluate. Valid values are CN, SAN_RFC822_NAME, SAN_DNS_NAME, SAN_DIRECTORY_NAME, SAN_UNIFORM_RESOURCE_IDENTIFIER, SAN_IP_ADDRESS, SAN_REGISTERED_ID, and SERIAL_NUMBER.
    mimeHeaderAttribute String
    MIME header name to evaluate. Must contain between 1 and 256 characters and begin with X- or x-.

    RuleSetRuleUnlessStringExpressionEvaluateAnalysis, RuleSetRuleUnlessStringExpressionEvaluateAnalysisArgs

    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    result_field string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    resultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer str
    ARN of the Mail Manager Add On.
    result_field str
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.

    RuleSetRuleUnlessVerdictExpression, RuleSetRuleUnlessVerdictExpressionArgs

    Operator string
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    Values List<string>
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    Evaluate RuleSetRuleUnlessVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    Operator string
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    Values []string
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    Evaluate RuleSetRuleUnlessVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator string
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values list(string)
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate object
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator String
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values List<String>
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate RuleSetRuleUnlessVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator string
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values string[]
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate RuleSetRuleUnlessVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator str
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values Sequence[str]
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate RuleSetRuleUnlessVerdictExpressionEvaluate
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.
    operator String
    Verdict matching operator. Valid values are EQUALS and NOT_EQUALS.
    values List<String>
    List of verdict values. Valid values are PASS, FAIL, GRAY, and PROCESSING_FAILED. Between 1 and 10 values are supported.
    evaluate Property Map
    Left-hand operand of the expression. Exactly one of analysis or attribute must be configured.

    RuleSetRuleUnlessVerdictExpressionEvaluate, RuleSetRuleUnlessVerdictExpressionEvaluateArgs

    Analysis RuleSetRuleUnlessVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    Analysis RuleSetRuleUnlessVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    Attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis object
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis RuleSetRuleUnlessVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis RuleSetRuleUnlessVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute string
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis RuleSetRuleUnlessVerdictExpressionEvaluateAnalysis
    Add On result to evaluate. See analysis Block.
    attribute str
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.
    analysis Property Map
    Add On result to evaluate. See analysis Block.
    attribute String
    Email authentication attribute to evaluate. Valid values are SPF and DKIM.

    RuleSetRuleUnlessVerdictExpressionEvaluateAnalysis, RuleSetRuleUnlessVerdictExpressionEvaluateAnalysisArgs

    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    Analyzer string
    ARN of the Mail Manager Add On.
    ResultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    result_field string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer string
    ARN of the Mail Manager Add On.
    resultField string
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer str
    ARN of the Mail Manager Add On.
    result_field str
    Result field returned by the Add On. Must contain between 1 and 256 characters.
    analyzer String
    ARN of the Mail Manager Add On.
    resultField String
    Result field returned by the Add On. Must contain between 1 and 256 characters.

    Import

    Identity Schema

    Required

    • id (String) Identifier of the rule set.

    Optional

    • accountId (String) AWS Account where this resource is managed.
    • region (String) Region where this resource is managed.

    Using pulumi import, import an SES Mail Manager Rule Set using its identifier. For example:

    $ pulumi import aws:mailmanager/ruleSet:RuleSet example rule-set-id
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo aws logo
    Viewing docs for AWS v7.46.0
    published on Thursday, Sep 10, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial