@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.909Z") @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.InitializationMode
IFileSystem.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, isResource
jsiiAsyncCall, 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 IFileSystem
Copyright © 2021. All rights reserved.