resolverdnssec_configs
Creates, updates, deletes or gets a resolverdnssec_config
resource or lists resolverdnssec_configs
in a region
Overview
Name | resolverdnssec_configs |
Type | Resource |
Description | Resource schema for AWS::Route53Resolver::ResolverDNSSECConfig. |
Id | aws.route53resolver.resolverdnssec_configs |
Fields
Name | Datatype | Description |
---|---|---|
id | string | Id |
owner_id | string | AccountId |
resource_id | string | ResourceId |
validation_status | string | ResolverDNSSECValidationStatus, possible values are ENABLING, ENABLED, DISABLING AND DISABLED. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | region |
delete_resource | DELETE | data__Identifier, region |
list_resources | SELECT | region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all resolverdnssec_configs
in a region.
SELECT
region,
id,
owner_id,
resource_id,
validation_status
FROM aws.route53resolver.resolverdnssec_configs
WHERE region = 'us-east-1';
Gets all properties from an individual resolverdnssec_config
.
SELECT
region,
id,
owner_id,
resource_id,
validation_status
FROM aws.route53resolver.resolverdnssec_configs
WHERE region = 'us-east-1' AND data__Identifier = '<Id>';
INSERT
example
Use the following StackQL query and manifest file to create a new resolverdnssec_config
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.route53resolver.resolverdnssec_configs (
ResourceId,
region
)
SELECT
'{{ ResourceId }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.route53resolver.resolverdnssec_configs (
ResourceId,
region
)
SELECT
'{{ ResourceId }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: resolverdnssec_config
props:
- name: ResourceId
value: '{{ ResourceId }}'
DELETE
example
/*+ delete */
DELETE FROM aws.route53resolver.resolverdnssec_configs
WHERE data__Identifier = '<Id>'
AND region = 'us-east-1';
Permissions
To operate on the resolverdnssec_configs
resource, the following permissions are required:
Create
resolverdnssec:CreateConfig,
route53resolver:UpdateResolverDnssecConfig,
route53resolver:GetResolverDnssecConfig,
ec2:DescribeVpcs
Read
resolverdnssec:GetConfig,
route53resolver:ListResolverDnssecConfigs
Delete
resolverdnssec:DeleteConfig,
route53resolver:UpdateResolverDnssecConfig,
route53resolver:ListResolverDnssecConfigs,
ec2:DescribeVpcs
List
resolverdnssec:ListConfig,
route53resolver:ListResolverDnssecConfigs