Class: AWSCDK::Lambda::CfnFunction::FileSystemConfigProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Lambda::CfnFunction::FileSystemConfigProperty
- Defined in:
- lambda/cfn_function.rb
Overview
Details about the connection between a Lambda function and an Amazon EFS file system .
Instance Attribute Summary collapse
-
#arn ⇒ String
readonly
The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
-
#local_mount_path ⇒ String
readonly
The path where the function can access the file system, starting with
/mnt/.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(arn:, local_mount_path:) ⇒ FileSystemConfigProperty
constructor
A new instance of FileSystemConfigProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(arn:, local_mount_path:) ⇒ FileSystemConfigProperty
Returns a new instance of FileSystemConfigProperty.
1269 1270 1271 1272 1273 1274 |
# File 'lambda/cfn_function.rb', line 1269 def initialize(arn:, local_mount_path:) @arn = arn Jsii::Type.check_type(@arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "arn") @local_mount_path = local_mount_path Jsii::Type.check_type(@local_mount_path, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "localMountPath") end |
Instance Attribute Details
#arn ⇒ String (readonly)
The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file system.
1280 1281 1282 |
# File 'lambda/cfn_function.rb', line 1280 def arn @arn end |
#local_mount_path ⇒ String (readonly)
The path where the function can access the file system, starting with /mnt/ .
1285 1286 1287 |
# File 'lambda/cfn_function.rb', line 1285 def local_mount_path @local_mount_path end |
Class Method Details
.jsii_properties ⇒ Object
1287 1288 1289 1290 1291 1292 |
# File 'lambda/cfn_function.rb', line 1287 def self.jsii_properties { :arn => "arn", :local_mount_path => "localMountPath", } end |
Instance Method Details
#to_jsii ⇒ Object
1294 1295 1296 1297 1298 1299 1300 1301 |
# File 'lambda/cfn_function.rb', line 1294 def to_jsii result = {} result.merge!({ "arn" => @arn, "localMountPath" => @local_mount_path, }) result.compact end |