Interface HttpsRecordProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
,RecordSetOptions
- All Known Implementing Classes:
HttpsRecordProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.113.0 (build fc68b25)",
date="2025-09-22T11:33:14.595Z")
@Stability(Stable)
public interface HttpsRecordProps
extends software.amazon.jsii.JsiiSerializable, RecordSetOptions
Construction properties for an HttpsRecord.
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 ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forHttpsRecordProps
static final class
An implementation forHttpsRecordProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic HttpsRecordProps.Builder
builder()
default RecordTarget
The target (mostly used as an alias target to CloudFront).default List
<HttpsRecordValue> The values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
Methods inherited from interface software.amazon.awscdk.services.route53.RecordSetOptions
getCidrRoutingConfig, getComment, getDeleteExisting, getGeoLocation, getHealthCheck, getMultiValueAnswer, getRecordName, getRegion, getSetIdentifier, getTtl, getWeight, getZone
-
Method Details
-
getTarget
The target (mostly used as an alias target to CloudFront).Default: - Specify exactly one of either `values` or `target`.
-
getValues
The values.Default: - Specify exactly one of either `values` or `target`.
-
builder
- Returns:
- a
HttpsRecordProps.Builder
ofHttpsRecordProps
-