Interface IApplicationListenerProps
Properties for defining a standalone ApplicationListener.
Inherited Members
Namespace: Amazon.CDK.AWS.ElasticLoadBalancingV2
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IApplicationListenerProps : IBaseApplicationListenerProps
Syntax (vb)
Public Interface IApplicationListenerProps
Inherits IBaseApplicationListenerProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ElasticLoadBalancingV2;
ApplicationLoadBalancer applicationLoadBalancer;
ApplicationTargetGroup applicationTargetGroup;
ListenerAction listenerAction;
ListenerCertificate listenerCertificate;
TrustStore trustStore;
var applicationListenerProps = new ApplicationListenerProps {
LoadBalancer = applicationLoadBalancer,
// the properties below are optional
Certificates = new [] { listenerCertificate },
DefaultAction = listenerAction,
DefaultTargetGroups = new [] { applicationTargetGroup },
MutualAuthentication = new MutualAuthentication {
IgnoreClientCertificateExpiry = false,
MutualAuthenticationMode = MutualAuthenticationMode.OFF,
TrustStore = trustStore
},
Open = false,
Port = 123,
Protocol = ApplicationProtocol.HTTP,
SslPolicy = SslPolicy.RECOMMENDED_TLS
};
Synopsis
Properties
LoadBalancer | The load balancer to attach this listener to. |
Properties
LoadBalancer
The load balancer to attach this listener to.
IApplicationLoadBalancer LoadBalancer { get; }
Property Value