Skip to main content

dnssecs

Creates, updates, deletes or gets a dnssec resource or lists dnssecs in a region

Overview

Namednssecs
TypeResource
DescriptionResource used to control (enable/disable) DNSSEC in a specific hosted zone.
Idaws.route53.dnssecs

Fields

NameDatatypeDescription
hosted_zone_idstringThe unique string (ID) used to identify a hosted zone.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTHostedZoneId, region
delete_resourceDELETEdata__Identifier, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all dnssecs in a region.

SELECT
region,
hosted_zone_id
FROM aws.route53.dnssecs
;

Gets all properties from an individual dnssec.

SELECT
region,
hosted_zone_id
FROM aws.route53.dnssecs
WHERE data__Identifier = '<HostedZoneId>';

INSERT example

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

/*+ create */
INSERT INTO aws.route53.dnssecs (
HostedZoneId,
region
)
SELECT
'{{ HostedZoneId }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.route53.dnssecs
WHERE data__Identifier = '<HostedZoneId>'
AND region = 'us-east-1';

Permissions

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

Create

route53:GetDNSSEC,
route53:EnableHostedZoneDNSSEC,
kms:DescribeKey,
kms:GetPublicKey,
kms:Sign,
kms:CreateGrant

Read

route53:GetDNSSEC

Delete

route53:GetDNSSEC,
route53:DisableHostedZoneDNSSEC,
kms:DescribeKey,
kms:GetPublicKey,
kms:Sign,
kms:CreateGrant

List

route53:GetDNSSEC,
route53:ListHostedZones