Class: AWSCDK::SAM::CfnStateMachine::S3LocationProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnStateMachine::S3LocationProperty
- Defined in:
- sam/cfn_state_machine.rb
Overview
Instance Attribute Summary collapse
- #bucket ⇒ String readonly
- #key ⇒ String readonly
- #version ⇒ Numeric? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(bucket:, key:, version: nil) ⇒ S3LocationProperty
constructor
A new instance of S3LocationProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(bucket:, key:, version: nil) ⇒ S3LocationProperty
Returns a new instance of S3LocationProperty.
988 989 990 991 992 993 994 995 |
# File 'sam/cfn_state_machine.rb', line 988 def initialize(bucket:, key:, version: nil) @bucket = bucket Jsii::Type.check_type(@bucket, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "bucket") @key = key Jsii::Type.check_type(@key, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "key") @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "version") unless @version.nil? end |
Instance Attribute Details
#bucket ⇒ String (readonly)
999 1000 1001 |
# File 'sam/cfn_state_machine.rb', line 999 def bucket @bucket end |
#key ⇒ String (readonly)
1002 1003 1004 |
# File 'sam/cfn_state_machine.rb', line 1002 def key @key end |
#version ⇒ Numeric? (readonly)
1005 1006 1007 |
# File 'sam/cfn_state_machine.rb', line 1005 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
1007 1008 1009 1010 1011 1012 1013 |
# File 'sam/cfn_state_machine.rb', line 1007 def self.jsii_properties { :bucket => "bucket", :key => "key", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
1015 1016 1017 1018 1019 1020 1021 1022 1023 |
# File 'sam/cfn_state_machine.rb', line 1015 def to_jsii result = {} result.merge!({ "bucket" => @bucket, "key" => @key, "version" => @version, }) result.compact end |