Class: AWSCDK::SAM::CfnStateMachine::IAMPolicyDocumentProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnStateMachine::IAMPolicyDocumentProperty
- Defined in:
- sam/cfn_state_machine.rb
Overview
Instance Attribute Summary collapse
- #statement ⇒ Object readonly
- #version ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(statement:, version:) ⇒ IAMPolicyDocumentProperty
constructor
A new instance of IAMPolicyDocumentProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(statement:, version:) ⇒ IAMPolicyDocumentProperty
Returns a new instance of IAMPolicyDocumentProperty.
876 877 878 879 880 881 |
# File 'sam/cfn_state_machine.rb', line 876 def initialize(statement:, version:) @statement = statement Jsii::Type.check_type(@statement, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJhbnkifQ==")), "statement") @version = version Jsii::Type.check_type(@version, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "version") end |
Instance Attribute Details
#statement ⇒ Object (readonly)
885 886 887 |
# File 'sam/cfn_state_machine.rb', line 885 def statement @statement end |
#version ⇒ String (readonly)
888 889 890 |
# File 'sam/cfn_state_machine.rb', line 888 def version @version end |
Class Method Details
.jsii_properties ⇒ Object
890 891 892 893 894 895 |
# File 'sam/cfn_state_machine.rb', line 890 def self.jsii_properties { :statement => "statement", :version => "version", } end |
Instance Method Details
#to_jsii ⇒ Object
897 898 899 900 901 902 903 904 |
# File 'sam/cfn_state_machine.rb', line 897 def to_jsii result = {} result.merge!({ "statement" => @statement, "version" => @version, }) result.compact end |