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.



4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4700

class TargetGroupConfig < Struct.new(
  :health_check,
  :ip_address_type,
  :lambda_event_structure_version,
  :port,
  :protocol,
  :protocol_version,
  :vpc_identifier)
  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)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4700

class TargetGroupConfig < Struct.new(
  :health_check,
  :ip_address_type,
  :lambda_event_structure_version,
  :port,
  :protocol,
  :protocol_version,
  :vpc_identifier)
  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)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4700

class TargetGroupConfig < Struct.new(
  :health_check,
  :ip_address_type,
  :lambda_event_structure_version,
  :port,
  :protocol,
  :protocol_version,
  :vpc_identifier)
  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)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4700

class TargetGroupConfig < Struct.new(
  :health_check,
  :ip_address_type,
  :lambda_event_structure_version,
  :port,
  :protocol,
  :protocol_version,
  :vpc_identifier)
  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)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4700

class TargetGroupConfig < Struct.new(
  :health_check,
  :ip_address_type,
  :lambda_event_structure_version,
  :port,
  :protocol,
  :protocol_version,
  :vpc_identifier)
  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)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4700

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

#vpc_identifierString

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

Returns:

  • (String)


4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 4700

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