Class: AWSCDK::WorkspacesWeb::CfnSessionLogger::EventFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::WorkspacesWeb::CfnSessionLogger::EventFilterProperty
- Defined in:
- workspaces_web/cfn_session_logger.rb
Overview
The filter that specifies the events to monitor.
Instance Attribute Summary collapse
-
#all ⇒ Object?
readonly
The filter that monitors all of the available events, including any new events emitted in the future.
-
#include ⇒ Array<String>?
readonly
The filter that monitors only the listed set of events.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(all: nil, include: nil) ⇒ EventFilterProperty
constructor
A new instance of EventFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(all: nil, include: nil) ⇒ EventFilterProperty
Returns a new instance of EventFilterProperty.
601 602 603 604 605 606 |
# File 'workspaces_web/cfn_session_logger.rb', line 601 def initialize(all: nil, include: nil) @all = all Jsii::Type.check_type(@all, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "all") unless @all.nil? @include = include Jsii::Type.check_type(@include, JSON.parse(Base64.strict_decode64("eyJjb2xsZWN0aW9uIjp7ImVsZW1lbnR0eXBlIjp7InByaW1pdGl2ZSI6InN0cmluZyJ9LCJraW5kIjoiYXJyYXkifX0=")), "include") unless @include.nil? end |
Instance Attribute Details
#all ⇒ Object? (readonly)
The filter that monitors all of the available events, including any new events emitted in the future.
The All and Include properties are not required, but one of them should be present. {} is a valid input.
614 615 616 |
# File 'workspaces_web/cfn_session_logger.rb', line 614 def all @all end |
#include ⇒ Array<String>? (readonly)
The filter that monitors only the listed set of events.
New events are not auto-monitored. The All and Include properties are not required, but one of them should be present.
621 622 623 |
# File 'workspaces_web/cfn_session_logger.rb', line 621 def include @include end |
Class Method Details
.jsii_properties ⇒ Object
623 624 625 626 627 628 |
# File 'workspaces_web/cfn_session_logger.rb', line 623 def self.jsii_properties { :all => "all", :include => "include", } end |
Instance Method Details
#to_jsii ⇒ Object
630 631 632 633 634 635 636 637 |
# File 'workspaces_web/cfn_session_logger.rb', line 630 def to_jsii result = {} result.merge!({ "all" => @all, "include" => @include, }) result.compact end |