Class: Aws::SecurityLake::Types::LogSourceResource

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

Overview

Note:

LogSourceResource is a union - when making an API calls you must set exactly one of the members.

Note:

LogSourceResource is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of LogSourceResource corresponding to the set member.

The supported source types from which logs and events are collected in Amazon Security Lake. For a list of supported Amazon Web Services, see the Amazon Security Lake User Guide.

Direct Known Subclasses

AwsLogSource, CustomLogSource, Unknown

Defined Under Namespace

Classes: AwsLogSource, CustomLogSource, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#aws_log_sourceTypes::AwsLogSourceResource

Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.



1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/types.rb', line 1575

class LogSourceResource < Struct.new(
  :aws_log_source,
  :custom_log_source,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AwsLogSource < LogSourceResource; end
  class CustomLogSource < LogSourceResource; end
  class Unknown < LogSourceResource; end
end

#custom_log_sourceTypes::CustomLogSourceResource

Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.



1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/types.rb', line 1575

class LogSourceResource < Struct.new(
  :aws_log_source,
  :custom_log_source,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class AwsLogSource < LogSourceResource; end
  class CustomLogSource < LogSourceResource; end
  class Unknown < LogSourceResource; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1575
1576
1577
# File 'gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/types.rb', line 1575

def unknown
  @unknown
end