Class: AWSCDK::S3Files::CfnFileSystem::ImportDataRuleProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::S3Files::CfnFileSystem::ImportDataRuleProperty
- Defined in:
- s3_files/cfn_file_system.rb
Overview
Instance Attribute Summary collapse
- #prefix ⇒ String readonly
- #size_less_than ⇒ Numeric readonly
- #trigger ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(prefix:, size_less_than:, trigger:) ⇒ ImportDataRuleProperty
constructor
A new instance of ImportDataRuleProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(prefix:, size_less_than:, trigger:) ⇒ ImportDataRuleProperty
Returns a new instance of ImportDataRuleProperty.
656 657 658 659 660 661 662 663 |
# File 's3_files/cfn_file_system.rb', line 656 def initialize(prefix:, size_less_than:, trigger:) @prefix = prefix Jsii::Type.check_type(@prefix, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "prefix") @size_less_than = size_less_than Jsii::Type.check_type(@size_less_than, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "sizeLessThan") @trigger = trigger Jsii::Type.check_type(@trigger, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "trigger") end |
Instance Attribute Details
#prefix ⇒ String (readonly)
667 668 669 |
# File 's3_files/cfn_file_system.rb', line 667 def prefix @prefix end |
#size_less_than ⇒ Numeric (readonly)
670 671 672 |
# File 's3_files/cfn_file_system.rb', line 670 def size_less_than @size_less_than end |
#trigger ⇒ String (readonly)
673 674 675 |
# File 's3_files/cfn_file_system.rb', line 673 def trigger @trigger end |
Class Method Details
.jsii_properties ⇒ Object
675 676 677 678 679 680 681 |
# File 's3_files/cfn_file_system.rb', line 675 def self.jsii_properties { :prefix => "prefix", :size_less_than => "sizeLessThan", :trigger => "trigger", } end |
Instance Method Details
#to_jsii ⇒ Object
683 684 685 686 687 688 689 690 691 |
# File 's3_files/cfn_file_system.rb', line 683 def to_jsii result = {} result.merge!({ "prefix" => @prefix, "sizeLessThan" => @size_less_than, "trigger" => @trigger, }) result.compact end |