paws.compute (version 0.1.0)

lightsail_create_domain: Creates a domain resource for the specified domain (e

Description

Creates a domain resource for the specified domain (e.g., example.com).

Usage

lightsail_create_domain(domainName, tags)

Arguments

domainName

[required] The domain name to manage (e.g., example.com).

You cannot register a new domain name using Lightsail. You must register a domain name using Amazon Route 53 or another domain name registrar. If you have already registered your domain, you can enter its name in this parameter to manage the DNS records for that domain.

tags

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

To tag a resource after it has been created, see the tag resource operation.

Request syntax

svc$create_domain(
  domainName = "string",
  tags = list(
    list(
      key = "string",
      value = "string"
    )
  )
)

Details

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