Resource: aws_sesv2_dedicated_ip_pool

Terraform resource for managing an AWS SESv2 (Simple Email V2) Dedicated IP Pool.

Example Usage

Basic Usage

resource "aws_sesv2_dedicated_ip_pool" "example" {
  pool_name = "my-pool"
}

Managed Pool

resource "aws_sesv2_dedicated_ip_pool" "example" {
  pool_name    = "my-managed-pool"
  scaling_mode = "MANAGED"
}

Argument Reference

The following arguments are required:

The following arguments are optional:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Timeouts

Configuration options:

Import

In Terraform v1.5.0 and later, use an import block to import SESv2 (Simple Email V2) Dedicated IP Pool using the pool_name. For example:

import {
  to = aws_sesv2_dedicated_ip_pool.example
  id = "my-pool"
}

Using terraform import, import SESv2 (Simple Email V2) Dedicated IP Pool using the pool_name. For example:

% terraform import aws_sesv2_dedicated_ip_pool.example my-pool