@pulumi/aws
Version:
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
98 lines (97 loc) • 3.65 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Provides a [Route53 Delegation Set](https://docs.aws.amazon.com/Route53/latest/APIReference/API-actions-by-function.html#actions-by-function-reusable-delegation-sets) resource.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as aws from "@pulumi/aws";
*
* const main = new aws.route53.DelegationSet("main", {referenceName: "DynDNS"});
* const primary = new aws.route53.Zone("primary", {
* name: "mydomain.com",
* delegationSetId: main.id,
* });
* const secondary = new aws.route53.Zone("secondary", {
* name: "coolcompany.io",
* delegationSetId: main.id,
* });
* ```
*
* ## Import
*
* Using `pulumi import`, import Route53 Delegation Sets using the delegation set `id`. For example:
*
* ```sh
* $ pulumi import aws:route53/delegationSet:DelegationSet set1 N1PA6795SAMPLE
* ```
*/
export declare class DelegationSet extends pulumi.CustomResource {
/**
* Get an existing DelegationSet resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DelegationSetState, opts?: pulumi.CustomResourceOptions): DelegationSet;
/**
* Returns true if the given object is an instance of DelegationSet. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is DelegationSet;
/**
* The Amazon Resource Name (ARN) of the Delegation Set.
*/
readonly arn: pulumi.Output<string>;
/**
* A list of authoritative name servers for the hosted zone
* (effectively a list of NS records).
*/
readonly nameServers: pulumi.Output<string[]>;
/**
* This is a reference name used in Caller Reference
* (helpful for identifying single delegation set amongst others)
*/
readonly referenceName: pulumi.Output<string | undefined>;
/**
* Create a DelegationSet resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: DelegationSetArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering DelegationSet resources.
*/
export interface DelegationSetState {
/**
* The Amazon Resource Name (ARN) of the Delegation Set.
*/
arn?: pulumi.Input<string>;
/**
* A list of authoritative name servers for the hosted zone
* (effectively a list of NS records).
*/
nameServers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* This is a reference name used in Caller Reference
* (helpful for identifying single delegation set amongst others)
*/
referenceName?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a DelegationSet resource.
*/
export interface DelegationSetArgs {
/**
* This is a reference name used in Caller Reference
* (helpful for identifying single delegation set amongst others)
*/
referenceName?: pulumi.Input<string>;
}