aws logo
AWS Classic v5.32.0, Mar 17 23

aws.ses.ActiveReceiptRuleSet

Provides a resource to designate the active SES receipt rule set

Example Usage

using System.Collections.Generic;
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/v5/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:

RuleSetName string

The name of the rule set

RuleSetName string

The name of the rule set

ruleSetName String

The name of the rule set

ruleSetName string

The name of the rule set

rule_set_name str

The name of the rule set

ruleSetName String

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:

Arn string

The SES receipt rule set ARN.

Id string

The provider-assigned unique ID for this managed resource.

Arn string

The SES receipt rule set ARN.

Id string

The provider-assigned unique ID for this managed resource.

arn String

The SES receipt rule set ARN.

id String

The provider-assigned unique ID for this managed resource.

arn string

The SES receipt rule set ARN.

id string

The provider-assigned unique ID for this managed resource.

arn str

The SES receipt rule set ARN.

id str

The provider-assigned unique ID for this managed resource.

arn String

The SES receipt rule set ARN.

id String

The provider-assigned unique ID for this managed resource.

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.
The following state arguments are supported:
Arn string

The SES receipt rule set ARN.

RuleSetName string

The name of the rule set

Arn string

The SES receipt rule set ARN.

RuleSetName string

The name of the rule set

arn String

The SES receipt rule set ARN.

ruleSetName String

The name of the rule set

arn string

The SES receipt rule set ARN.

ruleSetName string

The name of the rule set

arn str

The SES receipt rule set ARN.

rule_set_name str

The name of the rule set

arn String

The SES receipt rule set ARN.

ruleSetName String

The name of the rule set

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes

This Pulumi package is based on the aws Terraform Provider.