Class: AWSCDK::Interfaces::AWSEFS::FileSystemReference
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::Interfaces::AWSEFS::FileSystemReference
- Defined in:
- interfaces/awsefs/file_system_reference.rb
Overview
A reference to a FileSystem resource.
Instance Attribute Summary collapse
-
#file_system_arn ⇒ String
readonly
The ARN of the FileSystem resource.
-
#file_system_id ⇒ String
readonly
The FileSystemId of the FileSystem resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(file_system_arn:, file_system_id:) ⇒ FileSystemReference
constructor
A new instance of FileSystemReference.
- #to_jsii ⇒ Object
Constructor Details
#initialize(file_system_arn:, file_system_id:) ⇒ FileSystemReference
Returns a new instance of FileSystemReference.
9 10 11 12 13 14 |
# File 'interfaces/awsefs/file_system_reference.rb', line 9 def initialize(file_system_arn:, file_system_id:) @file_system_arn = file_system_arn Jsii::Type.check_type(@file_system_arn, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fileSystemArn") @file_system_id = file_system_id Jsii::Type.check_type(@file_system_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fileSystemId") end |
Instance Attribute Details
#file_system_arn ⇒ String (readonly)
The ARN of the FileSystem resource.
19 20 21 |
# File 'interfaces/awsefs/file_system_reference.rb', line 19 def file_system_arn @file_system_arn end |
#file_system_id ⇒ String (readonly)
The FileSystemId of the FileSystem resource.
23 24 25 |
# File 'interfaces/awsefs/file_system_reference.rb', line 23 def file_system_id @file_system_id end |
Class Method Details
.jsii_properties ⇒ Object
25 26 27 28 29 30 |
# File 'interfaces/awsefs/file_system_reference.rb', line 25 def self.jsii_properties { :file_system_arn => "fileSystemArn", :file_system_id => "fileSystemId", } end |
Instance Method Details
#to_jsii ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'interfaces/awsefs/file_system_reference.rb', line 32 def to_jsii result = {} result.merge!({ "fileSystemArn" => @file_system_arn, "fileSystemId" => @file_system_id, }) result.compact end |