GetDelegationSet

aws.route53.DelegationSet provides details about a specific Route 53 Delegation Set.

This data source allows to find a list of name servers associated with a specific delegation set.

Example Usage

using Pulumi;
using Aws = Pulumi.Aws;

class MyStack : Stack
{
    public MyStack()
    {
        var dset = Output.Create(Aws.Route53.GetDelegationSet.InvokeAsync(new Aws.Route53.GetDelegationSetArgs
        {
            Id = "MQWGHCBFAKEID",
        }));
    }

}
package main

import (
    "github.com/pulumi/pulumi-aws/sdk/v2/go/aws/route53"
    "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)

func main() {
    pulumi.Run(func(ctx *pulumi.Context) error {
        _, err := route53.LookupDelegationSet(ctx, &route53.LookupDelegationSetArgs{
            Id: "MQWGHCBFAKEID",
        }, nil)
        if err != nil {
            return err
        }
        return nil
    })
}
import pulumi
import pulumi_aws as aws

dset = aws.route53.get_delegation_set(id="MQWGHCBFAKEID")
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const dset = pulumi.output(aws.route53.getDelegationSet({
    id: "MQWGHCBFAKEID",
}, { async: true }));

Using GetDelegationSet

function getDelegationSet(args: GetDelegationSetArgs, opts?: InvokeOptions): Promise<GetDelegationSetResult>
function  get_delegation_set(id=None, opts=None)
func LookupDelegationSet(ctx *Context, args *LookupDelegationSetArgs, opts ...InvokeOption) (*LookupDelegationSetResult, error)

Note: This function is named LookupDelegationSet in the Go SDK.

public static class GetDelegationSet {
    public static Task<GetDelegationSetResult> InvokeAsync(GetDelegationSetArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Id string

The Hosted Zone id of the desired delegation set.

Id string

The Hosted Zone id of the desired delegation set.

id string

The Hosted Zone id of the desired delegation set.

id str

The Hosted Zone id of the desired delegation set.

GetDelegationSet Result

The following output properties are available:

CallerReference string
Id string
NameServers List<string>
CallerReference string
Id string
NameServers []string
callerReference string
id string
nameServers string[]
caller_reference str
id str
name_servers List[str]

Package Details

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