Skip to content
v2.277.0

EfsStorageConfigurationProperty Struct ​

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.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_m2 as m2 } from 'aws-cdk-lib';
const efsStorageConfigurationProperty: m2.CfnEnvironment.EfsStorageConfigurationProperty = {
  fileSystemId: 'fileSystemId',
  mountPoint: 'mountPoint',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_m2 as m2

efs_storage_configuration_property = m2.CfnEnvironment.EfsStorageConfigurationProperty(
    file_system_id="fileSystemId",
    mount_point="mountPoint"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.m2.*;

EfsStorageConfigurationProperty efsStorageConfigurationProperty = EfsStorageConfigurationProperty.builder()
        .fileSystemId("fileSystemId")
        .mountPoint("mountPoint")
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.M2;

var efsStorageConfigurationProperty = new EfsStorageConfigurationProperty {
    FileSystemId = "fileSystemId",
    MountPoint = "mountPoint"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

efsStorageConfigurationProperty := &EfsStorageConfigurationProperty{
	FileSystemId: jsii.String("fileSystemId"),
	MountPoint: jsii.String("mountPoint"),
}

Properties ​

fileSystemIdstringfile_system_idstrfileSystemIdStringFileSystemIdstringFileSystemId*stringrequired#
The file system identifier.
mountPointstringmount_pointstrmountPointStringMountPointstringMountPoint*stringrequired#
The mount point for the file system.