Class: Aws::VPCLattice::Types::CreateListenerRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::VPCLattice::Types::CreateListenerRequest
- Defined in:
- gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#client_token ⇒ String
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
#default_action ⇒ Types::RuleAction
The action for the default rule.
-
#name ⇒ String
The name of the listener.
-
#port ⇒ Integer
The listener port.
-
#protocol ⇒ String
The listener protocol HTTP or HTTPS.
-
#service_identifier ⇒ String
The ID or Amazon Resource Name (ARN) of the service.
-
#tags ⇒ Hash<String,String>
The tags for the listener.
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.
250 251 252 253 254 255 256 257 258 259 260 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 250 class CreateListenerRequest < Struct.new( :client_token, :default_action, :name, :port, :protocol, :service_identifier, :tags) SENSITIVE = [] include Aws::Structure end |
#default_action ⇒ Types::RuleAction
The action for the default rule. Each listener has a default rule.
Each rule consists of a priority, one or more actions, and one or
more conditions. The default rule is the rule that's used if no
other rules match. Each rule must include exactly one of the
following types of actions: forward
or fixed-response
, and it
must be the last action to be performed.
250 251 252 253 254 255 256 257 258 259 260 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 250 class CreateListenerRequest < Struct.new( :client_token, :default_action, :name, :port, :protocol, :service_identifier, :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.
250 251 252 253 254 255 256 257 258 259 260 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 250 class CreateListenerRequest < Struct.new( :client_token, :default_action, :name, :port, :protocol, :service_identifier, :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
.
250 251 252 253 254 255 256 257 258 259 260 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 250 class CreateListenerRequest < Struct.new( :client_token, :default_action, :name, :port, :protocol, :service_identifier, :tags) SENSITIVE = [] include Aws::Structure end |
#protocol ⇒ String
The listener protocol HTTP or HTTPS.
250 251 252 253 254 255 256 257 258 259 260 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 250 class CreateListenerRequest < Struct.new( :client_token, :default_action, :name, :port, :protocol, :service_identifier, :tags) SENSITIVE = [] include Aws::Structure end |
#service_identifier ⇒ String
The ID or Amazon Resource Name (ARN) of the service.
250 251 252 253 254 255 256 257 258 259 260 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 250 class CreateListenerRequest < Struct.new( :client_token, :default_action, :name, :port, :protocol, :service_identifier, :tags) SENSITIVE = [] include Aws::Structure end |
#tags ⇒ Hash<String,String>
The tags for the listener.
250 251 252 253 254 255 256 257 258 259 260 |
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 250 class CreateListenerRequest < Struct.new( :client_token, :default_action, :name, :port, :protocol, :service_identifier, :tags) SENSITIVE = [] include Aws::Structure end |