@Generated(value="jsii-pacmak/1.57.0 (build f614666)", date="2022-04-22T22:36:22.154Z") @Stability(value=Stable) public enum ApplicationProtocol extends Enum<ApplicationProtocol>
Example:
ApplicationListener listener;
BaseService service;
service.registerLoadBalancerTargets(EcsTarget.builder()
.containerName("web")
.containerPort(80)
.newTargetGroupId("ECS")
.listener(ListenerConfig.applicationListener(listener, AddApplicationTargetsProps.builder()
.protocol(ApplicationProtocol.HTTPS)
.build()))
.build());
| Modifier and Type | Method and Description |
|---|---|
static ApplicationProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final ApplicationProtocol HTTP
@Stability(value=Stable) public static final ApplicationProtocol HTTPS
public static ApplicationProtocol[] values()
for (ApplicationProtocol c : ApplicationProtocol.values()) System.out.println(c);
public static ApplicationProtocol valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.