Try AWS Native preview for resources not in the classic version.
aws.ses.getActiveReceiptRuleSet
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
Retrieve 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 = Aws.Ses.GetActiveReceiptRuleSet.Invoke();
});
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.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 = 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
SES receipt rule set ARN.
- Id string
The provider-assigned unique ID for this managed resource.
- Rule
Set stringName Name of the rule set
- Arn string
SES receipt rule set ARN.
- Id string
The provider-assigned unique ID for this managed resource.
- Rule
Set stringName Name of the rule set
- arn String
SES receipt rule set ARN.
- id String
The provider-assigned unique ID for this managed resource.
- rule
Set StringName Name of the rule set
- arn string
SES receipt rule set ARN.
- id string
The provider-assigned unique ID for this managed resource.
- rule
Set stringName Name of the rule set
- arn str
SES receipt rule set ARN.
- id str
The provider-assigned unique ID for this managed resource.
- rule_
set_ strname Name of the rule set
- arn String
SES receipt rule set ARN.
- id String
The provider-assigned unique ID for this managed resource.
- rule
Set StringName 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.
Try AWS Native preview for resources not in the classic version.