Skip to content

Route53 Create a hosted zone using a delegationsetId .NET SDK #3170

Answered by dscpinheiro
mvestuto asked this question in Q&A
Discussion options

You must be logged in to vote

In version 3.7.302.13 of the AWSSDK.Route53 package, I see a DelegationSetId property in CreateHostedZoneRequest, is that what you were looking for?

using Amazon.Route53;
using Amazon.Route53.Model;

var route53 = new AmazonRoute53Client();
await route53.CreateHostedZoneAsync(new CreateHostedZoneRequest
{
    DelegationSetId = ""
});

From our docs:

If you want to use the same name servers for multiple public hosted zones, you can optionally associate a reusable delegation set with the hosted zone. See the DelegationSetId element. 

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@mvestuto
Comment options

Answer selected by mvestuto
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants