Interface CfnDomainPropsMixin.DomainEntryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDomainPropsMixin.DomainEntryProperty.Jsii$Proxy
- Enclosing class:
CfnDomainPropsMixin
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.lightsail.*;
DomainEntryProperty domainEntryProperty = DomainEntryProperty.builder()
.id("id")
.isAlias(false)
.name("name")
.target("target")
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDomainPropsMixin.DomainEntryPropertystatic final classAn implementation forCfnDomainPropsMixin.DomainEntryProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetId()The ID of the domain recordset entry.default ObjectWhentrue, 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.default StringgetName()The name of the domain.default StringThe target IP address (192.0.2.0), or AWS name server (ns-111.awsdns-22.com.).default StringgetType()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
-
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.
Returns union: either
BooleanorIResolvable- See Also:
-
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 setisAliastotruewhen 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:
AAAAACNAMEMXNSSOASRVTXT
- See Also:
-
builder
-