Class DelegationSet
Provides a Route53 Delegation Set resource.
Example Usage
using Pulumi;
using Aws = Pulumi.Aws;
class MyStack : Stack
{
public MyStack()
{
var main = new Aws.Route53.DelegationSet("main", new Aws.Route53.DelegationSetArgs
{
ReferenceName = "DynDNS",
});
var primary = new Aws.Route53.Zone("primary", new Aws.Route53.ZoneArgs
{
DelegationSetId = main.Id,
});
var secondary = new Aws.Route53.Zone("secondary", new Aws.Route53.ZoneArgs
{
DelegationSetId = main.Id,
});
}
}
Inherited Members
Namespace: Pulumi.Aws.Route53
Assembly: Pulumi.Aws.dll
Syntax
public class DelegationSet : CustomResource
Constructors
View SourceDelegationSet(String, DelegationSetArgs, CustomResourceOptions)
Create a DelegationSet resource with the given unique name, arguments, and options.
Declaration
public DelegationSet(string name, DelegationSetArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| DelegationSetArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceNameServers
A list of authoritative name servers for the hosted zone (effectively a list of NS records).
Declaration
public Output<ImmutableArray<string>> NameServers { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
ReferenceName
This is a reference name used in Caller Reference (helpful for identifying single delegation set amongst others)
Declaration
public Output<string> ReferenceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, DelegationSetState, CustomResourceOptions)
Get an existing DelegationSet resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static DelegationSet Get(string name, Input<string> id, DelegationSetState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| DelegationSetState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| DelegationSet |