Class ElasticBeanstalkEnvironmentEndpointTarget
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.route53.targets.ElasticBeanstalkEnvironmentEndpointTarget
- All Implemented Interfaces:
IAliasRecordTarget
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:50.498Z")
@Stability(Stable)
public class ElasticBeanstalkEnvironmentEndpointTarget
extends software.amazon.jsii.JsiiObject
implements IAliasRecordTarget
Use an Elastic Beanstalk environment URL as an alias record target. E.g. mysampleenvironment.xyz.us-east-1.elasticbeanstalk.com or mycustomcnameprefix.us-east-1.elasticbeanstalk.com.
Only supports Elastic Beanstalk environments created after 2016 that have a regional endpoint.
Example:
HostedZone zone; String ebsEnvironmentUrl; ARecord.Builder.create(this, "AliasRecord") .zone(zone) .target(RecordTarget.fromAlias(new ElasticBeanstalkEnvironmentEndpointTarget(ebsEnvironmentUrl))) .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.services.route53.IAliasRecordTarget
IAliasRecordTarget.Jsii$Default, IAliasRecordTarget.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionElasticBeanstalkEnvironmentEndpointTarget
(String environmentEndpoint) protected
ElasticBeanstalkEnvironmentEndpointTarget
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ElasticBeanstalkEnvironmentEndpointTarget
(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
-
Constructor Details
-
ElasticBeanstalkEnvironmentEndpointTarget
protected ElasticBeanstalkEnvironmentEndpointTarget(software.amazon.jsii.JsiiObjectRef objRef) -
ElasticBeanstalkEnvironmentEndpointTarget
protected ElasticBeanstalkEnvironmentEndpointTarget(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ElasticBeanstalkEnvironmentEndpointTarget
@Stability(Stable) public ElasticBeanstalkEnvironmentEndpointTarget(@NotNull String environmentEndpoint) - Parameters:
environmentEndpoint
- 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.
-