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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure, Aws::Structure::Union
Defined in:
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 services, see the [Amazon Security Lake User Guide].

[1]: docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html

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 services. For more information, see the [Amazon Security Lake User Guide].

[1]: docs.aws.amazon.com/security-lake/latest/userguide/internal-sources.html



1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
# File 'lib/aws-sdk-securitylake/types.rb', line 1582

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].

[1]: docs.aws.amazon.com/security-lake/latest/userguide/custom-sources.html



1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
# File 'lib/aws-sdk-securitylake/types.rb', line 1582

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



1582
1583
1584
# File 'lib/aws-sdk-securitylake/types.rb', line 1582

def unknown
  @unknown
end