ReceiptRuleSet
Provides an SES receipt rule set resource
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var main = new Aws.Ses.ReceiptRuleSet("main", new Aws.Ses.ReceiptRuleSetArgs
{
RuleSetName = "primary-rules",
});
}
}
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v2/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ses.NewReceiptRuleSet(ctx, "main", &ses.ReceiptRuleSetArgs{
RuleSetName: pulumi.String("primary-rules"),
})
if err != nil {
return err
}
return nil
})
}import pulumi
import pulumi_aws as aws
main = aws.ses.ReceiptRuleSet("main", rule_set_name="primary-rules")import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const main = new aws.ses.ReceiptRuleSet("main", {
ruleSetName: "primary-rules",
});Create a ReceiptRuleSet Resource
new ReceiptRuleSet(name: string, args: ReceiptRuleSetArgs, opts?: CustomResourceOptions);def ReceiptRuleSet(resource_name, opts=None, rule_set_name=None, __props__=None);func NewReceiptRuleSet(ctx *Context, name string, args ReceiptRuleSetArgs, opts ...ResourceOption) (*ReceiptRuleSet, error)public ReceiptRuleSet(string name, ReceiptRuleSetArgs args, CustomResourceOptions? opts = null)- 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.
- opts ResourceOptions
- A bag of options that control this 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.
ReceiptRuleSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
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_ strname 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:
Look up an 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>, state?: ReceiptRuleSetState, opts?: CustomResourceOptions): ReceiptRuleSetstatic get(resource_name, id, opts=None, rule_set_name=None, __props__=None);func GetReceiptRuleSet(ctx *Context, name string, id IDInput, state *ReceiptRuleSetState, opts ...ResourceOption) (*ReceiptRuleSet, error)public static ReceiptRuleSet Get(string name, Input<string> id, ReceiptRuleSetState? state, CustomResourceOptions? opts = null)- 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.
The following state arguments are supported:
- 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
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.