Interface FileSystemAttributes
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
FileSystemAttributes.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:40.135Z")
@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
Modifier and TypeInterfaceDescriptionstatic final class
A builder forFileSystemAttributes
static final class
An implementation forFileSystemAttributes
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileSystemAttributes.Builder
builder()
default String
The File System's Arn.default String
The 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.Builder
ofFileSystemAttributes
-