Class: Aws::VPCLattice::Types::TargetGroupConfig

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

Overview

Describes the configuration of a target group.

For more information, see Target groups in the Amazon VPC Lattice User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#health_checkTypes::HealthCheckConfig

The health check configuration. Not supported if the target group type is LAMBDA or ALB.



4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4782

class TargetGroupConfig < Struct.new(
  :port,
  :protocol,
  :protocol_version,
  :ip_address_type,
  :vpc_identifier,
  :health_check,
  :lambda_event_structure_version)
  SENSITIVE = []
  include Aws::Structure
end

#ip_address_typeString

The type of IP address used for the target group. Supported only if the target group type is IP. The default is IPV4.

Returns:

  • (String)


4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4782

class TargetGroupConfig < Struct.new(
  :port,
  :protocol,
  :protocol_version,
  :ip_address_type,
  :vpc_identifier,
  :health_check,
  :lambda_event_structure_version)
  SENSITIVE = []
  include Aws::Structure
end

#lambda_event_structure_versionString

The version of the event structure that your Lambda function receives. Supported only if the target group type is LAMBDA. The default is V1.

Returns:

  • (String)


4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4782

class TargetGroupConfig < Struct.new(
  :port,
  :protocol,
  :protocol_version,
  :ip_address_type,
  :vpc_identifier,
  :health_check,
  :lambda_event_structure_version)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

The port on which the targets are listening. For HTTP, the default is 80. For HTTPS, the default is 443. Not supported if the target group type is LAMBDA.

Returns:

  • (Integer)


4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4782

class TargetGroupConfig < Struct.new(
  :port,
  :protocol,
  :protocol_version,
  :ip_address_type,
  :vpc_identifier,
  :health_check,
  :lambda_event_structure_version)
  SENSITIVE = []
  include Aws::Structure
end

#protocolString

The protocol to use for routing traffic to the targets. The default is the protocol of the target group. Not supported if the target group type is LAMBDA.

Returns:

  • (String)


4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4782

class TargetGroupConfig < Struct.new(
  :port,
  :protocol,
  :protocol_version,
  :ip_address_type,
  :vpc_identifier,
  :health_check,
  :lambda_event_structure_version)
  SENSITIVE = []
  include Aws::Structure
end

#protocol_versionString

The protocol version. The default is HTTP1. Not supported if the target group type is LAMBDA.

Returns:

  • (String)


4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4782

class TargetGroupConfig < Struct.new(
  :port,
  :protocol,
  :protocol_version,
  :ip_address_type,
  :vpc_identifier,
  :health_check,
  :lambda_event_structure_version)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_identifierString

The ID of the VPC. Not supported if the target group type is LAMBDA.

Returns:

  • (String)


4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4782

class TargetGroupConfig < Struct.new(
  :port,
  :protocol,
  :protocol_version,
  :ip_address_type,
  :vpc_identifier,
  :health_check,
  :lambda_event_structure_version)
  SENSITIVE = []
  include Aws::Structure
end