AWS Classic

Pulumi Official
Package maintained by Pulumi
v5.11.0 published on Wednesday, Aug 17, 2022 by Pulumi

getActiveReceiptRuleSet

Retrieve the active SES receipt rule set

Example Usage

using System.Collections.Generic;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var main = Aws.Ses.GetActiveReceiptRuleSet.Invoke();

});
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.LookupActiveReceiptRuleSet(ctx, nil, nil)
		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.SesFunctions;
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) {
        final var main = SesFunctions.getActiveReceiptRuleSet();

    }
}
import pulumi
import pulumi_aws as aws

main = aws.ses.get_active_receipt_rule_set()
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const main = pulumi.output(aws.ses.getActiveReceiptRuleSet());
variables:
  main:
    Fn::Invoke:
      Function: aws:ses:getActiveReceiptRuleSet
      Arguments: {}

Using getActiveReceiptRuleSet

function getActiveReceiptRuleSet(opts?: InvokeOptions): Promise<GetActiveReceiptRuleSetResult>
def get_active_receipt_rule_set(opts: Optional[InvokeOptions] = None) -> GetActiveReceiptRuleSetResult
func LookupActiveReceiptRuleSet(ctx *Context, opts ...InvokeOption) (*LookupActiveReceiptRuleSetResult, error)

> Note: This function is named LookupActiveReceiptRuleSet in the Go SDK.

public static class GetActiveReceiptRuleSet 
{
    public static Task<GetActiveReceiptRuleSetResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetActiveReceiptRuleSetResult> getActiveReceiptRuleSet(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws:ses/getActiveReceiptRuleSet:getActiveReceiptRuleSet
  Arguments:
    # Arguments dictionary

getActiveReceiptRuleSet Result

The following output properties are available:

Arn string

The SES receipt rule set ARN.

Id string

The provider-assigned unique ID for this managed resource.

RuleSetName string

The name of the rule set

Arn string

The SES receipt rule set ARN.

Id string

The provider-assigned unique ID for this managed resource.

RuleSetName string

The name of the rule set

arn String

The SES receipt rule set ARN.

id String

The provider-assigned unique ID for this managed resource.

ruleSetName String

The name of the rule set

arn string

The SES receipt rule set ARN.

id string

The provider-assigned unique ID for this managed resource.

ruleSetName string

The name of the rule set

arn str

The SES receipt rule set ARN.

id str

The provider-assigned unique ID for this managed resource.

rule_set_name str

The name of the rule set

arn String

The SES receipt rule set ARN.

id String

The provider-assigned unique ID for this managed resource.

ruleSetName String

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 aws Terraform Provider.