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 type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.

Returns:

  • (String)


3183
3184
3185
3186
3187
3188
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3183

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)


3183
3184
3185
3186
3187
3188
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 3183

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