Skip to main content

dedicated_ip_pools

Creates, updates, deletes or gets a dedicated_ip_pool resource or lists dedicated_ip_pools in a region

Overview

Namededicated_ip_pools
TypeResource
DescriptionResource Type definition for AWS::SES::DedicatedIpPool
Idawscc.ses.dedicated_ip_pools

Fields

NameDatatypeDescription
pool_namestringThe name of the dedicated IP pool.
scaling_modestringSpecifies whether the dedicated IP pool is managed or not. The default value is STANDARD.
tagsarrayThe tags (keys and values) associated with the dedicated IP pool.
regionstringAWS region.

For more information, see AWS::SES::DedicatedIpPool.

Methods

NameResourceAccessible byRequired Params
create_resourcededicated_ip_poolsINSERTregion
delete_resourcededicated_ip_poolsDELETEIdentifier, region
update_resourcededicated_ip_poolsUPDATEIdentifier, PatchDocument, region
list_resourcesdedicated_ip_pools_list_onlySELECTregion
get_resourcededicated_ip_poolsSELECTIdentifier, region

SELECT examples

Gets all properties from an individual dedicated_ip_pool.

SELECT
region,
pool_name,
scaling_mode,
tags
FROM awscc.ses.dedicated_ip_pools
WHERE
region = '{{ region }}' AND
Identifier = '{{ pool_name }}';

INSERT example

Use the following StackQL query and manifest file to create a new dedicated_ip_pool resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.ses.dedicated_ip_pools (
PoolName,
ScalingMode,
Tags,
region
)
SELECT
'{{ pool_name }}',
'{{ scaling_mode }}',
'{{ tags }}',
'{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

UPDATE example

Use the following StackQL query and manifest file to update a dedicated_ip_pool resource, using stack-deploy.

/*+ update */
UPDATE awscc.ses.dedicated_ip_pools
SET PatchDocument = string('{{ {
"ScalingMode": scaling_mode,
"Tags": tags
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ pool_name }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

DELETE example

/*+ delete */
DELETE FROM awscc.ses.dedicated_ip_pools
WHERE
Identifier = '{{ pool_name }}' AND
region = '{{ region }}'
RETURNING
ErrorCode,
EventTime,
Identifier,
Operation,
OperationStatus,
RequestToken,
ResourceModel,
RetryAfter,
StatusMessage,
TypeName
;

Additional Parameters

Mutable resources in the Cloud Control provider support additional optional parameters which can be supplied with INSERT, UPDATE, or DELETE operations. These include:

ParameterDescription
ClientToken
A unique identifier to ensure the idempotency of the resource request.This allows the provider to accurately distinguish between retries and new requests.
A client token is valid for 36 hours once used.
After that, a resource request with the same client token is treated as a new request.
If you do not specify a client token, one is generated for inclusion in the request.
RoleArn
The ARN of the IAM role used to perform this resource operation.The role specified must have the permissions required for this operation.
If you do not specify a role, a temporary session is created using your AWS user credentials.
TypeVersionId
For private resource types, the type version to use in this resource operation.If you do not specify a resource version, the default version is used.

Permissions

To operate on the dedicated_ip_pools resource, the following permissions are required:

ses:CreateDedicatedIpPool,
ses:GetDedicatedIpPool,
ses:GetDedicatedIps,
ses:TagResource,
ses:UntagResource