1. Packages
  2. AWS Classic
  3. API Docs
  4. route53
  5. ResolverDnsSecConfig

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws.route53.ResolverDnsSecConfig

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi

    Provides a Route 53 Resolver DNSSEC config resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.ec2.Vpc("example", {
        cidrBlock: "10.0.0.0/16",
        enableDnsSupport: true,
        enableDnsHostnames: true,
    });
    const exampleResolverDnsSecConfig = new aws.route53.ResolverDnsSecConfig("example", {resourceId: example.id});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.ec2.Vpc("example",
        cidr_block="10.0.0.0/16",
        enable_dns_support=True,
        enable_dns_hostnames=True)
    example_resolver_dns_sec_config = aws.route53.ResolverDnsSecConfig("example", resource_id=example.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/ec2"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := ec2.NewVpc(ctx, "example", &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, "example", &route53.ResolverDnsSecConfigArgs{
    			ResourceId: example.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aws.Ec2.Vpc("example", new()
        {
            CidrBlock = "10.0.0.0/16",
            EnableDnsSupport = true,
            EnableDnsHostnames = true,
        });
    
        var exampleResolverDnsSecConfig = new Aws.Route53.ResolverDnsSecConfig("example", new()
        {
            ResourceId = example.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.ec2.Vpc;
    import com.pulumi.aws.ec2.VpcArgs;
    import com.pulumi.aws.route53.ResolverDnsSecConfig;
    import com.pulumi.aws.route53.ResolverDnsSecConfigArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Vpc("example", VpcArgs.builder()
                .cidrBlock("10.0.0.0/16")
                .enableDnsSupport(true)
                .enableDnsHostnames(true)
                .build());
    
            var exampleResolverDnsSecConfig = new ResolverDnsSecConfig("exampleResolverDnsSecConfig", ResolverDnsSecConfigArgs.builder()
                .resourceId(example.id())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:ec2:Vpc
        properties:
          cidrBlock: 10.0.0.0/16
          enableDnsSupport: true
          enableDnsHostnames: true
      exampleResolverDnsSecConfig:
        type: aws:route53:ResolverDnsSecConfig
        name: example
        properties:
          resourceId: ${example.id}
    

    Create ResolverDnsSecConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

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

    Parameters

    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.
    name String
    The unique name of the resource.
    args ResolverDnsSecConfigArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var resolverDnsSecConfigResource = new Aws.Route53.ResolverDnsSecConfig("resolverDnsSecConfigResource", new()
    {
        ResourceId = "string",
    });
    
    example, err := route53.NewResolverDnsSecConfig(ctx, "resolverDnsSecConfigResource", &route53.ResolverDnsSecConfigArgs{
    	ResourceId: pulumi.String("string"),
    })
    
    var resolverDnsSecConfigResource = new ResolverDnsSecConfig("resolverDnsSecConfigResource", ResolverDnsSecConfigArgs.builder()
        .resourceId("string")
        .build());
    
    resolver_dns_sec_config_resource = aws.route53.ResolverDnsSecConfig("resolverDnsSecConfigResource", resource_id="string")
    
    const resolverDnsSecConfigResource = new aws.route53.ResolverDnsSecConfig("resolverDnsSecConfigResource", {resourceId: "string"});
    
    type: aws:route53:ResolverDnsSecConfig
    properties:
        resourceId: string
    

    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.
    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.
    resourceId String
    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 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.
    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.

    Look up 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)
    public static ResolverDnsSecConfig get(String name, Output<String> id, ResolverDnsSecConfigState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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 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.
    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.

    Import

    Using pulumi import, import Route 53 Resolver DNSSEC configs using the Route 53 Resolver DNSSEC config ID. For example:

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

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.42.0 published on Wednesday, Jun 26, 2024 by Pulumi