interface HttpsRecordServiceModeProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Route53.HttpsRecordServiceModeProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsroute53#HttpsRecordServiceModeProps |
![]() | software.amazon.awscdk.services.route53.HttpsRecordServiceModeProps |
![]() | aws_cdk.aws_route53.HttpsRecordServiceModeProps |
![]() | aws-cdk-lib » aws_route53 » HttpsRecordServiceModeProps |
Properties of an HTTPS ServiceMode record.
Example
import * as cloudfront from 'aws-cdk-lib/aws-cloudfront';
declare const myZone: route53.HostedZone;
declare const distribution: cloudfront.CloudFrontWebDistribution;
// Alias to CloudFront target
new route53.HttpsRecord(this, 'HttpsRecord-CloudFrontAlias', {
zone: myZone,
target: route53.RecordTarget.fromAlias(new targets.CloudFrontTarget(distribution)),
});
// ServiceMode (priority >= 1)
new route53.HttpsRecord(this, 'HttpsRecord-ServiceMode', {
zone: myZone,
values: [route53.HttpsRecordValue.service({ alpn: [route53.Alpn.H3, route53.Alpn.H2] })],
});
// AliasMode (priority = 0)
new route53.HttpsRecord(this, 'HttpsRecord-AliasMode', {
zone: myZone,
values: [route53.HttpsRecordValue.alias('service.example.com')],
});
Properties
Name | Type | Description |
---|---|---|
alpn? | Alpn [] | Indicates the set of Application-Layer Protocol Negotiation (ALPN) protocol identifiers and associated transport protocols supported by this service endpoint. |
ipv4hint? | string[] | Conveys that clients may use to reach the service. |
ipv6hint? | string[] | Conveys that clients may use to reach the service. |
mandatory? | string[] | Indicates mandatory keys. |
no | boolean | Indicates no default ALPN protocol identifiers. |
port? | number | The alternative port number. |
priority? | number | The priority. |
target | string | The domain name of the alternative endpoint. |
alpn?
Type:
Alpn
[]
(optional, default: No ALPN protocol identifiers)
Indicates the set of Application-Layer Protocol Negotiation (ALPN) protocol identifiers and associated transport protocols supported by this service endpoint.
ipv4hint?
Type:
string[]
(optional, default: No hints.)
Conveys that clients may use to reach the service.
ipv6hint?
Type:
string[]
(optional, default: No hints.)
Conveys that clients may use to reach the service.
mandatory?
Type:
string[]
(optional, default: No mandatory keys)
Indicates mandatory keys.
noDefaultAlpn?
Type:
boolean
(optional, default: false)
Indicates no default ALPN protocol identifiers.
The alpn
parameter must be supplied together.
port?
Type:
number
(optional, default: Use the default port)
The alternative port number.
priority?
Type:
number
(optional, default: 1)
The priority.
targetName?
Type:
string
(optional, default: '.' - The record name of the record itself)
The domain name of the alternative endpoint.