Class: AWSCDK::SAM::CfnFunction::FileSystemConfigProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
sam/cfn_function.rb

Overview

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arn: nil, local_mount_path: nil) ⇒ FileSystemConfigProperty

Returns a new instance of FileSystemConfigProperty.

Parameters:

  • arn (String, nil) (defaults to: nil)
  • local_mount_path (String, nil) (defaults to: nil)


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

#arnString? (readonly)



1913
1914
1915
# File 'sam/cfn_function.rb', line 1913

def arn
  @arn
end

#local_mount_pathString? (readonly)



1916
1917
1918
# File 'sam/cfn_function.rb', line 1916

def local_mount_path
  @local_mount_path
end

Class Method Details

.jsii_propertiesObject



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_jsiiObject



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