AWS Classic
ConfigurationSet
Provides an SES configuration set resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var test = new Aws.Ses.ConfigurationSet("test", new Aws.Ses.ConfigurationSetArgs
{
});
}
}
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.NewConfigurationSet(ctx, "test", nil)
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new ConfigurationSet("test");
}
}
import pulumi
import pulumi_aws as aws
test = aws.ses.ConfigurationSet("test")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.ses.ConfigurationSet("test", {});
resources:
test:
type: aws:ses:ConfigurationSet
Require TLS Connections
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var test = new Aws.Ses.ConfigurationSet("test", new Aws.Ses.ConfigurationSetArgs
{
DeliveryOptions = new Aws.Ses.Inputs.ConfigurationSetDeliveryOptionsArgs
{
TlsPolicy = "Require",
},
});
}
}
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.NewConfigurationSet(ctx, "test", &ses.ConfigurationSetArgs{
DeliveryOptions: &ses.ConfigurationSetDeliveryOptionsArgs{
TlsPolicy: pulumi.String("Require"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var test = new ConfigurationSet("test", ConfigurationSetArgs.builder()
.deliveryOptions(ConfigurationSetDeliveryOptions.builder()
.tlsPolicy("Require")
.build())
.build());
}
}
import pulumi
import pulumi_aws as aws
test = aws.ses.ConfigurationSet("test", delivery_options=aws.ses.ConfigurationSetDeliveryOptionsArgs(
tls_policy="Require",
))
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const test = new aws.ses.ConfigurationSet("test", {
deliveryOptions: {
tlsPolicy: "Require",
},
});
resources:
test:
type: aws:ses:ConfigurationSet
properties:
deliveryOptions:
tlsPolicy: Require
Create a ConfigurationSet Resource
new ConfigurationSet(name: string, args?: ConfigurationSetArgs, opts?: CustomResourceOptions);
@overload
def ConfigurationSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
delivery_options: Optional[ConfigurationSetDeliveryOptionsArgs] = None,
name: Optional[str] = None,
reputation_metrics_enabled: Optional[bool] = None,
sending_enabled: Optional[bool] = None)
@overload
def ConfigurationSet(resource_name: str,
args: Optional[ConfigurationSetArgs] = None,
opts: Optional[ResourceOptions] = None)
func NewConfigurationSet(ctx *Context, name string, args *ConfigurationSetArgs, opts ...ResourceOption) (*ConfigurationSet, error)
public ConfigurationSet(string name, ConfigurationSetArgs? args = null, CustomResourceOptions? opts = null)
public ConfigurationSet(String name, ConfigurationSetArgs args)
public ConfigurationSet(String name, ConfigurationSetArgs args, CustomResourceOptions options)
type: aws:ses:ConfigurationSet
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigurationSetArgs
- 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 ConfigurationSetArgs
- 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 ConfigurationSetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConfigurationSetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConfigurationSetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ConfigurationSet 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 ConfigurationSet resource accepts the following input properties:
- Delivery
Options Pulumi.Aws. Ses. Inputs. Configuration Set Delivery Options Args Configuration block. Detailed below.
- Name string
Name of the configuration set.
- Reputation
Metrics boolEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- Sending
Enabled bool Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- Delivery
Options ConfigurationSet Delivery Options Args Configuration block. Detailed below.
- Name string
Name of the configuration set.
- Reputation
Metrics boolEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- Sending
Enabled bool Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- delivery
Options ConfigurationSet Delivery Options Args Configuration block. Detailed below.
- name String
Name of the configuration set.
- reputation
Metrics BooleanEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- sending
Enabled Boolean Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- delivery
Options ConfigurationSet Delivery Options Args Configuration block. Detailed below.
- name string
Name of the configuration set.
- reputation
Metrics booleanEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- sending
Enabled boolean Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- delivery_
options ConfigurationSet Delivery Options Args Configuration block. Detailed below.
- name str
Name of the configuration set.
- reputation_
metrics_ boolenabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- sending_
enabled bool Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- delivery
Options Property Map Configuration block. Detailed below.
- name String
Name of the configuration set.
- reputation
Metrics BooleanEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- sending
Enabled Boolean Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
Outputs
All input properties are implicitly available as output properties. Additionally, the ConfigurationSet resource produces the following output properties:
- Arn string
SES configuration set ARN.
- Id string
The provider-assigned unique ID for this managed resource.
- Last
Fresh stringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- Arn string
SES configuration set ARN.
- Id string
The provider-assigned unique ID for this managed resource.
- Last
Fresh stringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- arn String
SES configuration set ARN.
- id String
The provider-assigned unique ID for this managed resource.
- last
Fresh StringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- arn string
SES configuration set ARN.
- id string
The provider-assigned unique ID for this managed resource.
- last
Fresh stringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- arn str
SES configuration set ARN.
- id str
The provider-assigned unique ID for this managed resource.
- last_
fresh_ strstart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- arn String
SES configuration set ARN.
- id String
The provider-assigned unique ID for this managed resource.
- last
Fresh StringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
Look up an Existing ConfigurationSet Resource
Get an existing ConfigurationSet 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?: ConfigurationSetState, opts?: CustomResourceOptions): ConfigurationSet
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
delivery_options: Optional[ConfigurationSetDeliveryOptionsArgs] = None,
last_fresh_start: Optional[str] = None,
name: Optional[str] = None,
reputation_metrics_enabled: Optional[bool] = None,
sending_enabled: Optional[bool] = None) -> ConfigurationSet
func GetConfigurationSet(ctx *Context, name string, id IDInput, state *ConfigurationSetState, opts ...ResourceOption) (*ConfigurationSet, error)
public static ConfigurationSet Get(string name, Input<string> id, ConfigurationSetState? state, CustomResourceOptions? opts = null)
public static ConfigurationSet get(String name, Output<String> id, ConfigurationSetState 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.
- Arn string
SES configuration set ARN.
- Delivery
Options Pulumi.Aws. Ses. Inputs. Configuration Set Delivery Options Args Configuration block. Detailed below.
- Last
Fresh stringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- Name string
Name of the configuration set.
- Reputation
Metrics boolEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- Sending
Enabled bool Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- Arn string
SES configuration set ARN.
- Delivery
Options ConfigurationSet Delivery Options Args Configuration block. Detailed below.
- Last
Fresh stringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- Name string
Name of the configuration set.
- Reputation
Metrics boolEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- Sending
Enabled bool Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- arn String
SES configuration set ARN.
- delivery
Options ConfigurationSet Delivery Options Args Configuration block. Detailed below.
- last
Fresh StringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- name String
Name of the configuration set.
- reputation
Metrics BooleanEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- sending
Enabled Boolean Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- arn string
SES configuration set ARN.
- delivery
Options ConfigurationSet Delivery Options Args Configuration block. Detailed below.
- last
Fresh stringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- name string
Name of the configuration set.
- reputation
Metrics booleanEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- sending
Enabled boolean Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- arn str
SES configuration set ARN.
- delivery_
options ConfigurationSet Delivery Options Args Configuration block. Detailed below.
- last_
fresh_ strstart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- name str
Name of the configuration set.
- reputation_
metrics_ boolenabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- sending_
enabled bool Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
- arn String
SES configuration set ARN.
- delivery
Options Property Map Configuration block. Detailed below.
- last
Fresh StringStart The date and time at which the reputation metrics for the configuration set were last reset. Resetting these metrics is known as a fresh start.
- name String
Name of the configuration set.
- reputation
Metrics BooleanEnabled Whether or not Amazon SES publishes reputation metrics for the configuration set, such as bounce and complaint rates, to Amazon CloudWatch. The default value is
false
.- sending
Enabled Boolean Whether email sending is enabled or disabled for the configuration set. The default value is
true
.
Supporting Types
ConfigurationSetDeliveryOptions
- Tls
Policy string Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is
Require
, messages are only delivered if a TLS connection can be established. If the value isOptional
, messages can be delivered in plain text if a TLS connection can't be established. Valid values:Require
orOptional
. Defaults toOptional
.
- Tls
Policy string Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is
Require
, messages are only delivered if a TLS connection can be established. If the value isOptional
, messages can be delivered in plain text if a TLS connection can't be established. Valid values:Require
orOptional
. Defaults toOptional
.
- tls
Policy String Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is
Require
, messages are only delivered if a TLS connection can be established. If the value isOptional
, messages can be delivered in plain text if a TLS connection can't be established. Valid values:Require
orOptional
. Defaults toOptional
.
- tls
Policy string Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is
Require
, messages are only delivered if a TLS connection can be established. If the value isOptional
, messages can be delivered in plain text if a TLS connection can't be established. Valid values:Require
orOptional
. Defaults toOptional
.
- tls_
policy str Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is
Require
, messages are only delivered if a TLS connection can be established. If the value isOptional
, messages can be delivered in plain text if a TLS connection can't be established. Valid values:Require
orOptional
. Defaults toOptional
.
- tls
Policy String Specifies whether messages that use the configuration set are required to use Transport Layer Security (TLS). If the value is
Require
, messages are only delivered if a TLS connection can be established. If the value isOptional
, messages can be delivered in plain text if a TLS connection can't be established. Valid values:Require
orOptional
. Defaults toOptional
.
Import
SES Configuration Sets can be imported using their name
, e.g.,
$ pulumi import aws:ses/configurationSet:ConfigurationSet test some-configuration-set-test
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.