Class: Aws::VPCLattice::Types::Target

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

Overview

Describes a target.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#idString

The ID of the target. If the target group type is INSTANCE, this is an instance ID. If the target group type is IP, this is an IP address. If the target group type is LAMBDA, this is the ARN of a Lambda function. If the target group type is ALB, this is the ARN of an Application Load Balancer.

Returns:

  • (String)


3175
3176
3177
3178
3179
3180
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3175

class Target < Struct.new(
  :id,
  :port)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.

Returns:

  • (Integer)


3175
3176
3177
3178
3179
3180
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3175

class Target < Struct.new(
  :id,
  :port)
  SENSITIVE = []
  include Aws::Structure
end