Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
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
The following example shows how to get a delegation set from its id.
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const dset = aws.route53.getDelegationSet({
id: "MQWGHCBFAKEID",
});
import pulumi
import pulumi_aws as aws
dset = aws.route53.get_delegation_set(id="MQWGHCBFAKEID")
package main
import (
"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 {
_, err := route53.LookupDelegationSet(ctx, &route53.LookupDelegationSetArgs{
Id: "MQWGHCBFAKEID",
}, nil)
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 dset = Aws.Route53.GetDelegationSet.Invoke(new()
{
Id = "MQWGHCBFAKEID",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53.Route53Functions;
import com.pulumi.aws.route53.inputs.GetDelegationSetArgs;
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) {
final var dset = Route53Functions.getDelegationSet(GetDelegationSetArgs.builder()
.id("MQWGHCBFAKEID")
.build());
}
}
variables:
dset:
fn::invoke:
function: aws:route53:getDelegationSet
arguments:
id: MQWGHCBFAKEID
Using getDelegationSet
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDelegationSet(args: GetDelegationSetArgs, opts?: InvokeOptions): Promise<GetDelegationSetResult>
function getDelegationSetOutput(args: GetDelegationSetOutputArgs, opts?: InvokeOptions): Output<GetDelegationSetResult>def get_delegation_set(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDelegationSetResult
def get_delegation_set_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDelegationSetResult]func LookupDelegationSet(ctx *Context, args *LookupDelegationSetArgs, opts ...InvokeOption) (*LookupDelegationSetResult, error)
func LookupDelegationSetOutput(ctx *Context, args *LookupDelegationSetOutputArgs, opts ...InvokeOption) LookupDelegationSetResultOutput> Note: This function is named LookupDelegationSet in the Go SDK.
public static class GetDelegationSet
{
public static Task<GetDelegationSetResult> InvokeAsync(GetDelegationSetArgs args, InvokeOptions? opts = null)
public static Output<GetDelegationSetResult> Invoke(GetDelegationSetInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDelegationSetResult> getDelegationSet(GetDelegationSetArgs args, InvokeOptions options)
public static Output<GetDelegationSetResult> getDelegationSet(GetDelegationSetArgs args, InvokeOptions options)
fn::invoke:
function: aws:route53/getDelegationSet:getDelegationSet
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- Delegation set ID.
- Id string
- Delegation set ID.
- id String
- Delegation set ID.
- id string
- Delegation set ID.
- id str
- Delegation set ID.
- id String
- Delegation set ID.
getDelegationSet Result
The following output properties are available:
- Arn string
- ARN of the Delegation Set.
- Caller
Reference string - Caller Reference of the delegation set.
- Id string
- Name
Servers List<string> - List of DNS name servers for the delegation set.
- Arn string
- ARN of the Delegation Set.
- Caller
Reference string - Caller Reference of the delegation set.
- Id string
- Name
Servers []string - List of DNS name servers for the delegation set.
- arn String
- ARN of the Delegation Set.
- caller
Reference String - Caller Reference of the delegation set.
- id String
- name
Servers List<String> - List of DNS name servers for the delegation set.
- arn string
- ARN of the Delegation Set.
- caller
Reference string - Caller Reference of the delegation set.
- id string
- name
Servers string[] - List of DNS name servers for the delegation set.
- arn str
- ARN of the Delegation Set.
- caller_
reference str - Caller Reference of the delegation set.
- id str
- name_
servers Sequence[str] - List of DNS name servers for the delegation set.
- arn String
- ARN of the Delegation Set.
- caller
Reference String - Caller Reference of the delegation set.
- id String
- name
Servers List<String> - List of DNS name servers for the delegation set.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v6.83.1 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
published on Monday, Mar 9, 2026 by Pulumi
