Resource: awsLightsailDomain
Creates a domain resource for the specified domain (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.
\~> Note: Lightsail is currently only supported in a limited number of AWS Regions, please see "Regions and Availability Zones in Amazon Lightsail" for more details
Example Usage
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.lightsailDomain.LightsailDomain(this, "domain_test", {
domainName: "mydomain.com",
});
Argument Reference
The following arguments are supported:
domainName
- (Required) The name of the Lightsail domain to manage
Attributes Reference
In addition to all arguments above, the following attributes are exported:
id
- The name used for this domainarn
- The ARN of the Lightsail domain