ActiveReceiptRuleSet |
Provides a resource to designate the active SES receipt rule set
## Example Usage
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.ActiveReceiptRuleSet;
import com.pulumi.aws.ses.ActiveReceiptRuleSetArgs;
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) {
var main = new ActiveReceiptRuleSet("main", ActiveReceiptRuleSetArgs.builder()
.ruleSetName("primary-rules")
.build());
}
}
```
## Import
Using `pulumi import`, import active SES receipt rule sets using the rule set name.
|
ActiveReceiptRuleSetArgs |
|
ActiveReceiptRuleSetArgs.Builder |
|
ConfigurationSet |
Provides an SES configuration set resource.
|
ConfigurationSetArgs |
|
ConfigurationSetArgs.Builder |
|
DomainDkim |
Provides an SES domain DKIM generation resource.
|
DomainDkimArgs |
|
DomainDkimArgs.Builder |
|
DomainIdentity |
Provides an SES domain identity resource
## Example Usage
### Basic Usage
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.DomainIdentity;
import com.pulumi.aws.ses.DomainIdentityArgs;
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) {
var example = new DomainIdentity("example", DomainIdentityArgs.builder()
.domain("example.com")
.build());
}
}
```
### With Route53 Record
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.DomainIdentity;
import com.pulumi.aws.ses.DomainIdentityArgs;
import com.pulumi.aws.route53.Record;
import com.pulumi.aws.route53.RecordArgs;
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) {
var example = new DomainIdentity("example", DomainIdentityArgs.builder()
.domain("example.com")
.build());
var exampleAmazonsesVerificationRecord = new Record("exampleAmazonsesVerificationRecord", RecordArgs.builder()
.zoneId("ABCDEFGHIJ123")
.name("_amazonses.example.com")
.type("TXT")
.ttl("600")
.records(example.verificationToken())
.build());
}
}
```
## Import
Using `pulumi import`, import SES domain identities using the domain name.
|
DomainIdentityArgs |
|
DomainIdentityArgs.Builder |
|
DomainIdentityVerification |
Represents a successful verification of an SES domain identity.
|
DomainIdentityVerificationArgs |
|
DomainIdentityVerificationArgs.Builder |
|
EmailIdentity |
Provides an SES email identity resource
## Example Usage
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.EmailIdentity;
import com.pulumi.aws.ses.EmailIdentityArgs;
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) {
var example = new EmailIdentity("example", EmailIdentityArgs.builder()
.email(" [email protected]")
.build());
}
}
```
## Import
Using `pulumi import`, import SES email identities using the email address.
|
EmailIdentityArgs |
|
EmailIdentityArgs.Builder |
|
EventDestination |
Provides an SES event destination
## Example Usage
### CloudWatch Destination
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.EventDestination;
import com.pulumi.aws.ses.EventDestinationArgs;
import com.pulumi.aws.ses.inputs.EventDestinationCloudwatchDestinationArgs;
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) {
var cloudwatch = new EventDestination("cloudwatch", EventDestinationArgs.builder()
.configurationSetName(aws_ses_configuration_set.example().name())
.enabled(true)
.matchingTypes(
"bounce",
"send")
.cloudwatchDestinations(EventDestinationCloudwatchDestinationArgs.builder()
.defaultValue("default")
.dimensionName("dimension")
.valueSource("emailHeader")
.build())
.build());
}
}
```
### Kinesis Destination
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.EventDestination;
import com.pulumi.aws.ses.EventDestinationArgs;
import com.pulumi.aws.ses.inputs.EventDestinationKinesisDestinationArgs;
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) {
var kinesis = new EventDestination("kinesis", EventDestinationArgs.builder()
.configurationSetName(aws_ses_configuration_set.example().name())
.enabled(true)
.matchingTypes(
"bounce",
"send")
.kinesisDestination(EventDestinationKinesisDestinationArgs.builder()
.streamArn(aws_kinesis_firehose_delivery_stream.example().arn())
.roleArn(aws_iam_role.example().arn())
.build())
.build());
}
}
```
### SNS Destination
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.EventDestination;
import com.pulumi.aws.ses.EventDestinationArgs;
import com.pulumi.aws.ses.inputs.EventDestinationSnsDestinationArgs;
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) {
var sns = new EventDestination("sns", EventDestinationArgs.builder()
.configurationSetName(aws_ses_configuration_set.example().name())
.enabled(true)
.matchingTypes(
"bounce",
"send")
.snsDestination(EventDestinationSnsDestinationArgs.builder()
.topicArn(aws_sns_topic.example().arn())
.build())
.build());
}
}
```
## Import
Using `pulumi import`, import SES event destinations using `configuration_set_name` together with the event destination's `name`.
|
EventDestinationArgs |
|
EventDestinationArgs.Builder |
|
IdentityNotificationTopic |
Resource for managing SES Identity Notification Topics
## Example Usage
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.IdentityNotificationTopic;
import com.pulumi.aws.ses.IdentityNotificationTopicArgs;
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) {
var test = new IdentityNotificationTopic("test", IdentityNotificationTopicArgs.builder()
.topicArn(aws_sns_topic.example().arn())
.notificationType("Bounce")
.identity(aws_ses_domain_identity.example().domain())
.includeOriginalHeaders(true)
.build());
}
}
```
## Import
Using `pulumi import`, import Identity Notification Topics using the ID of the record.
|
IdentityNotificationTopicArgs |
|
IdentityNotificationTopicArgs.Builder |
|
IdentityPolicy |
Manages a SES Identity Policy.
|
IdentityPolicyArgs |
|
IdentityPolicyArgs.Builder |
|
MailFrom |
Provides an SES domain MAIL FROM resource.
|
MailFromArgs |
|
MailFromArgs.Builder |
|
ReceiptFilter |
Provides an SES receipt filter resource
## Example Usage
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.ReceiptFilter;
import com.pulumi.aws.ses.ReceiptFilterArgs;
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) {
var filter = new ReceiptFilter("filter", ReceiptFilterArgs.builder()
.cidr("10.10.10.10")
.policy("Block")
.build());
}
}
```
## Import
Using `pulumi import`, import SES Receipt Filter using their `name`.
|
ReceiptFilterArgs |
|
ReceiptFilterArgs.Builder |
|
ReceiptRule |
Provides an SES receipt rule resource
## Example Usage
```java
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.ses.ReceiptRule;
import com.pulumi.aws.ses.ReceiptRuleArgs;
import com.pulumi.aws.ses.inputs.ReceiptRuleAddHeaderActionArgs;
import com.pulumi.aws.ses.inputs.ReceiptRuleS3ActionArgs;
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) {
var store = new ReceiptRule("store", ReceiptRuleArgs.builder()
.addHeaderActions(ReceiptRuleAddHeaderActionArgs.builder()
.headerName("Custom-Header")
.headerValue("Added by SES")
.position(1)
.build())
.enabled(true)
.recipients(" [email protected]")
.ruleSetName("default-rule-set")
.s3Actions(ReceiptRuleS3ActionArgs.builder()
.bucketName("emails")
.position(2)
.build())
.scanEnabled(true)
.build());
}
}
```
## Import
Using `pulumi import`, import SES receipt rules using the ruleset name and rule name separated by `:`.
|
ReceiptRuleArgs |
|
ReceiptRuleArgs.Builder |
|
ReceiptRuleSet |
Provides an SES receipt rule set resource.
|
ReceiptRuleSetArgs |
|
ReceiptRuleSetArgs.Builder |
|
SesFunctions |
|
Template |
Provides a resource to create a SES template.
|
TemplateArgs |
|
TemplateArgs.Builder |
|