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();
 
  • 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