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.98.0 (build 00b106d)", date="2024-05-24T02:42:43.887Z") @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