Class: AWSCDK::SAM::CfnFunction::S3NotificationFilterProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::S3NotificationFilterProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(s3_key:) ⇒ S3NotificationFilterProperty
constructor
A new instance of S3NotificationFilterProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(s3_key:) ⇒ S3NotificationFilterProperty
Returns a new instance of S3NotificationFilterProperty.
2855 2856 2857 2858 |
# File 'sam/cfn_function.rb', line 2855 def initialize(s3_key:) @s3_key = s3_key.is_a?(Hash) ? ::AWSCDK::SAM::CfnFunction::S3KeyFilterProperty.new(**s3_key.transform_keys(&:to_sym)) : s3_key Jsii::Type.check_type(@s3_key, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19zYW0uQ2ZuRnVuY3Rpb24uUzNLZXlGaWx0ZXJQcm9wZXJ0eSJ9XX19")), "s3Key") end |
Instance Attribute Details
#s3_key ⇒ AWSCDK::IResolvable, AWSCDK::SAM::CfnFunction::S3KeyFilterProperty (readonly)
2862 2863 2864 |
# File 'sam/cfn_function.rb', line 2862 def s3_key @s3_key end |
Class Method Details
.jsii_properties ⇒ Object
2864 2865 2866 2867 2868 |
# File 'sam/cfn_function.rb', line 2864 def self.jsii_properties { :s3_key => "s3Key", } end |
Instance Method Details
#to_jsii ⇒ Object
2870 2871 2872 2873 2874 2875 2876 |
# File 'sam/cfn_function.rb', line 2870 def to_jsii result = {} result.merge!({ "s3Key" => @s3_key, }) result.compact end |