@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:17.348Z") @Stability(value=Experimental) public class FileSystem extends Resource implements IFileSystem
It creates a new, empty file system in Amazon Elastic File System (Amazon EFS). It also creates mount target (AWS::EFS::MountTarget) implicitly to mount the EFS file system on an Amazon Elastic Compute Cloud (Amazon EC2) instance or another resource.
https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-filesystem.html| Modifier and Type | Class and Description |
|---|---|
static class |
FileSystem.Builder
(experimental) A fluent builder for
FileSystem. |
software.amazon.jsii.JsiiObject.InitializationModeIFileSystem.Jsii$Default, IFileSystem.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static Number |
DEFAULT_PORT
(experimental) The default port File System listens on.
|
| Modifier | Constructor and Description |
|---|---|
|
FileSystem(software.constructs.Construct scope,
String id,
FileSystemProps props)
(experimental) Constructor for creating a new EFS FileSystem.
|
protected |
FileSystem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
FileSystem(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
AccessPoint |
addAccessPoint(String id)
(experimental) create access point from this filesystem.
|
AccessPoint |
addAccessPoint(String id,
AccessPointOptions accessPointOptions)
(experimental) create access point from this filesystem.
|
static IFileSystem |
fromFileSystemAttributes(software.constructs.Construct scope,
String id,
FileSystemAttributes attrs)
(experimental) Import an existing File System from the given properties.
|
Connections |
getConnections()
(experimental) The security groups/rules used to allow network connections to the file system.
|
String |
getFileSystemId()
(experimental) The ID of the file system, assigned by Amazon EFS.
|
software.constructs.IDependable |
getMountTargetsAvailable()
(experimental) Dependable that can be depended upon to ensure the mount targets of the filesystem are ready.
|
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Experimental) public static final Number DEFAULT_PORT
protected FileSystem(software.amazon.jsii.JsiiObjectRef objRef)
protected FileSystem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public FileSystem(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
FileSystemProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IFileSystem fromFileSystemAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull FileSystemAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public AccessPoint addAccessPoint(@NotNull String id, @Nullable AccessPointOptions accessPointOptions)
id - This parameter is required.accessPointOptions - @Stability(value=Experimental) @NotNull public AccessPoint addAccessPoint(@NotNull String id)
id - This parameter is required.@Stability(value=Experimental) @NotNull public Connections getConnections()
getConnections in interface IConnectable@Stability(value=Experimental) @NotNull public String getFileSystemId()
getFileSystemId in interface IFileSystem@Stability(value=Experimental) @NotNull public software.constructs.IDependable getMountTargetsAvailable()
getMountTargetsAvailable in interface IFileSystemCopyright © 2021. All rights reserved.