Class: AWSCDK::Inspectorv2::CfnFilter::DateFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Inspectorv2::CfnFilter::DateFilterProperty
- Defined in:
- inspectorv2/cfn_filter.rb
Overview
Contains details on the time range used to filter findings.
Instance Attribute Summary collapse
-
#end_inclusive ⇒ Numeric?
readonly
A timestamp representing the end of the time period filtered on.
-
#start_inclusive ⇒ Numeric?
readonly
A timestamp representing the start of the time period filtered on.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(end_inclusive: nil, start_inclusive: nil) ⇒ DateFilterProperty
constructor
A new instance of DateFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(end_inclusive: nil, start_inclusive: nil) ⇒ DateFilterProperty
Returns a new instance of DateFilterProperty.
570 571 572 573 574 575 |
# File 'inspectorv2/cfn_filter.rb', line 570 def initialize(end_inclusive: nil, start_inclusive: nil) @end_inclusive = end_inclusive Jsii::Type.check_type(@end_inclusive, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "endInclusive") unless @end_inclusive.nil? @start_inclusive = start_inclusive Jsii::Type.check_type(@start_inclusive, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "startInclusive") unless @start_inclusive.nil? end |
Instance Attribute Details
#end_inclusive ⇒ Numeric? (readonly)
A timestamp representing the end of the time period filtered on.
581 582 583 |
# File 'inspectorv2/cfn_filter.rb', line 581 def end_inclusive @end_inclusive end |
#start_inclusive ⇒ Numeric? (readonly)
A timestamp representing the start of the time period filtered on.
586 587 588 |
# File 'inspectorv2/cfn_filter.rb', line 586 def start_inclusive @start_inclusive end |
Class Method Details
.jsii_properties ⇒ Object
588 589 590 591 592 593 |
# File 'inspectorv2/cfn_filter.rb', line 588 def self.jsii_properties { :end_inclusive => "endInclusive", :start_inclusive => "startInclusive", } end |
Instance Method Details
#to_jsii ⇒ Object
595 596 597 598 599 600 601 602 |
# File 'inspectorv2/cfn_filter.rb', line 595 def to_jsii result = {} result.merge!({ "endInclusive" => @end_inclusive, "startInclusive" => @start_inclusive, }) result.compact end |