All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awscdk.services.route53.targets.GlobalAcceleratorDomainTarget Maven / Gradle / Ivy

There is a newer version: 1.204.0
Show newest version
package software.amazon.awscdk.services.route53.targets;

/**
 * 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");
 * 
*/ @javax.annotation.Generated(value = "jsii-pacmak/1.71.0 (build f1f58ae)", date = "2022-11-18T02:14:15.634Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @software.amazon.jsii.Jsii(module = software.amazon.awscdk.services.route53.targets.$Module.class, fqn = "@aws-cdk/aws-route53-targets.GlobalAcceleratorDomainTarget") public class GlobalAcceleratorDomainTarget extends software.amazon.jsii.JsiiObject implements software.amazon.awscdk.services.route53.IAliasRecordTarget { protected GlobalAcceleratorDomainTarget(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected GlobalAcceleratorDomainTarget(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } static { GLOBAL_ACCELERATOR_ZONE_ID = software.amazon.jsii.JsiiObject.jsiiStaticGet(software.amazon.awscdk.services.route53.targets.GlobalAcceleratorDomainTarget.class, "GLOBAL_ACCELERATOR_ZONE_ID", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * Create an Alias Target for a Global Accelerator domain name. *

* @param acceleratorDomainName This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public GlobalAcceleratorDomainTarget(final @org.jetbrains.annotations.NotNull java.lang.String acceleratorDomainName) { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(acceleratorDomainName, "acceleratorDomainName is required") }); } /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. *

* @param _record This parameter is required. * @param _zone */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.route53.AliasRecordTargetConfig bind(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.route53.IRecordSet _record, final @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.route53.IHostedZone _zone) { return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.route53.AliasRecordTargetConfig.class), new Object[] { java.util.Objects.requireNonNull(_record, "_record is required"), _zone }); } /** * Return hosted zone ID and DNS name, usable for Route53 alias targets. *

* @param _record This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) @Override public @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.route53.AliasRecordTargetConfig bind(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.route53.IRecordSet _record) { return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.route53.AliasRecordTargetConfig.class), new Object[] { java.util.Objects.requireNonNull(_record, "_record is required") }); } /** * 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 */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public final static java.lang.String GLOBAL_ACCELERATOR_ZONE_ID; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy