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.104.0 (build e79254c)", date="2024-12-27T17:02:09.237Z") @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, Map.of(
                 "evaluateTargetHealth", true))))
         .build();
 
  • 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, @Nullable IAliasRecordTargetProps props)
      Parameters:
      environmentEndpoint - This parameter is required.
      props -
    • ElasticBeanstalkEnvironmentEndpointTarget

      @Stability(Stable) public ElasticBeanstalkEnvironmentEndpointTarget(@NotNull String environmentEndpoint)
      Parameters:
      environmentEndpoint - This parameter is required.
  • Method Details