Class: Aws::Continuum::Types::SignalPrecondition

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

Overview

One assessed precondition with the basis behind it.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#basis ⇒ String

Where the producer's determination came from.

Returns:

  • (String)


4037
4038
4039
4040
4041
4042
4043
4044
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4037

class SignalPrecondition < Struct.new(
  :value,
  :basis,
  :reason,
  :missing_info)
  SENSITIVE = []
  include Aws::Structure
end

#missing_info ⇒ String

What the producer could not determine, when anything was missing.

Returns:

  • (String)


4037
4038
4039
4040
4041
4042
4043
4044
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4037

class SignalPrecondition < Struct.new(
  :value,
  :basis,
  :reason,
  :missing_info)
  SENSITIVE = []
  include Aws::Structure
end

#reason ⇒ String

The producer's explanation.

Returns:

  • (String)


4037
4038
4039
4040
4041
4042
4043
4044
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4037

class SignalPrecondition < Struct.new(
  :value,
  :basis,
  :reason,
  :missing_info)
  SENSITIVE = []
  include Aws::Structure
end

#value ⇒ Boolean

The producer's determination.

A Boolean rather than an enum, against the Common Terms preference for enums on extensibility grounds. The question each precondition answers is closed — is the code reachable, is configuration required, must a user other than the attacker interact — and the only third state, "not determined", is already expressed by omitting this member, which the projection does whenever the stored value is not a bool. An enum would give two ways to say the same thing, while basis and missingInfo already qualify how firm the answer is.

Returns:

  • (Boolean)


4037
4038
4039
4040
4041
4042
4043
4044
# File 'gems/aws-sdk-continuum/lib/aws-sdk-continuum/types.rb', line 4037

class SignalPrecondition < Struct.new(
  :value,
  :basis,
  :reason,
  :missing_info)
  SENSITIVE = []
  include Aws::Structure
end