Skip to content

Resource: awsRoute53ResolverDnssecConfig

Provides a Route 53 Resolver DNSSEC config resource.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
const awsVpcExample = new aws.vpc.Vpc(this, "example", {
  cidrBlock: "10.0.0.0/16",
  enableDnsHostnames: true,
  enableDnsSupport: true,
});
const awsRoute53ResolverDnssecConfigExample =
  new aws.route53ResolverDnssecConfig.Route53ResolverDnssecConfig(
    this,
    "example_1",
    {
      resourceId: awsVpcExample.id,
    }
  );
/*This allows the Terraform resource name to match the original name. You can remove the call if you don't need them to match.*/
awsRoute53ResolverDnssecConfigExample.overrideLogicalId("example");

Argument Reference

The following argument is supported:

  • resourceId - (Required) The ID of the virtual private cloud (VPC) that you're updating the DNSSEC validation status for.

Attributes Reference

In addition to all arguments above, the following attributes are exported:

  • arn - The ARN for a configuration for DNSSEC validation.
  • id - The ID for a configuration for DNSSEC validation.
  • ownerId - The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
  • validationStatus - The validation status for a DNSSEC configuration. The status can be one of the following: enabling, enabled, disabling and disabled.

Import

Route 53 Resolver DNSSEC configs can be imported using the Route 53 Resolver DNSSEC config ID, e.g.,

$ terraform import aws_route53_resolver_dnssec_config.example rdsc-be1866ecc1683e95