Class: AWSCDK::SecurityLake::CfnSubscriber::CustomLogSourceProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
security_lake/cfn_subscriber.rb

Overview

Third-party custom log source that meets the requirements to be added to Amazon Security Lake .

For more details, see Custom log source in the Amazon Security Lake User Guide .

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(source_name: nil, source_version: nil) ⇒ CustomLogSourceProperty

Returns a new instance of CustomLogSourceProperty.

Parameters:

  • source_name (String, nil) (defaults to: nil)

    The name of the custom log source.

  • source_version (String, nil) (defaults to: nil)

    The source version of the custom log source.



682
683
684
685
686
687
# File 'security_lake/cfn_subscriber.rb', line 682

def initialize(source_name: nil, source_version: nil)
  @source_name = source_name
  Jsii::Type.check_type(@source_name, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceName") unless @source_name.nil?
  @source_version = source_version
  Jsii::Type.check_type(@source_version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "sourceVersion") unless @source_version.nil?
end

Instance Attribute Details

#source_nameString? (readonly)

The name of the custom log source.



693
694
695
# File 'security_lake/cfn_subscriber.rb', line 693

def source_name
  @source_name
end

#source_versionString? (readonly)

The source version of the custom log source.



698
699
700
# File 'security_lake/cfn_subscriber.rb', line 698

def source_version
  @source_version
end

Class Method Details

.jsii_propertiesObject



700
701
702
703
704
705
# File 'security_lake/cfn_subscriber.rb', line 700

def self.jsii_properties
  {
    :source_name => "sourceName",
    :source_version => "sourceVersion",
  }
end

Instance Method Details

#to_jsiiObject



707
708
709
710
711
712
713
714
# File 'security_lake/cfn_subscriber.rb', line 707

def to_jsii
  result = {}
  result.merge!({
    "sourceName" => @source_name,
    "sourceVersion" => @source_version,
  })
  result.compact
end