Show / Hide Table of Contents

Class CfnDomain.DomainEntryProperty

Describes a domain recordset entry.

Inheritance
object
CfnDomain.DomainEntryProperty
Implements
CfnDomain.IDomainEntryProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.Lightsail
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDomain.DomainEntryProperty : CfnDomain.IDomainEntryProperty
Syntax (vb)
Public Class CfnDomain.DomainEntryProperty Implements CfnDomain.IDomainEntryProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-domain-domainentry.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lightsail;

             var domainEntryProperty = new DomainEntryProperty {
                 Name = "name",
                 Target = "target",
                 Type = "type",

                 // the properties below are optional
                 Id = "id",
                 IsAlias = false
             };

Synopsis

Constructors

DomainEntryProperty()

Describes a domain recordset entry.

Properties

Id

The ID of the domain recordset entry.

IsAlias

When true , 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.

Name

The name of the domain.

Target

The target IP address ( 192.0.2.0 ), or AWS name server ( ns-111.awsdns-22.com. ).

Type

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).

Constructors

DomainEntryProperty()

Describes a domain recordset entry.

public DomainEntryProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-domain-domainentry.html

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
             // The values are placeholders you should change.
             using Amazon.CDK.AWS.Lightsail;

             var domainEntryProperty = new DomainEntryProperty {
                 Name = "name",
                 Target = "target",
                 Type = "type",

                 // the properties below are optional
                 Id = "id",
                 IsAlias = false
             };

Properties

Id

The ID of the domain recordset entry.

public string? Id { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-domain-domainentry.html#cfn-lightsail-domain-domainentry-id

IsAlias

When true , 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.

public object? IsAlias { get; set; }
Property Value

object

Remarks

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: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-domain-domainentry.html#cfn-lightsail-domain-domainentry-isalias

Type union: either bool or IResolvable

Name

The name of the domain.

public string Name { get; set; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-domain-domainentry.html#cfn-lightsail-domain-domainentry-name

Target

The target IP address ( 192.0.2.0 ), or AWS name server ( ns-111.awsdns-22.com. ).

public string Target { get; set; }
Property Value

string

Remarks

For Lightsail load balancers, the value looks like ab1234c56789c6b86aba6fb203d443bc-123456789.us-east-2.elb.amazonaws.com . For Lightsail distributions, the value looks like exampled1182ne.cloudfront.net . For Lightsail container services, the value looks like container-service-1.example23scljs.us-west-2.cs.amazonlightsail.com . Be sure to also set isAlias to true when setting up an A record for a Lightsail load balancer, distribution, or container service.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-domain-domainentry.html#cfn-lightsail-domain-domainentry-target

Type

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).

public string Type { get; set; }
Property Value

string

Remarks

The following domain entry types can be used:

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lightsail-domain-domainentry.html#cfn-lightsail-domain-domainentry-type

    Implements

    CfnDomain.IDomainEntryProperty
    Back to top Generated by DocFX