Class ElasticBeanstalkEnvironmentEndpointTarget
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.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.Route53.Targets
Assembly: Amazon.CDK.AWS.Route53.Targets.dll
Syntax (csharp)
public class ElasticBeanstalkEnvironmentEndpointTarget : DeputyBase, IAliasRecordTarget
Syntax (vb)
Public Class ElasticBeanstalkEnvironmentEndpointTarget
Inherits DeputyBase
Implements IAliasRecordTarget
Remarks
Only supports Elastic Beanstalk environments created after 2016 that have a regional endpoint.
ExampleMetadata: infused
Examples
HostedZone zone;
string ebsEnvironmentUrl;
new ARecord(this, "AliasRecord", new ARecordProps {
Zone = zone,
Target = RecordTarget.FromAlias(new ElasticBeanstalkEnvironmentEndpointTarget(ebsEnvironmentUrl))
});
Synopsis
Constructors
ElasticBeanstalkEnvironmentEndpointTarget(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
ElasticBeanstalkEnvironmentEndpointTarget(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
ElasticBeanstalkEnvironmentEndpointTarget(String) |
Methods
Bind(IRecordSet, IHostedZone) | Return hosted zone ID and DNS name, usable for Route53 alias targets. |
Constructors
ElasticBeanstalkEnvironmentEndpointTarget(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected ElasticBeanstalkEnvironmentEndpointTarget(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
ElasticBeanstalkEnvironmentEndpointTarget(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected ElasticBeanstalkEnvironmentEndpointTarget(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
ElasticBeanstalkEnvironmentEndpointTarget(String)
public ElasticBeanstalkEnvironmentEndpointTarget(string environmentEndpoint)
Parameters
- environmentEndpoint System.String
Methods
Bind(IRecordSet, IHostedZone)
Return hosted zone ID and DNS name, usable for Route53 alias targets.
public virtual IAliasRecordTargetConfig Bind(IRecordSet record, IHostedZone zone = null)
Parameters
- record IRecordSet
- zone IHostedZone
Returns