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

#action ⇒ Types::RuleAction

The action for the default rule.

Returns:



830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 830

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

#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)


830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 830

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

#listener_identifier ⇒ String

The ID or ARN of the listener.

Returns:

  • (String)


830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 830

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

#match ⇒ Types::RuleMatch

The rule match.

Returns:



830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 830

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

#name ⇒ String

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)


830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 830

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

#priority ⇒ Integer

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)


830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 830

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

#service_identifier ⇒ String

The ID or ARN of the service.

Returns:

  • (String)


830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 830

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

#tags ⇒ Hash<String,String>

The tags for the rule.

Returns:

  • (Hash<String,String>)


830
831
832
833
834
835
836
837
838
839
840
841
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 830

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