Class: AWSCDK::M2::CfnEnvironment::FSXStorageConfigurationProperty

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 FSx file system.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_system_id:, mount_point:) ⇒ FSXStorageConfigurationProperty

Returns a new instance of FSXStorageConfigurationProperty.

Parameters:

  • file_system_id (String)

    The file system identifier.

  • mount_point (String)

    The mount point for the file system.



746
747
748
749
750
751
# File 'm2/cfn_environment.rb', line 746

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.



757
758
759
# File 'm2/cfn_environment.rb', line 757

def file_system_id
  @file_system_id
end

#mount_pointString (readonly)

The mount point for the file system.



762
763
764
# File 'm2/cfn_environment.rb', line 762

def mount_point
  @mount_point
end

Class Method Details

.jsii_propertiesObject



764
765
766
767
768
769
# File 'm2/cfn_environment.rb', line 764

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

Instance Method Details

#to_jsiiObject



771
772
773
774
775
776
777
778
# File 'm2/cfn_environment.rb', line 771

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