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

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

Overview

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",
}

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)


6955
6956
6957
6958
6959
6960
6961
6962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6955

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)


6955
6956
6957
6958
6959
6960
6961
6962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6955

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)


6955
6956
6957
6958
6959
6960
6961
6962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6955

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)


6955
6956
6957
6958
6959
6960
6961
6962
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 6955

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