Class: AWSCDK::M2::CfnEnvironment::EFSStorageConfigurationProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
m2/cfn_environment.rb

Overview

AWS Mainframe Modernization Service (Managed Runtime Environment experience) will no longer be open to new customers starting on November 7, 2025.

If you would like to use the service, please sign up prior to November 7, 2025. For capabilities similar to AWS Mainframe Modernization Service (Managed Runtime Environment experience) explore AWS Mainframe Modernization Service (Self-Managed Experience). Existing customers can continue to use the service as normal. For more information, see AWS Mainframe Modernization availability change .

Defines the storage configuration for an Amazon EFS file system.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_system_id:, mount_point:) ⇒ EFSStorageConfigurationProperty

Returns a new instance of EFSStorageConfigurationProperty.

Parameters:

  • file_system_id (String)

    The file system identifier.

  • mount_point (String)

    The mount point for the file system.



699
700
701
702
703
704
# File 'm2/cfn_environment.rb', line 699

def initialize(file_system_id:, mount_point:)
  @file_system_id = file_system_id
  Jsii::Type.check_type(@file_system_id, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "fileSystemId")
  @mount_point = mount_point
  Jsii::Type.check_type(@mount_point, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "mountPoint")
end

Instance Attribute Details

#file_system_idString (readonly)

The file system identifier.



710
711
712
# File 'm2/cfn_environment.rb', line 710

def file_system_id
  @file_system_id
end

#mount_pointString (readonly)

The mount point for the file system.



715
716
717
# File 'm2/cfn_environment.rb', line 715

def mount_point
  @mount_point
end

Class Method Details

.jsii_propertiesObject



717
718
719
720
721
722
# File 'm2/cfn_environment.rb', line 717

def self.jsii_properties
  {
    :file_system_id => "fileSystemId",
    :mount_point => "mountPoint",
  }
end

Instance Method Details

#to_jsiiObject



724
725
726
727
728
729
730
731
# File 'm2/cfn_environment.rb', line 724

def to_jsii
  result = {}
  result.merge!({
    "fileSystemId" => @file_system_id,
    "mountPoint" => @mount_point,
  })
  result.compact
end