You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ElasticLoadBalancingV2::Types::ModifyListenerInput

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ModifyListenerInput as input to an Aws::Client method, you can use a vanilla Hash:

{
  listener_arn: "ListenerArn", # required
  port: 1,
  protocol: "HTTP", # accepts HTTP, HTTPS, TCP
  ssl_policy: "SslPolicyName",
  certificates: [
    {
      certificate_arn: "CertificateArn",
      is_default: false,
    },
  ],
  default_actions: [
    {
      type: "forward", # required, accepts forward
      target_group_arn: "TargetGroupArn", # required
    },
  ],
}

Instance Attribute Summary collapse

Instance Attribute Details

#certificatesArray<Types::Certificate>

The default SSL server certificate.

Returns:

#default_actionsArray<Types::Action>

The default action. For Application Load Balancers, the protocol of the specified target group must be HTTP or HTTPS. For Network Load Balancers, the protocol of the specified target group must be TCP.

Returns:

#listener_arnString

The Amazon Resource Name (ARN) of the listener.

Returns:

  • (String)

    The Amazon Resource Name (ARN) of the listener.

#portInteger

The port for connections from clients to the load balancer.

Returns:

  • (Integer)

    The port for connections from clients to the load balancer.

#protocolString

The protocol for connections from clients to the load balancer. Application Load Balancers support HTTP and HTTPS and Network Load Balancers support TCP.

Possible values:

  • HTTP
  • HTTPS
  • TCP

Returns:

  • (String)

    The protocol for connections from clients to the load balancer.

#ssl_policyString

The security policy that defines which protocols and ciphers are supported. For more information, see Security Policies in the Application Load Balancers Guide.

Returns:

  • (String)

    The security policy that defines which protocols and ciphers are supported.