Class: Aws::VPCLattice::Types::CreateRuleRequest

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

#actionTypes::RuleAction

The action for the default rule.

Returns:



355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 355

class CreateRuleRequest < Struct.new(
  :action,
  :client_token,
  :listener_identifier,
  :match,
  :name,
  :priority,
  :service_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#client_tokenString

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)


355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 355

class CreateRuleRequest < Struct.new(
  :action,
  :client_token,
  :listener_identifier,
  :match,
  :name,
  :priority,
  :service_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#listener_identifierString

The ID or Amazon Resource Name (ARN) of the listener.

Returns:

  • (String)


355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 355

class CreateRuleRequest < Struct.new(
  :action,
  :client_token,
  :listener_identifier,
  :match,
  :name,
  :priority,
  :service_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#matchTypes::RuleMatch

The rule match.

Returns:



355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 355

class CreateRuleRequest < Struct.new(
  :action,
  :client_token,
  :listener_identifier,
  :match,
  :name,
  :priority,
  :service_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the rule. The name must be unique within the listener. 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)


355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 355

class CreateRuleRequest < Struct.new(
  :action,
  :client_token,
  :listener_identifier,
  :match,
  :name,
  :priority,
  :service_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#priorityInteger

The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.

Returns:

  • (Integer)


355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 355

class CreateRuleRequest < Struct.new(
  :action,
  :client_token,
  :listener_identifier,
  :match,
  :name,
  :priority,
  :service_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#service_identifierString

The ID or Amazon Resource Name (ARN) of the service.

Returns:

  • (String)


355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 355

class CreateRuleRequest < Struct.new(
  :action,
  :client_token,
  :listener_identifier,
  :match,
  :name,
  :priority,
  :service_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags for the rule.

Returns:

  • (Hash<String,String>)


355
356
357
358
359
360
361
362
363
364
365
366
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 355

class CreateRuleRequest < Struct.new(
  :action,
  :client_token,
  :listener_identifier,
  :match,
  :name,
  :priority,
  :service_identifier,
  :tags)
  SENSITIVE = []
  include Aws::Structure
end