We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::SES::ReceiptRuleSet
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 receiptRuleSetName = config.Require("receiptRuleSetName");
var receiptRuleSet = new AwsNative.Ses.ReceiptRuleSet("receiptRuleSet", new()
{
RuleSetName = receiptRuleSetName,
});
});
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, "")
receiptRuleSetName := cfg.Require("receiptRuleSetName")
_, err := ses.NewReceiptRuleSet(ctx, "receiptRuleSet", &ses.ReceiptRuleSetArgs{
RuleSetName: pulumi.String(receiptRuleSetName),
})
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 receiptRuleSetName = config.require("receiptRuleSetName");
const receiptRuleSet = new aws_native.ses.ReceiptRuleSet("receiptRuleSet", {ruleSetName: receiptRuleSetName});
import pulumi
import pulumi_aws_native as aws_native
config = pulumi.Config()
receipt_rule_set_name = config.require("receiptRuleSetName")
receipt_rule_set = aws_native.ses.ReceiptRuleSet("receiptRuleSet", rule_set_name=receipt_rule_set_name)
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 receiptRuleSetName = config.Require("receiptRuleSetName");
var receiptRuleSet = new AwsNative.Ses.ReceiptRuleSet("receiptRuleSet", new()
{
RuleSetName = receiptRuleSetName,
});
});
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, "")
receiptRuleSetName := cfg.Require("receiptRuleSetName")
_, err := ses.NewReceiptRuleSet(ctx, "receiptRuleSet", &ses.ReceiptRuleSetArgs{
RuleSetName: pulumi.String(receiptRuleSetName),
})
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 receiptRuleSetName = config.require("receiptRuleSetName");
const receiptRuleSet = new aws_native.ses.ReceiptRuleSet("receiptRuleSet", {ruleSetName: receiptRuleSetName});
import pulumi
import pulumi_aws_native as aws_native
config = pulumi.Config()
receipt_rule_set_name = config.require("receiptRuleSetName")
receipt_rule_set = aws_native.ses.ReceiptRuleSet("receiptRuleSet", rule_set_name=receipt_rule_set_name)
Example coming soon!
Create ReceiptRuleSet Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ReceiptRuleSet(name: string, args?: ReceiptRuleSetArgs, opts?: CustomResourceOptions);@overload
def ReceiptRuleSet(resource_name: str,
args: Optional[ReceiptRuleSetArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ReceiptRuleSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
rule_set_name: Optional[str] = None)func NewReceiptRuleSet(ctx *Context, name string, args *ReceiptRuleSetArgs, opts ...ResourceOption) (*ReceiptRuleSet, error)public ReceiptRuleSet(string name, ReceiptRuleSetArgs? args = null, CustomResourceOptions? opts = null)
public ReceiptRuleSet(String name, ReceiptRuleSetArgs args)
public ReceiptRuleSet(String name, ReceiptRuleSetArgs args, CustomResourceOptions options)
type: aws-native:ses:ReceiptRuleSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_ses_receipt_rule_set" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ReceiptRuleSetArgs
- 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 ReceiptRuleSetArgs
- 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 ReceiptRuleSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ReceiptRuleSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ReceiptRuleSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ReceiptRuleSet 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 ReceiptRuleSet resource accepts the following input properties:
- Rule
Set stringName - The name of the rule set.
- Rule
Set stringName - The name of the rule set.
- rule_
set_ stringname - The name of the rule set.
- rule
Set StringName - The name of the rule set.
- rule
Set stringName - The name of the rule set.
- rule_
set_ strname - The name of the rule set.
- rule
Set StringName - The name of the rule set.
Outputs
All input properties are implicitly available as output properties. Additionally, the ReceiptRuleSet resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ReceiptRuleSet Resource
Get an existing ReceiptRuleSet 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>, opts?: CustomResourceOptions): ReceiptRuleSet@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> ReceiptRuleSetfunc GetReceiptRuleSet(ctx *Context, name string, id IDInput, state *ReceiptRuleSetState, opts ...ResourceOption) (*ReceiptRuleSet, error)public static ReceiptRuleSet Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static ReceiptRuleSet get(String name, Output<String> id, CustomResourceOptions options)resources: existingReceiptRuleSet: type: aws-native:ses:ReceiptRuleSet get: id: ${id}import {
to = aws-native_ses_receipt_rule_set.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ReceiptRuleSetState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
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 Wednesday, Nov 18, 2026 by Pulumi