Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

AWS Classic

v4.30.0 published on Tuesday, Nov 30, 2021 by Pulumi

ResolverDnsSecConfig

Provides a Route 53 Resolver DNSSEC config resource.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var exampleVpc = new Aws.Ec2.Vpc("exampleVpc", new Aws.Ec2.VpcArgs
        {
            CidrBlock = "10.0.0.0/16",
            EnableDnsSupport = true,
            EnableDnsHostnames = true,
        });
        var exampleResolverDnsSecConfig = new Aws.Route53.ResolverDnsSecConfig("exampleResolverDnsSecConfig", new Aws.Route53.ResolverDnsSecConfigArgs
        {
            ResourceId = exampleVpc.Id,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/ec2"
	"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/route53"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{
			CidrBlock:          pulumi.String("10.0.0.0/16"),
			EnableDnsSupport:   pulumi.Bool(true),
			EnableDnsHostnames: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = route53.NewResolverDnsSecConfig(ctx, "exampleResolverDnsSecConfig", &route53.ResolverDnsSecConfigArgs{
			ResourceId: exampleVpc.ID(),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
import pulumi
import pulumi_aws as aws

example_vpc = aws.ec2.Vpc("exampleVpc",
    cidr_block="10.0.0.0/16",
    enable_dns_support=True,
    enable_dns_hostnames=True)
example_resolver_dns_sec_config = aws.route53.ResolverDnsSecConfig("exampleResolverDnsSecConfig", resource_id=example_vpc.id)
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const exampleVpc = new aws.ec2.Vpc("exampleVpc", {
    cidrBlock: "10.0.0.0/16",
    enableDnsSupport: true,
    enableDnsHostnames: true,
});
const exampleResolverDnsSecConfig = new aws.route53.ResolverDnsSecConfig("exampleResolverDnsSecConfig", {resourceId: exampleVpc.id});

Create a ResolverDnsSecConfig Resource

new ResolverDnsSecConfig(name: string, args: ResolverDnsSecConfigArgs, opts?: CustomResourceOptions);
@overload
def ResolverDnsSecConfig(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         resource_id: Optional[str] = None)
@overload
def ResolverDnsSecConfig(resource_name: str,
                         args: ResolverDnsSecConfigArgs,
                         opts: Optional[ResourceOptions] = None)
func NewResolverDnsSecConfig(ctx *Context, name string, args ResolverDnsSecConfigArgs, opts ...ResourceOption) (*ResolverDnsSecConfig, error)
public ResolverDnsSecConfig(string name, ResolverDnsSecConfigArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ResolverDnsSecConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ResolverDnsSecConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ResolverDnsSecConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ResolverDnsSecConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ResolverDnsSecConfig Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ResolverDnsSecConfig resource accepts the following input properties:

ResourceId string
The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
ResourceId string
The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
resourceId string
The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
resource_id str
The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.

Outputs

All input properties are implicitly available as output properties. Additionally, the ResolverDnsSecConfig resource produces the following output properties:

Arn string
The ARN for a configuration for DNSSEC validation.
Id string
The provider-assigned unique ID for this managed resource.
OwnerId string
The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
ValidationStatus string
The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING, ENABLED, DISABLING and DISABLED.
Arn string
The ARN for a configuration for DNSSEC validation.
Id string
The provider-assigned unique ID for this managed resource.
OwnerId string
The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
ValidationStatus string
The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING, ENABLED, DISABLING and DISABLED.
arn string
The ARN for a configuration for DNSSEC validation.
id string
The provider-assigned unique ID for this managed resource.
ownerId string
The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
validationStatus string
The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING, ENABLED, DISABLING and DISABLED.
arn str
The ARN for a configuration for DNSSEC validation.
id str
The provider-assigned unique ID for this managed resource.
owner_id str
The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
validation_status str
The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING, ENABLED, DISABLING and DISABLED.

Look up an Existing ResolverDnsSecConfig Resource

Get an existing ResolverDnsSecConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ResolverDnsSecConfigState, opts?: CustomResourceOptions): ResolverDnsSecConfig
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        owner_id: Optional[str] = None,
        resource_id: Optional[str] = None,
        validation_status: Optional[str] = None) -> ResolverDnsSecConfig
func GetResolverDnsSecConfig(ctx *Context, name string, id IDInput, state *ResolverDnsSecConfigState, opts ...ResourceOption) (*ResolverDnsSecConfig, error)
public static ResolverDnsSecConfig Get(string name, Input<string> id, ResolverDnsSecConfigState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

Arn string
The ARN for a configuration for DNSSEC validation.
OwnerId string
The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
ResourceId string
The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
ValidationStatus string
The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING, ENABLED, DISABLING and DISABLED.
Arn string
The ARN for a configuration for DNSSEC validation.
OwnerId string
The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
ResourceId string
The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
ValidationStatus string
The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING, ENABLED, DISABLING and DISABLED.
arn string
The ARN for a configuration for DNSSEC validation.
ownerId string
The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
resourceId string
The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
validationStatus string
The validation status for a DNSSEC configuration. The status can be one of the following: ENABLING, ENABLED, DISABLING and DISABLED.
arn str
The ARN for a configuration for DNSSEC validation.
owner_id str
The owner account ID of the virtual private cloud (VPC) for a configuration for DNSSEC validation.
resource_id str
The ID of the virtual private cloud (VPC) that you’re updating the DNSSEC validation status for.
validation_status str
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.,

 $ pulumi import aws:route53/resolverDnsSecConfig:ResolverDnsSecConfig example rdsc-be1866ecc1683e95

Package Details

Repository
https://github.com/pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.