1. Packages
  2. AWS
  3. API Docs
  4. sesv2
  5. getConfigurationSet
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.sesv2.getConfigurationSet

Explore with Pulumi AI

Data source for managing an AWS SESv2 (Simple Email V2) Configuration Set.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = aws.sesv2.getConfigurationSet({
    configurationSetName: "example",
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.sesv2.get_configuration_set(configuration_set_name="example")
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sesv2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sesv2.LookupConfigurationSet(ctx, &sesv2.LookupConfigurationSetArgs{
			ConfigurationSetName: "example",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = Aws.SesV2.GetConfigurationSet.Invoke(new()
    {
        ConfigurationSetName = "example",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sesv2.Sesv2Functions;
import com.pulumi.aws.sesv2.inputs.GetConfigurationSetArgs;
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 example = Sesv2Functions.getConfigurationSet(GetConfigurationSetArgs.builder()
            .configurationSetName("example")
            .build());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: aws:sesv2:getConfigurationSet
      arguments:
        configurationSetName: example
Copy

Using getConfigurationSet

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 getConfigurationSet(args: GetConfigurationSetArgs, opts?: InvokeOptions): Promise<GetConfigurationSetResult>
function getConfigurationSetOutput(args: GetConfigurationSetOutputArgs, opts?: InvokeOptions): Output<GetConfigurationSetResult>
Copy
def get_configuration_set(configuration_set_name: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None,
                          opts: Optional[InvokeOptions] = None) -> GetConfigurationSetResult
def get_configuration_set_output(configuration_set_name: Optional[pulumi.Input[str]] = None,
                          tags: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationSetResult]
Copy
func LookupConfigurationSet(ctx *Context, args *LookupConfigurationSetArgs, opts ...InvokeOption) (*LookupConfigurationSetResult, error)
func LookupConfigurationSetOutput(ctx *Context, args *LookupConfigurationSetOutputArgs, opts ...InvokeOption) LookupConfigurationSetResultOutput
Copy

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

public static class GetConfigurationSet 
{
    public static Task<GetConfigurationSetResult> InvokeAsync(GetConfigurationSetArgs args, InvokeOptions? opts = null)
    public static Output<GetConfigurationSetResult> Invoke(GetConfigurationSetInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConfigurationSetResult> getConfigurationSet(GetConfigurationSetArgs args, InvokeOptions options)
public static Output<GetConfigurationSetResult> getConfigurationSet(GetConfigurationSetArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws:sesv2/getConfigurationSet:getConfigurationSet
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ConfigurationSetName This property is required. string
The name of the configuration set.
Tags Dictionary<string, string>
Key-value map of resource tags for the container recipe.
ConfigurationSetName This property is required. string
The name of the configuration set.
Tags map[string]string
Key-value map of resource tags for the container recipe.
configurationSetName This property is required. String
The name of the configuration set.
tags Map<String,String>
Key-value map of resource tags for the container recipe.
configurationSetName This property is required. string
The name of the configuration set.
tags {[key: string]: string}
Key-value map of resource tags for the container recipe.
configuration_set_name This property is required. str
The name of the configuration set.
tags Mapping[str, str]
Key-value map of resource tags for the container recipe.
configurationSetName This property is required. String
The name of the configuration set.
tags Map<String>
Key-value map of resource tags for the container recipe.

getConfigurationSet Result

The following output properties are available:

Arn string
ConfigurationSetName string
DeliveryOptions List<GetConfigurationSetDeliveryOption>
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
Id string
The provider-assigned unique ID for this managed resource.
ReputationOptions List<GetConfigurationSetReputationOption>
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
SendingOptions List<GetConfigurationSetSendingOption>
An object that defines whether or not Amazon SES can send email that you send using the configuration set.
SuppressionOptions List<GetConfigurationSetSuppressionOption>
An object that contains information about the suppression list preferences for your account.
Tags Dictionary<string, string>
Key-value map of resource tags for the container recipe.
TrackingOptions List<GetConfigurationSetTrackingOption>
An object that defines the open and click tracking options for emails that you send using the configuration set.
VdmOptions List<GetConfigurationSetVdmOption>
An object that contains information about the VDM preferences for your configuration set.
Arn string
ConfigurationSetName string
DeliveryOptions []GetConfigurationSetDeliveryOption
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
Id string
The provider-assigned unique ID for this managed resource.
ReputationOptions []GetConfigurationSetReputationOption
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
SendingOptions []GetConfigurationSetSendingOption
An object that defines whether or not Amazon SES can send email that you send using the configuration set.
SuppressionOptions []GetConfigurationSetSuppressionOption
An object that contains information about the suppression list preferences for your account.
Tags map[string]string
Key-value map of resource tags for the container recipe.
TrackingOptions []GetConfigurationSetTrackingOption
An object that defines the open and click tracking options for emails that you send using the configuration set.
VdmOptions []GetConfigurationSetVdmOption
An object that contains information about the VDM preferences for your configuration set.
arn String
configurationSetName String
deliveryOptions List<GetConfigurationSetDeliveryOption>
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
id String
The provider-assigned unique ID for this managed resource.
reputationOptions List<GetConfigurationSetReputationOption>
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
sendingOptions List<GetConfigurationSetSendingOption>
An object that defines whether or not Amazon SES can send email that you send using the configuration set.
suppressionOptions List<GetConfigurationSetSuppressionOption>
An object that contains information about the suppression list preferences for your account.
tags Map<String,String>
Key-value map of resource tags for the container recipe.
trackingOptions List<GetConfigurationSetTrackingOption>
An object that defines the open and click tracking options for emails that you send using the configuration set.
vdmOptions List<GetConfigurationSetVdmOption>
An object that contains information about the VDM preferences for your configuration set.
arn string
configurationSetName string
deliveryOptions GetConfigurationSetDeliveryOption[]
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
id string
The provider-assigned unique ID for this managed resource.
reputationOptions GetConfigurationSetReputationOption[]
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
sendingOptions GetConfigurationSetSendingOption[]
An object that defines whether or not Amazon SES can send email that you send using the configuration set.
suppressionOptions GetConfigurationSetSuppressionOption[]
An object that contains information about the suppression list preferences for your account.
tags {[key: string]: string}
Key-value map of resource tags for the container recipe.
trackingOptions GetConfigurationSetTrackingOption[]
An object that defines the open and click tracking options for emails that you send using the configuration set.
vdmOptions GetConfigurationSetVdmOption[]
An object that contains information about the VDM preferences for your configuration set.
arn str
configuration_set_name str
delivery_options Sequence[GetConfigurationSetDeliveryOption]
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
id str
The provider-assigned unique ID for this managed resource.
reputation_options Sequence[GetConfigurationSetReputationOption]
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
sending_options Sequence[GetConfigurationSetSendingOption]
An object that defines whether or not Amazon SES can send email that you send using the configuration set.
suppression_options Sequence[GetConfigurationSetSuppressionOption]
An object that contains information about the suppression list preferences for your account.
tags Mapping[str, str]
Key-value map of resource tags for the container recipe.
tracking_options Sequence[GetConfigurationSetTrackingOption]
An object that defines the open and click tracking options for emails that you send using the configuration set.
vdm_options Sequence[GetConfigurationSetVdmOption]
An object that contains information about the VDM preferences for your configuration set.
arn String
configurationSetName String
deliveryOptions List<Property Map>
An object that defines the dedicated IP pool that is used to send emails that you send using the configuration set.
id String
The provider-assigned unique ID for this managed resource.
reputationOptions List<Property Map>
An object that defines whether or not Amazon SES collects reputation metrics for the emails that you send that use the configuration set.
sendingOptions List<Property Map>
An object that defines whether or not Amazon SES can send email that you send using the configuration set.
suppressionOptions List<Property Map>
An object that contains information about the suppression list preferences for your account.
tags Map<String>
Key-value map of resource tags for the container recipe.
trackingOptions List<Property Map>
An object that defines the open and click tracking options for emails that you send using the configuration set.
vdmOptions List<Property Map>
An object that contains information about the VDM preferences for your configuration set.

Supporting Types

GetConfigurationSetDeliveryOption

MaxDeliverySeconds This property is required. int
The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).
SendingPoolName This property is required. string
The name of the dedicated IP pool to associate with the configuration set.
TlsPolicy This property is required. string
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
MaxDeliverySeconds This property is required. int
The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).
SendingPoolName This property is required. string
The name of the dedicated IP pool to associate with the configuration set.
TlsPolicy This property is required. string
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
maxDeliverySeconds This property is required. Integer
The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).
sendingPoolName This property is required. String
The name of the dedicated IP pool to associate with the configuration set.
tlsPolicy This property is required. String
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
maxDeliverySeconds This property is required. number
The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).
sendingPoolName This property is required. string
The name of the dedicated IP pool to associate with the configuration set.
tlsPolicy This property is required. string
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
max_delivery_seconds This property is required. int
The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).
sending_pool_name This property is required. str
The name of the dedicated IP pool to associate with the configuration set.
tls_policy This property is required. str
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).
maxDeliverySeconds This property is required. Number
The maximum amount of time, in seconds, that Amazon SES API v2 will attempt delivery of email. If specified, the value must greater than or equal to 300 seconds (5 minutes) and less than or equal to 50400 seconds (840 minutes).
sendingPoolName This property is required. String
The name of the dedicated IP pool to associate with the configuration set.
tlsPolicy This property is required. String
Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS).

GetConfigurationSetReputationOption

LastFreshStart This property is required. string
The date and time (in Unix time) when the reputation metrics were last given a fresh start.
ReputationMetricsEnabled This property is required. bool
Specifies whether tracking of reputation metrics is enabled.
LastFreshStart This property is required. string
The date and time (in Unix time) when the reputation metrics were last given a fresh start.
ReputationMetricsEnabled This property is required. bool
Specifies whether tracking of reputation metrics is enabled.
lastFreshStart This property is required. String
The date and time (in Unix time) when the reputation metrics were last given a fresh start.
reputationMetricsEnabled This property is required. Boolean
Specifies whether tracking of reputation metrics is enabled.
lastFreshStart This property is required. string
The date and time (in Unix time) when the reputation metrics were last given a fresh start.
reputationMetricsEnabled This property is required. boolean
Specifies whether tracking of reputation metrics is enabled.
last_fresh_start This property is required. str
The date and time (in Unix time) when the reputation metrics were last given a fresh start.
reputation_metrics_enabled This property is required. bool
Specifies whether tracking of reputation metrics is enabled.
lastFreshStart This property is required. String
The date and time (in Unix time) when the reputation metrics were last given a fresh start.
reputationMetricsEnabled This property is required. Boolean
Specifies whether tracking of reputation metrics is enabled.

GetConfigurationSetSendingOption

SendingEnabled This property is required. bool
Specifies whether email sending is enabled.
SendingEnabled This property is required. bool
Specifies whether email sending is enabled.
sendingEnabled This property is required. Boolean
Specifies whether email sending is enabled.
sendingEnabled This property is required. boolean
Specifies whether email sending is enabled.
sending_enabled This property is required. bool
Specifies whether email sending is enabled.
sendingEnabled This property is required. Boolean
Specifies whether email sending is enabled.

GetConfigurationSetSuppressionOption

SuppressedReasons This property is required. List<string>
A list that contains the reasons that email addresses are automatically added to the suppression list for your account.
SuppressedReasons This property is required. []string
A list that contains the reasons that email addresses are automatically added to the suppression list for your account.
suppressedReasons This property is required. List<String>
A list that contains the reasons that email addresses are automatically added to the suppression list for your account.
suppressedReasons This property is required. string[]
A list that contains the reasons that email addresses are automatically added to the suppression list for your account.
suppressed_reasons This property is required. Sequence[str]
A list that contains the reasons that email addresses are automatically added to the suppression list for your account.
suppressedReasons This property is required. List<String>
A list that contains the reasons that email addresses are automatically added to the suppression list for your account.

GetConfigurationSetTrackingOption

CustomRedirectDomain This property is required. string
The domain to use for tracking open and click events.
HttpsPolicy This property is required. string
The https policy to use for tracking open and click events. Valid values are REQUIRE, REQUIRE_OPEN_ONLY or OPTIONAL.
CustomRedirectDomain This property is required. string
The domain to use for tracking open and click events.
HttpsPolicy This property is required. string
The https policy to use for tracking open and click events. Valid values are REQUIRE, REQUIRE_OPEN_ONLY or OPTIONAL.
customRedirectDomain This property is required. String
The domain to use for tracking open and click events.
httpsPolicy This property is required. String
The https policy to use for tracking open and click events. Valid values are REQUIRE, REQUIRE_OPEN_ONLY or OPTIONAL.
customRedirectDomain This property is required. string
The domain to use for tracking open and click events.
httpsPolicy This property is required. string
The https policy to use for tracking open and click events. Valid values are REQUIRE, REQUIRE_OPEN_ONLY or OPTIONAL.
custom_redirect_domain This property is required. str
The domain to use for tracking open and click events.
https_policy This property is required. str
The https policy to use for tracking open and click events. Valid values are REQUIRE, REQUIRE_OPEN_ONLY or OPTIONAL.
customRedirectDomain This property is required. String
The domain to use for tracking open and click events.
httpsPolicy This property is required. String
The https policy to use for tracking open and click events. Valid values are REQUIRE, REQUIRE_OPEN_ONLY or OPTIONAL.

GetConfigurationSetVdmOption

DashboardOptions This property is required. List<GetConfigurationSetVdmOptionDashboardOption>
Specifies additional settings for your VDM configuration as applicable to the Dashboard.
GuardianOptions This property is required. List<GetConfigurationSetVdmOptionGuardianOption>
Specifies additional settings for your VDM configuration as applicable to the Guardian.
DashboardOptions This property is required. []GetConfigurationSetVdmOptionDashboardOption
Specifies additional settings for your VDM configuration as applicable to the Dashboard.
GuardianOptions This property is required. []GetConfigurationSetVdmOptionGuardianOption
Specifies additional settings for your VDM configuration as applicable to the Guardian.
dashboardOptions This property is required. List<GetConfigurationSetVdmOptionDashboardOption>
Specifies additional settings for your VDM configuration as applicable to the Dashboard.
guardianOptions This property is required. List<GetConfigurationSetVdmOptionGuardianOption>
Specifies additional settings for your VDM configuration as applicable to the Guardian.
dashboardOptions This property is required. GetConfigurationSetVdmOptionDashboardOption[]
Specifies additional settings for your VDM configuration as applicable to the Dashboard.
guardianOptions This property is required. GetConfigurationSetVdmOptionGuardianOption[]
Specifies additional settings for your VDM configuration as applicable to the Guardian.
dashboard_options This property is required. Sequence[GetConfigurationSetVdmOptionDashboardOption]
Specifies additional settings for your VDM configuration as applicable to the Dashboard.
guardian_options This property is required. Sequence[GetConfigurationSetVdmOptionGuardianOption]
Specifies additional settings for your VDM configuration as applicable to the Guardian.
dashboardOptions This property is required. List<Property Map>
Specifies additional settings for your VDM configuration as applicable to the Dashboard.
guardianOptions This property is required. List<Property Map>
Specifies additional settings for your VDM configuration as applicable to the Guardian.

GetConfigurationSetVdmOptionDashboardOption

EngagementMetrics This property is required. string
Specifies the status of your VDM engagement metrics collection.
EngagementMetrics This property is required. string
Specifies the status of your VDM engagement metrics collection.
engagementMetrics This property is required. String
Specifies the status of your VDM engagement metrics collection.
engagementMetrics This property is required. string
Specifies the status of your VDM engagement metrics collection.
engagement_metrics This property is required. str
Specifies the status of your VDM engagement metrics collection.
engagementMetrics This property is required. String
Specifies the status of your VDM engagement metrics collection.

GetConfigurationSetVdmOptionGuardianOption

OptimizedSharedDelivery This property is required. string
Specifies the status of your VDM optimized shared delivery.
OptimizedSharedDelivery This property is required. string
Specifies the status of your VDM optimized shared delivery.
optimizedSharedDelivery This property is required. String
Specifies the status of your VDM optimized shared delivery.
optimizedSharedDelivery This property is required. string
Specifies the status of your VDM optimized shared delivery.
optimized_shared_delivery This property is required. str
Specifies the status of your VDM optimized shared delivery.
optimizedSharedDelivery This property is required. String
Specifies the status of your VDM optimized shared delivery.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.