class Aws::SecurityHub::Types::AwsEcsServiceLoadBalancersDetails

Information about a load balancer that the service uses.

@note When making an API call, you may pass AwsEcsServiceLoadBalancersDetails

data as a hash:

    {
      container_name: "NonEmptyString",
      container_port: 1,
      load_balancer_name: "NonEmptyString",
      target_group_arn: "NonEmptyString",
    }

@!attribute [rw] container_name

The name of the container to associate with the load balancer.
@return [String]

@!attribute [rw] container_port

The port on the container to associate with the load balancer. This
port must correspond to a `containerPort` in the task definition the
tasks in the service are using. For tasks that use the EC2 launch
type, the container instance they are launched on must allow ingress
traffic on the `hostPort` of the port mapping.
@return [Integer]

@!attribute [rw] load_balancer_name

The name of the load balancer to associate with the Amazon ECS
service or task set.

Only specified when using a Classic Load Balancer. For an
Application Load Balancer or a Network Load Balancer, the load
balancer name is omitted.
@return [String]

@!attribute [rw] target_group_arn

The ARN of the Elastic Load Balancing target group or groups
associated with a service or task set.

Only specified when using an Application Load Balancer or a Network
Load Balancer. For a Classic Load Balancer, the target group ARN is
omitted.
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AwsEcsServiceLoadBalancersDetails AWS API Documentation

Constants

SENSITIVE