Class: Aws::SecurityHub::Types::AwsEcsServiceLoadBalancersDetails

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb

Overview

Information about a load balancer that the service uses.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#container_nameString

The name of the container to associate with the load balancer.

Returns:

  • (String)


10160
10161
10162
10163
10164
10165
10166
10167
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10160

class AwsEcsServiceLoadBalancersDetails < Struct.new(
  :container_name,
  :container_port,
  :load_balancer_name,
  :target_group_arn)
  SENSITIVE = []
  include Aws::Structure
end

#container_portInteger

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.

Returns:

  • (Integer)


10160
10161
10162
10163
10164
10165
10166
10167
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10160

class AwsEcsServiceLoadBalancersDetails < Struct.new(
  :container_name,
  :container_port,
  :load_balancer_name,
  :target_group_arn)
  SENSITIVE = []
  include Aws::Structure
end

#load_balancer_nameString

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.

Returns:

  • (String)


10160
10161
10162
10163
10164
10165
10166
10167
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10160

class AwsEcsServiceLoadBalancersDetails < Struct.new(
  :container_name,
  :container_port,
  :load_balancer_name,
  :target_group_arn)
  SENSITIVE = []
  include Aws::Structure
end

#target_group_arnString

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.

Returns:

  • (String)


10160
10161
10162
10163
10164
10165
10166
10167
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 10160

class AwsEcsServiceLoadBalancersDetails < Struct.new(
  :container_name,
  :container_port,
  :load_balancer_name,
  :target_group_arn)
  SENSITIVE = []
  include Aws::Structure
end