ServiceLoadBalancerArgs

data class ServiceLoadBalancerArgs(val containerName: Output<String>, val containerPort: Output<Int>, val elbName: Output<String>? = null, val targetGroupArn: Output<String>? = null) : ConvertibleToJava<ServiceLoadBalancerArgs>

Constructors

Link copied to clipboard
constructor(containerName: Output<String>, containerPort: Output<Int>, elbName: Output<String>? = null, targetGroupArn: Output<String>? = null)

Properties

Link copied to clipboard
val containerName: Output<String>

Name of the container to associate with the load balancer (as it appears in a container definition).

Link copied to clipboard
val containerPort: Output<Int>

Port on the container to associate with the load balancer.

Link copied to clipboard
val elbName: Output<String>? = null

Name of the ELB (Classic) to associate with the service.

Link copied to clipboard
val targetGroupArn: Output<String>? = null

ARN of the Load Balancer target group to associate with the service.

Functions

Link copied to clipboard
open override fun toJava(): ServiceLoadBalancerArgs