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.119.0 (build 1634eac)",
date="2025-11-13T16:10:13.055Z")
@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
ConstructorsModifierConstructorDescriptionprotectedHttpsRecordValue(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedHttpsRecordValue(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpsRecordValueAn HTTPS AliasMode record value.static HttpsRecordValueservice()An HTTPS ServiceMode record value.static HttpsRecordValueAn 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, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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.
-