@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:41.681Z") @Stability(value=Stable) public class HttpsRedirect extends software.constructs.Construct
You can specify multiple domains to be redirected.
Example:
HttpsRedirect.Builder.create(this, "Redirect")
.recordNames(List.of("foo.example.com"))
.targetDomain("bar.example.com")
.zone(HostedZone.fromHostedZoneAttributes(this, "HostedZone", HostedZoneAttributes.builder()
.hostedZoneId("ID")
.zoneName("example.com")
.build()))
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpsRedirect.Builder
A fluent builder for
HttpsRedirect. |
| Modifier | Constructor and Description |
|---|---|
|
HttpsRedirect(software.constructs.Construct scope,
String id,
HttpsRedirectProps props) |
protected |
HttpsRedirect(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
HttpsRedirect(software.amazon.jsii.JsiiObjectRef objRef) |
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected HttpsRedirect(software.amazon.jsii.JsiiObjectRef objRef)
protected HttpsRedirect(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public HttpsRedirect(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
HttpsRedirectProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.Copyright © 2022. All rights reserved.