ContactList

class ContactList : KotlinCustomResource

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());
}
}

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());
}
}

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

Properties

Link copied to clipboard
val arn: Output<String>
Link copied to clipboard
val contactListName: Output<String>

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
val description: Output<String>?

A description of what the contact list is about.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

A timestamp noting the last time the contact list was updated in ISO 8601 format.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tags: Output<Map<String, String>>?

Key-value map of resource tags for the contact list. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Link copied to clipboard
val tagsAll: Output<Map<String, String>>
Link copied to clipboard

Configuration block(s) with topic for the contact list. Detailed below.

Link copied to clipboard
val urn: Output<String>