Interface ApplicationTargetProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:48.718Z") @Stability(Stable) public interface ApplicationTargetProps extends
Properties to define an application target group.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 ApplicationTargetProps applicationTargetProps = ApplicationTargetProps.builder()
         // the properties below are optional
  • Method Details

    • getContainerPort

      @Stability(Stable) @NotNull Number getContainerPort()
      The port number of the container.

      Only applicable when using application/network load balancers.

    • getHostHeader

      @Stability(Stable) @Nullable default String getHostHeader()
      Rule applies if the requested host matches the indicated host.

      May contain up to three '*' wildcards.

      Requires that priority is set.

      Default: No host condition

      See Also:
    • getListener

      @Stability(Stable) @Nullable default String getListener()
      Name of the listener the target group attached to.

      Default: - default listener (first added listener)

    • getPathPattern

      @Stability(Stable) @Nullable default String getPathPattern()
      Rule applies if the requested path matches the given path pattern.

      May contain up to three '*' wildcards.

      Requires that priority is set.

      Default: No path condition

      See Also:
    • getPriority

      @Stability(Stable) @Nullable default Number getPriority()
      Priority of this target group.

      The rule with the lowest priority will be used for every request. If priority is not given, these target groups will be added as defaults, and must not have conditions.

      Priorities must be unique.

      Default: Target groups are used as defaults

    • getProtocol

      @Stability(Stable) @Nullable default Protocol getProtocol()
      The protocol used for the port mapping.

      Only applicable when using application load balancers.

      Default: ecs.Protocol.TCP

    • builder

      @Stability(Stable) static ApplicationTargetProps.Builder builder()
      a ApplicationTargetProps.Builder of ApplicationTargetProps