Try AWS Native preview for resources not in the classic version.
aws.ses.ActiveReceiptRuleSet
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Provides a resource to designate the active SES receipt rule set
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var main = new Aws.Ses.ActiveReceiptRuleSet("main", new()
{
RuleSetName = "primary-rules",
});
});
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ses"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ses.NewActiveReceiptRuleSet(ctx, "main", &ses.ActiveReceiptRuleSetArgs{
RuleSetName: pulumi.String("primary-rules"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.ActiveReceiptRuleSet;
import com.pulumi.aws.ses.ActiveReceiptRuleSetArgs;
import java.util.List;
import java.util.ArrayList;
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 main = new ActiveReceiptRuleSet("main", ActiveReceiptRuleSetArgs.builder()
.ruleSetName("primary-rules")
.build());
}
}
import pulumi
import pulumi_aws as aws
main = aws.ses.ActiveReceiptRuleSet("main", rule_set_name="primary-rules")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const main = new aws.ses.ActiveReceiptRuleSet("main", {ruleSetName: "primary-rules"});
resources:
main:
type: aws:ses:ActiveReceiptRuleSet
properties:
ruleSetName: primary-rules
Create ActiveReceiptRuleSet Resource
new ActiveReceiptRuleSet(name: string, args: ActiveReceiptRuleSetArgs, opts?: CustomResourceOptions);
@overload
def ActiveReceiptRuleSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
rule_set_name: Optional[str] = None)
@overload
def ActiveReceiptRuleSet(resource_name: str,
args: ActiveReceiptRuleSetArgs,
opts: Optional[ResourceOptions] = None)
func NewActiveReceiptRuleSet(ctx *Context, name string, args ActiveReceiptRuleSetArgs, opts ...ResourceOption) (*ActiveReceiptRuleSet, error)
public ActiveReceiptRuleSet(string name, ActiveReceiptRuleSetArgs args, CustomResourceOptions? opts = null)
public ActiveReceiptRuleSet(String name, ActiveReceiptRuleSetArgs args)
public ActiveReceiptRuleSet(String name, ActiveReceiptRuleSetArgs args, CustomResourceOptions options)
type: aws:ses:ActiveReceiptRuleSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ActiveReceiptRuleSetArgs
- 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 ActiveReceiptRuleSetArgs
- 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 ActiveReceiptRuleSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ActiveReceiptRuleSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ActiveReceiptRuleSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ActiveReceiptRuleSet Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ActiveReceiptRuleSet 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_ 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 ActiveReceiptRuleSet resource produces the following output properties:
Look up Existing ActiveReceiptRuleSet Resource
Get an existing ActiveReceiptRuleSet 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?: ActiveReceiptRuleSetState, opts?: CustomResourceOptions): ActiveReceiptRuleSet
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
rule_set_name: Optional[str] = None) -> ActiveReceiptRuleSet
func GetActiveReceiptRuleSet(ctx *Context, name string, id IDInput, state *ActiveReceiptRuleSetState, opts ...ResourceOption) (*ActiveReceiptRuleSet, error)
public static ActiveReceiptRuleSet Get(string name, Input<string> id, ActiveReceiptRuleSetState? state, CustomResourceOptions? opts = null)
public static ActiveReceiptRuleSet get(String name, Output<String> id, ActiveReceiptRuleSetState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Arn string
The SES receipt rule set ARN.
- Rule
Set stringName The name of the rule set
- Arn string
The SES receipt rule set ARN.
- Rule
Set stringName The name of the rule set
- arn String
The SES receipt rule set ARN.
- rule
Set StringName The name of the rule set
- arn string
The SES receipt rule set ARN.
- rule
Set stringName The name of the rule set
- arn str
The SES receipt rule set ARN.
- rule_
set_ strname The name of the rule set
- arn String
The SES receipt rule set ARN.
- rule
Set StringName The name of the rule set
Import
Using pulumi import
, import active SES receipt rule sets using the rule set name. For example:
$ pulumi import aws:ses/activeReceiptRuleSet:ActiveReceiptRuleSet my_rule_set my_rule_set_name
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.
Try AWS Native preview for resources not in the classic version.