libZSservicesZSamazonka-securityhubZSamazonka-securityhub
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

Description

 
Synopsis

Documentation

data AwsEcsServiceLoadBalancersDetails Source #

Information about a load balancer that the service uses.

See: newAwsEcsServiceLoadBalancersDetails smart constructor.

Constructors

AwsEcsServiceLoadBalancersDetails' 

Fields

  • loadBalancerName :: Maybe Text

    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.

  • containerName :: Maybe Text

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

  • targetGroupArn :: Maybe Text

    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.

  • containerPort :: Maybe Int

    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.

Instances

Instances details
Eq AwsEcsServiceLoadBalancersDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

Read AwsEcsServiceLoadBalancersDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

Show AwsEcsServiceLoadBalancersDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

Generic AwsEcsServiceLoadBalancersDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

Associated Types

type Rep AwsEcsServiceLoadBalancersDetails :: Type -> Type #

NFData AwsEcsServiceLoadBalancersDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

Hashable AwsEcsServiceLoadBalancersDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

ToJSON AwsEcsServiceLoadBalancersDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

FromJSON AwsEcsServiceLoadBalancersDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

type Rep AwsEcsServiceLoadBalancersDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails

type Rep AwsEcsServiceLoadBalancersDetails = D1 ('MetaData "AwsEcsServiceLoadBalancersDetails" "Amazonka.SecurityHub.Types.AwsEcsServiceLoadBalancersDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsServiceLoadBalancersDetails'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "containerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "targetGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "containerPort") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newAwsEcsServiceLoadBalancersDetails :: AwsEcsServiceLoadBalancersDetails Source #

Create a value of AwsEcsServiceLoadBalancersDetails with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:loadBalancerName:AwsEcsServiceLoadBalancersDetails', awsEcsServiceLoadBalancersDetails_loadBalancerName - 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.

$sel:containerName:AwsEcsServiceLoadBalancersDetails', awsEcsServiceLoadBalancersDetails_containerName - The name of the container to associate with the load balancer.

$sel:targetGroupArn:AwsEcsServiceLoadBalancersDetails', awsEcsServiceLoadBalancersDetails_targetGroupArn - 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.

$sel:containerPort:AwsEcsServiceLoadBalancersDetails', awsEcsServiceLoadBalancersDetails_containerPort - 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.

awsEcsServiceLoadBalancersDetails_loadBalancerName :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Text) Source #

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.

awsEcsServiceLoadBalancersDetails_containerName :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Text) Source #

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

awsEcsServiceLoadBalancersDetails_targetGroupArn :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Text) Source #

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.

awsEcsServiceLoadBalancersDetails_containerPort :: Lens' AwsEcsServiceLoadBalancersDetails (Maybe Int) Source #

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.