Skip to content

Resource: awsSesv2DedicatedIpAssignment

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

This resource is used with "Standard" dedicated IP addresses. This includes addresses requested and relinquished manually via an AWS support case, or Bring Your Own IP addresses. Once no longer assigned, this resource returns the IP to the sesDefaultDedicatedPool, managed by AWS.

Example Usage

Basic Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.sesv2DedicatedIpAssignment.Sesv2DedicatedIpAssignment(this, "example", {
  destinationPoolName: "my-pool",
  ip: "0.0.0.0",
});

Argument Reference

The following arguments are required:

  • ip - (Required) Dedicated IP address.
  • destinationPoolName - (Required) Dedicated IP address.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • id - A comma-separated string made up of ip and destinationPoolName.

Timeouts

Configuration options:

  • create - (Default 30M)
  • delete - (Default 30M)

Import

SESv2 (Simple Email V2) Dedicated IP Assignment can be imported using the id, which is a comma-separated string made up of ip and destinationPoolName, e.g.,

$ terraform import aws_sesv2_dedicated_ip_assignment.example "0.0.0.0,my-pool"