Interface CfnDomain.DomainEntryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomain.DomainEntryProperty.Jsii$Proxy
- Enclosing class:
CfnDomain
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.lightsail.*; DomainEntryProperty domainEntryProperty = DomainEntryProperty.builder() .name("name") .target("target") .type("type") // the properties below are optional .id("id") .isAlias(false) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDomain.DomainEntryProperty
static final class
An implementation forCfnDomain.DomainEntryProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
getId()
The ID of the domain recordset entry.default Object
Whentrue
, specifies whether the domain entry is an alias used by the Lightsail load balancer, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another AWS resource.getName()
The name of the domain.The target IP address (192.0.2.0
), or AWS name server (ns-111.awsdns-22.com.
).getType()
The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getName
The name of the domain.- See Also:
-
getTarget
The target IP address (192.0.2.0
), or AWS name server (ns-111.awsdns-22.com.
).For Lightsail load balancers, the value looks like
ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com
. For Lightsail distributions, the value looks likeexampled1182ne.cloudfront.net
. For Lightsail container services, the value looks likecontainer-service-1.example23scljs.us-west-2.cs.amazonlightsail.com
. Be sure to also setisAlias
totrue
when setting up an A record for a Lightsail load balancer, distribution, or container service.- See Also:
-
getType
The type of domain entry, such as address for IPv4 (A), address for IPv6 (AAAA), canonical name (CNAME), mail exchanger (MX), name server (NS), start of authority (SOA), service locator (SRV), or text (TXT).The following domain entry types can be used:
A
AAAA
CNAME
MX
NS
SOA
SRV
TXT
- See Also:
-
getId
The ID of the domain recordset entry.- See Also:
-
getIsAlias
Whentrue
, specifies whether the domain entry is an alias used by the Lightsail load balancer, Lightsail container service, Lightsail content delivery network (CDN) distribution, or another AWS resource.You can include an alias (A type) record in your request, which points to the DNS name of a load balancer, container service, CDN distribution, or other AWS resource and routes traffic to that resource.
- See Also:
-
builder
-