We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi
Resource Type definition for AWS::SES::ReceiptFilter
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var filterName = config.Require("filterName");
var policy = config.Require("policy");
var cidr = config.Require("cidr");
var receiptFilter = new AwsNative.Ses.ReceiptFilter("receiptFilter", new()
{
Filter = new AwsNative.Ses.Inputs.ReceiptFilterFilterArgs
{
Name = filterName,
IpFilter = new AwsNative.Ses.Inputs.ReceiptFilterIpFilterArgs
{
Policy = policy,
Cidr = cidr,
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
filterName := cfg.Require("filterName")
policy := cfg.Require("policy")
cidr := cfg.Require("cidr")
_, err := ses.NewReceiptFilter(ctx, "receiptFilter", &ses.ReceiptFilterArgs{
Filter: &ses.ReceiptFilterFilterArgs{
Name: pulumi.String(filterName),
IpFilter: &ses.ReceiptFilterIpFilterArgs{
Policy: pulumi.String(policy),
Cidr: pulumi.String(cidr),
},
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const config = new pulumi.Config();
const filterName = config.require("filterName");
const policy = config.require("policy");
const cidr = config.require("cidr");
const receiptFilter = new aws_native.ses.ReceiptFilter("receiptFilter", {filter: {
name: filterName,
ipFilter: {
policy: policy,
cidr: cidr,
},
}});
import pulumi
import pulumi_aws_native as aws_native
config = pulumi.Config()
filter_name = config.require("filterName")
policy = config.require("policy")
cidr = config.require("cidr")
receipt_filter = aws_native.ses.ReceiptFilter("receiptFilter", filter={
"name": filter_name,
"ip_filter": {
"policy": policy,
"cidr": cidr,
},
})
Example coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var config = new Config();
var filterName = config.Require("filterName");
var policy = config.Require("policy");
var cidr = config.Require("cidr");
var receiptFilter = new AwsNative.Ses.ReceiptFilter("receiptFilter", new()
{
Filter = new AwsNative.Ses.Inputs.ReceiptFilterFilterArgs
{
Name = filterName,
IpFilter = new AwsNative.Ses.Inputs.ReceiptFilterIpFilterArgs
{
Policy = policy,
Cidr = cidr,
},
},
});
});
package main
import (
"github.com/pulumi/pulumi-aws-native/sdk/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
cfg := config.New(ctx, "")
filterName := cfg.Require("filterName")
policy := cfg.Require("policy")
cidr := cfg.Require("cidr")
_, err := ses.NewReceiptFilter(ctx, "receiptFilter", &ses.ReceiptFilterArgs{
Filter: &ses.ReceiptFilterFilterArgs{
Name: pulumi.String(filterName),
IpFilter: &ses.ReceiptFilterIpFilterArgs{
Policy: pulumi.String(policy),
Cidr: pulumi.String(cidr),
},
},
})
if err != nil {
return err
}
return nil
})
}
Example coming soon!
Example coming soon!
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const config = new pulumi.Config();
const filterName = config.require("filterName");
const policy = config.require("policy");
const cidr = config.require("cidr");
const receiptFilter = new aws_native.ses.ReceiptFilter("receiptFilter", {filter: {
name: filterName,
ipFilter: {
policy: policy,
cidr: cidr,
},
}});
import pulumi
import pulumi_aws_native as aws_native
config = pulumi.Config()
filter_name = config.require("filterName")
policy = config.require("policy")
cidr = config.require("cidr")
receipt_filter = aws_native.ses.ReceiptFilter("receiptFilter", filter={
"name": filter_name,
"ip_filter": {
"policy": policy,
"cidr": cidr,
},
})
Example coming soon!
Create ReceiptFilter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReceiptFilter(name: string, args: ReceiptFilterArgs, opts?: CustomResourceOptions);@overload
def ReceiptFilter(resource_name: str,
args: ReceiptFilterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ReceiptFilter(resource_name: str,
opts: Optional[ResourceOptions] = None,
filter: Optional[ReceiptFilterFilterArgs] = None)func NewReceiptFilter(ctx *Context, name string, args ReceiptFilterArgs, opts ...ResourceOption) (*ReceiptFilter, error)public ReceiptFilter(string name, ReceiptFilterArgs args, CustomResourceOptions? opts = null)
public ReceiptFilter(String name, ReceiptFilterArgs args)
public ReceiptFilter(String name, ReceiptFilterArgs args, CustomResourceOptions options)
type: aws-native:ses:ReceiptFilter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_ses_receipt_filter" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ReceiptFilterArgs
- 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 ReceiptFilterArgs
- 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 ReceiptFilterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReceiptFilterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReceiptFilterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ReceiptFilter 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 ReceiptFilter resource accepts the following input properties:
- Filter
Pulumi.
Aws Native. Ses. Inputs. Receipt Filter Filter - A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
- Filter
Receipt
Filter Filter Args - A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
- filter
Receipt
Filter Filter - A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
- filter
Receipt
Filter Filter - A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
- filter
Receipt
Filter Filter Args - A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
- filter Property Map
- A data structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.
Outputs
All input properties are implicitly available as output properties. Additionally, the ReceiptFilter resource produces the following output properties:
Supporting Types
ReceiptFilterFilter, ReceiptFilterFilterArgs
A structure that describes the IP address filter to create, which consists of a name, an IP address range, and whether to allow or block mail from it.- Ip
Filter Pulumi.Aws Native. Ses. Inputs. Receipt Filter Ip Filter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- Name string
- The name of the IP address filter.
- Ip
Filter ReceiptFilter Ip Filter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- Name string
- The name of the IP address filter.
- ip
Filter ReceiptFilter Ip Filter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- name String
- The name of the IP address filter.
- ip
Filter ReceiptFilter Ip Filter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- name string
- The name of the IP address filter.
- ip_
filter ReceiptFilter Ip Filter - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- name str
- The name of the IP address filter.
- ip
Filter Property Map - A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.
- name String
- The name of the IP address filter.
ReceiptFilterIpFilter, ReceiptFilterIpFilterArgs
A structure that provides the IP addresses to block or allow, and whether to block or allow incoming mail from them.Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Monday, Aug 24, 2026 by Pulumi