dedicated_ip_pools
Creates, updates, deletes or gets a dedicated_ip_pool
resource or lists dedicated_ip_pools
in a region
Overview
Name | dedicated_ip_pools |
Type | Resource |
Description | Resource Type definition for AWS::SES::DedicatedIpPool |
Id | aws.ses.dedicated_ip_pools |
Fields
Name | Datatype | Description |
---|---|---|
pool_name | string | The name of the dedicated IP pool. |
scaling_mode | string | Specifies whether the dedicated IP pool is managed or not. The default value is STANDARD. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all dedicated_ip_pools
in a region.
SELECT
region,
pool_name,
scaling_mode
FROM aws.ses.dedicated_ip_pools
WHERE region = 'us-east-1';
Gets all properties from an individual dedicated_ip_pool
.
SELECT
region,
pool_name,
scaling_mode
FROM aws.ses.dedicated_ip_pools
WHERE region = 'us-east-1' AND data__Identifier = '<PoolName>';
INSERT
example
Use the following StackQL query and manifest file to create a new dedicated_ip_pool
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.ses.dedicated_ip_pools (
PoolName,
ScalingMode,
region
)
SELECT
'{{ PoolName }}',
'{{ ScalingMode }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.ses.dedicated_ip_pools (
PoolName,
ScalingMode,
region
)
SELECT
'{{ PoolName }}',
'{{ ScalingMode }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: dedicated_ip_pool
props:
- name: PoolName
value: '{{ PoolName }}'
- name: ScalingMode
value: '{{ ScalingMode }}'
DELETE
example
/*+ delete */
DELETE FROM aws.ses.dedicated_ip_pools
WHERE data__Identifier = '<PoolName>'
AND region = 'us-east-1';
Permissions
To operate on the dedicated_ip_pools
resource, the following permissions are required:
Create
ses:CreateDedicatedIpPool,
ses:GetDedicatedIpPool,
ses:GetDedicatedIps
Read
ses:GetDedicatedIpPool,
ses:GetDedicatedIps
Update
ses:PutDedicatedIpPoolScalingAttributes,
ses:GetDedicatedIpPool
Delete
ses:DeleteDedicatedIpPool
List
ses:ListDedicatedIpPools