Class HttpsRecordValue
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.route53.HttpsRecordValue
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-22T11:33:14.606Z")
@Stability(Stable)
public class HttpsRecordValue
extends software.amazon.jsii.JsiiObject
Represents an HTTPS record value.
Example:
import software.amazon.awscdk.services.cloudfront.*; HostedZone myZone; CloudFrontWebDistribution distribution; // Alias to CloudFront target // Alias to CloudFront target HttpsRecord.Builder.create(this, "HttpsRecord-CloudFrontAlias") .zone(myZone) .target(RecordTarget.fromAlias(new CloudFrontTarget(distribution))) .build(); // ServiceMode (priority >= 1) // ServiceMode (priority >= 1) HttpsRecord.Builder.create(this, "HttpsRecord-ServiceMode") .zone(myZone) .values(List.of(HttpsRecordValue.service(HttpsRecordServiceModeProps.builder().alpn(List.of(Alpn.H3, Alpn.H2)).build()))) .build(); // AliasMode (priority = 0) // AliasMode (priority = 0) HttpsRecord.Builder.create(this, "HttpsRecord-AliasMode") .zone(myZone) .values(List.of(HttpsRecordValue.alias("service.example.com"))) .build();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
HttpsRecordValue
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
HttpsRecordValue
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpsRecordValue
An HTTPS AliasMode record value.static HttpsRecordValue
service()
An HTTPS ServiceMode record value.static HttpsRecordValue
An HTTPS ServiceMode record value.toString()
Returns the string representation of SVCB and HTTPS record value.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
HttpsRecordValue
protected HttpsRecordValue(software.amazon.jsii.JsiiObjectRef objRef) -
HttpsRecordValue
protected HttpsRecordValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
-
Method Details
-
alias
An HTTPS AliasMode record value.- Parameters:
targetName
- The domain name of the alternative endpoint. This parameter is required.
-
service
@Stability(Stable) @NotNull public static HttpsRecordValue service(@Nullable HttpsRecordServiceModeProps props) An HTTPS ServiceMode record value.- Parameters:
props
-
-
service
An HTTPS ServiceMode record value. -
toString
Returns the string representation of SVCB and HTTPS record value.
-