Class FileSystemAttributes
Properties that describe an existing EFS file system.
Inheritance
System.Object
FileSystemAttributes
Implements
Namespace: Amazon.CDK.AWS.EFS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class FileSystemAttributes : Object, IFileSystemAttributes
Syntax (vb)
Public Class FileSystemAttributes
Inherits Object
Implements IFileSystemAttributes
Remarks
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.IAM;
var importedFileSystem = FileSystem.FromFileSystemAttributes(this, "existingFS", new FileSystemAttributes {
FileSystemId = "fs-12345678", // You can also use fileSystemArn instead of fileSystemId.
SecurityGroup = SecurityGroup.FromSecurityGroupId(this, "SG", "sg-123456789", new SecurityGroupImportOptions {
AllowAllOutbound = false
})
});
Synopsis
Constructors
FileSystemAttributes() |
Properties
FileSystemArn | The File System's Arn. |
FileSystemId | The File System's ID. |
SecurityGroup | The security group of the file system. |
Constructors
FileSystemAttributes()
public FileSystemAttributes()
Properties
FileSystemArn
The File System's Arn.
public string FileSystemArn { get; set; }
Property Value
System.String
Remarks
Default: - determined based on fileSystemId
FileSystemId
The File System's ID.
public string FileSystemId { get; set; }
Property Value
System.String
Remarks
Default: - determined based on fileSystemArn
SecurityGroup
The security group of the file system.
public ISecurityGroup SecurityGroup { get; set; }
Property Value