Class: Aws::SecurityHub::Types::AwsEcsServiceLoadBalancersDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecurityHub::Types::AwsEcsServiceLoadBalancersDetails
- Defined in:
- gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb
Overview
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
-
#container_name ⇒ String
The name of the container to associate with the load balancer.
-
#container_port ⇒ Integer
The port on the container to associate with the load balancer.
-
#load_balancer_name ⇒ String
The name of the load balancer to associate with the Amazon ECS service or task set.
-
#target_group_arn ⇒ String
The ARN of the Elastic Load Balancing target group or groups associated with a service or task set.
Instance Attribute Details
#container_name ⇒ String
The name of the container to associate with the load balancer.
8324 8325 8326 8327 8328 8329 8330 8331 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8324 class AwsEcsServiceLoadBalancersDetails < Struct.new( :container_name, :container_port, :load_balancer_name, :target_group_arn) SENSITIVE = [] include Aws::Structure end |
#container_port ⇒ Integer
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.
8324 8325 8326 8327 8328 8329 8330 8331 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8324 class AwsEcsServiceLoadBalancersDetails < Struct.new( :container_name, :container_port, :load_balancer_name, :target_group_arn) SENSITIVE = [] include Aws::Structure end |
#load_balancer_name ⇒ String
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.
8324 8325 8326 8327 8328 8329 8330 8331 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8324 class AwsEcsServiceLoadBalancersDetails < Struct.new( :container_name, :container_port, :load_balancer_name, :target_group_arn) SENSITIVE = [] include Aws::Structure end |
#target_group_arn ⇒ String
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.
8324 8325 8326 8327 8328 8329 8330 8331 |
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 8324 class AwsEcsServiceLoadBalancersDetails < Struct.new( :container_name, :container_port, :load_balancer_name, :target_group_arn) SENSITIVE = [] include Aws::Structure end |