Contact List
Resource for managing an AWS SESv2 (Simple Email V2) Contact List.
Example Usage
Basic Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sesv2.ContactList;
import com.pulumi.aws.sesv2.ContactListArgs;
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 ContactList("example", ContactListArgs.builder()
.contactListName("example")
.build());
}
}
Content copied to clipboard
Extended Usage
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sesv2.ContactList;
import com.pulumi.aws.sesv2.ContactListArgs;
import com.pulumi.aws.sesv2.inputs.ContactListTopicArgs;
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 ContactList("example", ContactListArgs.builder()
.contactListName("example")
.description("description")
.topics(ContactListTopicArgs.builder()
.defaultSubscriptionStatus("OPT_IN")
.description("topic description")
.displayName("Example Topic")
.topicName("example-topic")
.build())
.build());
}
}
Content copied to clipboard
Import
SESv2 (Simple Email V2) Contact List can be imported using the example_id_arg
, e.g.,
$ pulumi import aws:sesv2/contactList:ContactList example example
Content copied to clipboard
Properties
Link copied to clipboard
The name of the contact list. The following arguments are optional:
Link copied to clipboard
A timestamp noting when the contact list was created in ISO 8601 format.
Link copied to clipboard
A description of what the contact list is about.
Link copied to clipboard
A timestamp noting the last time the contact list was updated in ISO 8601 format.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Configuration block(s) with topic for the contact list. Detailed below.