UNPKG

@pulumi/aws

Version:

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

58 lines 2.02 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getDelegationSetOutput = exports.getDelegationSet = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * `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. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const dset = aws.route53.getDelegationSet({ * id: "MQWGHCBFAKEID", * }); * ``` */ function getDelegationSet(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("aws:route53/getDelegationSet:getDelegationSet", { "id": args.id, }, opts); } exports.getDelegationSet = 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 * * The following example shows how to get a delegation set from its id. * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const dset = aws.route53.getDelegationSet({ * id: "MQWGHCBFAKEID", * }); * ``` */ function getDelegationSetOutput(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("aws:route53/getDelegationSet:getDelegationSet", { "id": args.id, }, opts); } exports.getDelegationSetOutput = getDelegationSetOutput; //# sourceMappingURL=getDelegationSet.js.map