@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-14T16:25:32.721Z") public enum ApplicationProtocol extends java.lang.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(java.lang.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.
|
public static final ApplicationProtocol HTTP
public static final ApplicationProtocol HTTPS
public static ApplicationProtocol[] values()
for (ApplicationProtocol c : ApplicationProtocol.values()) System.out.println(c);
public static ApplicationProtocol valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null