Class: AWSCDK::SAM::CfnFunction::FileSystemConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SAM::CfnFunction::FileSystemConfigProperty
- Defined in:
- sam/cfn_function.rb
Overview
Instance Attribute Summary collapse
- #arn ⇒ String? readonly
- #local_mount_path ⇒ String? readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn: nil, local_mount_path: nil) ⇒ FileSystemConfigProperty
constructor
A new instance of FileSystemConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn: nil, local_mount_path: nil) ⇒ FileSystemConfigProperty
Returns a new instance of FileSystemConfigProperty.
1904 1905 1906 1907 1908 1909 |
# File 'sam/cfn_function.rb', line 1904 def initialize(arn: nil, local_mount_path: nil) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") unless @arn.nil? @local_mount_path = local_mount_path Jsii::Type.check_type(@local_mount_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "localMountPath") unless @local_mount_path.nil? end |
Instance Attribute Details
#arn ⇒ String? (readonly)
1913 1914 1915 |
# File 'sam/cfn_function.rb', line 1913 def arn @arn end |
#local_mount_path ⇒ String? (readonly)
1916 1917 1918 |
# File 'sam/cfn_function.rb', line 1916 def local_mount_path @local_mount_path end |
Class Method Details
.jsii_properties ⇒ Object
1918 1919 1920 1921 1922 1923 |
# File 'sam/cfn_function.rb', line 1918 def self.jsii_properties { :arn => "arn", :local_mount_path => "localMountPath", } end |
Instance Method Details
#to_jsii ⇒ Object
1925 1926 1927 1928 1929 1930 1931 1932 |
# File 'sam/cfn_function.rb', line 1925 def to_jsii result = {} result.merge!({ "arn" => @arn, "localMountPath" => @local_mount_path, }) result.compact end |