AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the CreateDomain operation. Creates a domain resource for the specified domain (example.com).

The create domain operation supports tag-based access control via request tags. For more information, see the Amazon Lightsail Developer Guide.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Lightsail.AmazonLightsailRequest
      Amazon.Lightsail.Model.CreateDomainRequest

Namespace: Amazon.Lightsail.Model
Assembly: AWSSDK.Lightsail.dll
Version: 3.x.y.z

Syntax

C#
public class CreateDomainRequest : AmazonLightsailRequest
         IAmazonWebServiceRequest

The CreateDomainRequest type exposes the following members

Constructors

NameDescription
Public Method CreateDomainRequest()

Properties

NameTypeDescription
Public Property DomainName System.String

Gets and sets the property DomainName.

The domain name to manage (example.com).

Public Property Tags System.Collections.Generic.List<Amazon.Lightsail.Model.Tag>

Gets and sets the property Tags.

The tag keys and optional values to add to the resource during create.

Use the TagResource action to tag a resource after it's created.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5