Interface FileSystemAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FileSystemAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-05T22:26:36.146Z")
@Stability(Stable)
public interface FileSystemAttributes
extends software.amazon.jsii.JsiiSerializable
Properties that describe an existing EFS file system.
Example:
import software.amazon.awscdk.services.iam.*;
IFileSystem importedFileSystem = FileSystem.fromFileSystemAttributes(this, "existingFS", FileSystemAttributes.builder()
.fileSystemId("fs-12345678") // You can also use fileSystemArn instead of fileSystemId.
.securityGroup(SecurityGroup.fromSecurityGroupId(this, "SG", "sg-123456789", SecurityGroupImportOptions.builder()
.allowAllOutbound(false)
.build()))
.build());
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forFileSystemAttributesstatic final classAn implementation forFileSystemAttributes -
Method Summary
Modifier and TypeMethodDescriptionstatic FileSystemAttributes.Builderbuilder()default StringThe File System's Arn.default StringThe File System's ID.The security group of the file system.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSecurityGroup
The security group of the file system. -
getFileSystemArn
The File System's Arn.Default: - determined based on fileSystemId
-
getFileSystemId
The File System's ID.Default: - determined based on fileSystemArn
-
builder
- Returns:
- a
FileSystemAttributes.BuilderofFileSystemAttributes
-