Class: AWSCDK::SecurityLake::CfnSubscriber::CustomLogSourceProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityLake::CfnSubscriber::CustomLogSourceProperty
- 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
-
#source_name ⇒ String?
readonly
The name of the custom log source.
-
#source_version ⇒ String?
readonly
The source version of the custom log source.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(source_name: nil, source_version: nil) ⇒ CustomLogSourceProperty
constructor
A new instance of CustomLogSourceProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(source_name: nil, source_version: nil) ⇒ CustomLogSourceProperty
Returns a new instance of CustomLogSourceProperty.
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_name ⇒ String? (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_version ⇒ String? (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_properties ⇒ Object
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_jsii ⇒ Object
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 |