Class HttpsRedirect
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.services.route53.patterns.HttpsRedirect
- All Implemented Interfaces:
IConstruct
,IDependable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.493Z")
@Stability(Stable)
public class HttpsRedirect
extends Construct
Allows creating a domainA -> domainB redirect using CloudFront and S3.
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();
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$Default, IConstruct.Jsii$Proxy
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
HttpsRedirect
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
HttpsRedirect
(software.amazon.jsii.JsiiObjectRef objRef) HttpsRedirect
(software.constructs.Construct scope, String id, HttpsRedirectProps props) -
Method Summary
Methods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
Methods inherited from class software.constructs.Construct
toString
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
-
HttpsRedirect
protected HttpsRedirect(software.amazon.jsii.JsiiObjectRef objRef) -
HttpsRedirect
protected HttpsRedirect(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
HttpsRedirect
@Stability(Stable) public HttpsRedirect(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull HttpsRedirectProps props) - Parameters:
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.
-