Terraform resource for managing an AWS SESv2 (Simple Email V2) Dedicated IP Pool.
resource "aws_sesv2_dedicated_ip_pool" "example" {
pool_name = "my-pool"
}
resource "aws_sesv2_dedicated_ip_pool" "example" {
pool_name = "my-managed-pool"
scaling_mode = "MANAGED"
}
The following arguments are required:
pool_name
- (Required) Name of the dedicated IP pool.The following arguments are optional:
scaling_mode
- (Optional) IP pool scaling mode. Valid values: STANDARD
, MANAGED
. If omitted, the AWS API will default to a standard pool.tags
- (Optional) A map of tags to assign to the pool. If configured with a provider default_tags
configuration block present, tags with matching keys will overwrite those defined at the provider-level.This resource exports the following attributes in addition to the arguments above:
arn
- ARN of the Dedicated IP Pool.create
- (Default 30m
)update
- (Default 30m
)delete
- (Default 30m
)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