Show / Hide Table of Contents

Class HttpsRecordServiceModeProps

Properties of an HTTPS ServiceMode record.

Inheritance
object
HttpsRecordServiceModeProps
Implements
IHttpsRecordServiceModeProps
ISvcbRecordServiceModeProps
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.Route53
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class HttpsRecordServiceModeProps : IHttpsRecordServiceModeProps, ISvcbRecordServiceModeProps
Syntax (vb)
Public Class HttpsRecordServiceModeProps Implements IHttpsRecordServiceModeProps, ISvcbRecordServiceModeProps
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.CloudFront;

            HostedZone myZone;
            CloudFrontWebDistribution distribution;

            // Alias to CloudFront target
            // Alias to CloudFront target
            new HttpsRecord(this, "HttpsRecord-CloudFrontAlias", new HttpsRecordProps {
                Zone = myZone,
                Target = RecordTarget.FromAlias(new CloudFrontTarget(distribution))
            });
            // ServiceMode (priority >= 1)
            // ServiceMode (priority >= 1)
            new HttpsRecord(this, "HttpsRecord-ServiceMode", new HttpsRecordProps {
                Zone = myZone,
                Values = new [] { HttpsRecordValue.Service(new HttpsRecordServiceModeProps { Alpn = new [] { Alpn.H3, Alpn.H2 } }) }
            });
            // AliasMode (priority = 0)
            // AliasMode (priority = 0)
            new HttpsRecord(this, "HttpsRecord-AliasMode", new HttpsRecordProps {
                Zone = myZone,
                Values = new [] { HttpsRecordValue.Alias("service.example.com") }
            });

Synopsis

Constructors

HttpsRecordServiceModeProps()

Properties of an HTTPS ServiceMode record.

Properties

Alpn

Indicates the set of Application-Layer Protocol Negotiation (ALPN) protocol identifiers and associated transport protocols supported by this service endpoint.

Ipv4hint

Conveys that clients may use to reach the service.

Ipv6hint

Conveys that clients may use to reach the service.

Mandatory

Indicates mandatory keys.

NoDefaultAlpn

Indicates no default ALPN protocol identifiers.

Port

The alternative port number.

Priority

The priority.

TargetName

The domain name of the alternative endpoint.

Constructors

HttpsRecordServiceModeProps()

Properties of an HTTPS ServiceMode record.

public HttpsRecordServiceModeProps()
Remarks

ExampleMetadata: infused

Examples
using Amazon.CDK.AWS.CloudFront;

            HostedZone myZone;
            CloudFrontWebDistribution distribution;

            // Alias to CloudFront target
            // Alias to CloudFront target
            new HttpsRecord(this, "HttpsRecord-CloudFrontAlias", new HttpsRecordProps {
                Zone = myZone,
                Target = RecordTarget.FromAlias(new CloudFrontTarget(distribution))
            });
            // ServiceMode (priority >= 1)
            // ServiceMode (priority >= 1)
            new HttpsRecord(this, "HttpsRecord-ServiceMode", new HttpsRecordProps {
                Zone = myZone,
                Values = new [] { HttpsRecordValue.Service(new HttpsRecordServiceModeProps { Alpn = new [] { Alpn.H3, Alpn.H2 } }) }
            });
            // AliasMode (priority = 0)
            // AliasMode (priority = 0)
            new HttpsRecord(this, "HttpsRecord-AliasMode", new HttpsRecordProps {
                Zone = myZone,
                Values = new [] { HttpsRecordValue.Alias("service.example.com") }
            });

Properties

Alpn

Indicates the set of Application-Layer Protocol Negotiation (ALPN) protocol identifiers and associated transport protocols supported by this service endpoint.

public Alpn[]? Alpn { get; set; }
Property Value

Alpn[]

Remarks

Default: - No ALPN protocol identifiers

Ipv4hint

Conveys that clients may use to reach the service.

public string[]? Ipv4hint { get; set; }
Property Value

string[]

Remarks

Default: - No hints.

Ipv6hint

Conveys that clients may use to reach the service.

public string[]? Ipv6hint { get; set; }
Property Value

string[]

Remarks

Default: - No hints.

Mandatory

Indicates mandatory keys.

public string[]? Mandatory { get; set; }
Property Value

string[]

Remarks

Default: - No mandatory keys

NoDefaultAlpn

Indicates no default ALPN protocol identifiers.

public bool? NoDefaultAlpn { get; set; }
Property Value

bool?

Remarks

The alpn parameter must be supplied together.

Default: false

Port

The alternative port number.

public double? Port { get; set; }
Property Value

double?

Remarks

Default: - Use the default port

Priority

The priority.

public double? Priority { get; set; }
Property Value

double?

Remarks

Default: 1

TargetName

The domain name of the alternative endpoint.

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

string

Remarks

Default: '.' - The record name of the record itself

Implements

IHttpsRecordServiceModeProps
ISvcbRecordServiceModeProps
Back to top Generated by DocFX