AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi
aws.ses.getActiveReceiptRuleSet
Explore with Pulumi AI
Retrieve the active SES receipt rule set
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const main = aws.ses.getActiveReceiptRuleSet({});
import pulumi
import pulumi_aws as aws
main = aws.ses.get_active_receipt_rule_set()
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, map[string]interface{}{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var main = Aws.Ses.GetActiveReceiptRuleSet.Invoke();
});
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();
}
}
variables:
main:
fn::invoke:
Function: aws:ses:getActiveReceiptRuleSet
Arguments: {}
Using getActiveReceiptRuleSet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getActiveReceiptRuleSet(opts?: InvokeOptions): Promise<GetActiveReceiptRuleSetResult>
function getActiveReceiptRuleSetOutput(opts?: InvokeOptions): Output<GetActiveReceiptRuleSetResult>
def get_active_receipt_rule_set(opts: Optional[InvokeOptions] = None) -> GetActiveReceiptRuleSetResult
def get_active_receipt_rule_set_output(opts: Optional[InvokeOptions] = None) -> Output[GetActiveReceiptRuleSetResult]
func LookupActiveReceiptRuleSet(ctx *Context, opts ...InvokeOption) (*LookupActiveReceiptRuleSetResult, error)
func LookupActiveReceiptRuleSetOutput(ctx *Context, opts ...InvokeOption) LookupActiveReceiptRuleSetResultOutput
> Note: This function is named LookupActiveReceiptRuleSet
in the Go SDK.
public static class GetActiveReceiptRuleSet
{
public static Task<GetActiveReceiptRuleSetResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetActiveReceiptRuleSetResult> Invoke(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.