Class GlobalAcceleratorDomainTarget
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.route53.targets.GlobalAcceleratorDomainTarget
- All Implemented Interfaces:
IAliasRecordTarget
,software.amazon.jsii.JsiiSerializable
- Direct Known Subclasses:
GlobalAcceleratorTarget
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:46.870Z")
@Stability(Stable)
public class GlobalAcceleratorDomainTarget
extends software.amazon.jsii.JsiiObject
implements IAliasRecordTarget
Use a Global Accelerator domain name as an alias record target.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.route53.targets.*; GlobalAcceleratorDomainTarget globalAcceleratorDomainTarget = new GlobalAcceleratorDomainTarget("acceleratorDomainName");
-
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.services.route53.IAliasRecordTarget
IAliasRecordTarget.Jsii$Default, IAliasRecordTarget.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The hosted zone Id if using an alias record in Route53. -
Constructor Summary
ModifierConstructorDescriptionGlobalAcceleratorDomainTarget
(String acceleratorDomainName) Create an Alias Target for a Global Accelerator domain name.protected
GlobalAcceleratorDomainTarget
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
GlobalAcceleratorDomainTarget
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind
(IRecordSet _record) Return hosted zone ID and DNS name, usable for Route53 alias targets.bind
(IRecordSet _record, IHostedZone _zone) Return hosted zone ID and DNS name, usable for Route53 alias targets.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, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
GLOBAL_ACCELERATOR_ZONE_ID
The hosted zone Id if using an alias record in Route53.This value never changes. Ref: https://docs.aws.amazon.com/general/latest/gr/global_accelerator.html
-
-
Constructor Details
-
GlobalAcceleratorDomainTarget
protected GlobalAcceleratorDomainTarget(software.amazon.jsii.JsiiObjectRef objRef) -
GlobalAcceleratorDomainTarget
protected GlobalAcceleratorDomainTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
GlobalAcceleratorDomainTarget
Create an Alias Target for a Global Accelerator domain name.- Parameters:
acceleratorDomainName
- This parameter is required.
-
-
Method Details
-
bind
@Stability(Stable) @NotNull public AliasRecordTargetConfig bind(@NotNull IRecordSet _record, @Nullable IHostedZone _zone) Return hosted zone ID and DNS name, usable for Route53 alias targets.- Specified by:
bind
in interfaceIAliasRecordTarget
- Parameters:
_record
- This parameter is required._zone
-
-
bind
Return hosted zone ID and DNS name, usable for Route53 alias targets.- Specified by:
bind
in interfaceIAliasRecordTarget
- Parameters:
_record
- This parameter is required.
-