Class: Aws::VPCLattice::Types::CreateRuleResponse

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 rule action. Each rule must include exactly one of the following types of actions: forwardor fixed-response, and it must be the last action to be performed.

Returns:



399
400
401
402
403
404
405
406
407
408
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 399

class CreateRuleResponse < Struct.new(
  :action,
  :arn,
  :id,
  :match,
  :name,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#arnString

The Amazon Resource Name (ARN) of the rule.

Returns:

  • (String)


399
400
401
402
403
404
405
406
407
408
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 399

class CreateRuleResponse < Struct.new(
  :action,
  :arn,
  :id,
  :match,
  :name,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The ID of the rule.

Returns:

  • (String)


399
400
401
402
403
404
405
406
407
408
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 399

class CreateRuleResponse < Struct.new(
  :action,
  :arn,
  :id,
  :match,
  :name,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#matchTypes::RuleMatch

The rule match. The RuleMatch must be an HttpMatch. This means that the rule should be an exact match on HTTP constraints which are made up of the HTTP method, path, and header.

Returns:



399
400
401
402
403
404
405
406
407
408
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 399

class CreateRuleResponse < Struct.new(
  :action,
  :arn,
  :id,
  :match,
  :name,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the rule.

Returns:

  • (String)


399
400
401
402
403
404
405
406
407
408
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 399

class CreateRuleResponse < Struct.new(
  :action,
  :arn,
  :id,
  :match,
  :name,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end

#priorityInteger

The priority assigned to the rule. The lower the priority number the higher the priority.

Returns:

  • (Integer)


399
400
401
402
403
404
405
406
407
408
# File 'gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/types.rb', line 399

class CreateRuleResponse < Struct.new(
  :action,
  :arn,
  :id,
  :match,
  :name,
  :priority)
  SENSITIVE = []
  include Aws::Structure
end