@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:38.860Z") @Stability(value=Stable) public interface FileSystemAttributes extends software.amazon.jsii.JsiiSerializable
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());
| Modifier and Type | Interface and Description |
|---|---|
static class |
FileSystemAttributes.Builder
A builder for
FileSystemAttributes |
static class |
FileSystemAttributes.Jsii$Proxy
An implementation for
FileSystemAttributes |
| Modifier and Type | Method and Description |
|---|---|
static FileSystemAttributes.Builder |
builder() |
default String |
getFileSystemArn()
The File System's Arn.
|
default String |
getFileSystemId()
The File System's ID.
|
ISecurityGroup |
getSecurityGroup()
The security group of the file system.
|
@Stability(value=Stable) @NotNull ISecurityGroup getSecurityGroup()
@Stability(value=Stable) @Nullable default String getFileSystemArn()
Default: - determined based on fileSystemId
@Stability(value=Stable) @Nullable default String getFileSystemId()
Default: - determined based on fileSystemArn
@Stability(value=Stable) static FileSystemAttributes.Builder builder()
FileSystemAttributes.Builder of FileSystemAttributesCopyright © 2022. All rights reserved.