Class: Aws::SSM::Types::SessionFilter

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

Overview

Describes a filter for Session Manager information.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#keyString

The name of the filter.

Returns:

  • (String)


17869
17870
17871
17872
17873
17874
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 17869

class SessionFilter < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end

#valueString

The filter value. Valid values for each filter key are as follows:

  • InvokedAfter: Specify a timestamp to limit your results. For example, specify 2024-08-29T00:00:00Z to see sessions that started August 29, 2024, and later.

  • InvokedBefore: Specify a timestamp to limit your results. For example, specify 2024-08-29T00:00:00Z to see sessions that started before August 29, 2024.

  • Target: Specify a managed node to which session connections have been made.

  • Owner: Specify an Amazon Web Services user to see a list of sessions started by that user.

  • Status: Specify a valid session status to see a list of all sessions with that status. Status values you can specify include:

    • Connected

    • Connecting

    • Disconnected

    • Terminated

    • Terminating

    • Failed

  • SessionId: Specify a session ID to return details about the session.

Returns:

  • (String)


17869
17870
17871
17872
17873
17874
# File 'gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb', line 17869

class SessionFilter < Struct.new(
  :key,
  :value)
  SENSITIVE = []
  include Aws::Structure
end