Class: Aws::VPCLattice::Types::CreateListenerRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#client_token ⇒ String

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 291

class CreateListenerRequest < Struct.new(
  :service_identifier,
  :name,
  :protocol,
  :port,
  :default_action,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#default_action ⇒ Types::RuleAction

The action for the default rule. Each listener has a default rule. The default rule is used if no other rules match.

Returns:



291
292
293
294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 291

class CreateListenerRequest < Struct.new(
  :service_identifier,
  :name,
  :protocol,
  :port,
  :default_action,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#name ⇒ String

The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 291

class CreateListenerRequest < Struct.new(
  :service_identifier,
  :name,
  :protocol,
  :port,
  :default_action,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#port ⇒ Integer

The listener port. You can specify a value from 1 to 65535. For HTTP, the default is 80. For HTTPS, the default is 443.

Returns:

  • (Integer)


291
292
293
294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 291

class CreateListenerRequest < Struct.new(
  :service_identifier,
  :name,
  :protocol,
  :port,
  :default_action,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#protocol ⇒ String

The listener protocol.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 291

class CreateListenerRequest < Struct.new(
  :service_identifier,
  :name,
  :protocol,
  :port,
  :default_action,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#service_identifier ⇒ String

The ID or ARN of the service.

Returns:

  • (String)


291
292
293
294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 291

class CreateListenerRequest < Struct.new(
  :service_identifier,
  :name,
  :protocol,
  :port,
  :default_action,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tags ⇒ Hash<String,String>

The tags for the listener.

Returns:

  • (Hash<String,String>)


291
292
293
294
295
296
297
298
299
300
301
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 291

class CreateListenerRequest < Struct.new(
  :service_identifier,
  :name,
  :protocol,
  :port,
  :default_action,
  :client_token,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end