@Generated(value="jsii-pacmak/1.47.0 (build 86d2c33)", date="2021-12-22T10:27:17.717Z") @Stability(value=Stable) public class CfnFileSystem extends CfnResource implements IInspectable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.fsx.*;
CfnFileSystem cfnFileSystem = CfnFileSystem.Builder.create(this, "MyCfnFileSystem")
.fileSystemType("fileSystemType")
.subnetIds(List.of("subnetIds"))
// the properties below are optional
.backupId("backupId")
.fileSystemTypeVersion("fileSystemTypeVersion")
.kmsKeyId("kmsKeyId")
.lustreConfiguration(LustreConfigurationProperty.builder()
.autoImportPolicy("autoImportPolicy")
.automaticBackupRetentionDays(123)
.copyTagsToBackups(false)
.dailyAutomaticBackupStartTime("dailyAutomaticBackupStartTime")
.dataCompressionType("dataCompressionType")
.deploymentType("deploymentType")
.driveCacheType("driveCacheType")
.exportPath("exportPath")
.importedFileChunkSize(123)
.importPath("importPath")
.perUnitStorageThroughput(123)
.weeklyMaintenanceStartTime("weeklyMaintenanceStartTime")
.build())
.ontapConfiguration(OntapConfigurationProperty.builder()
.deploymentType("deploymentType")
// the properties below are optional
.automaticBackupRetentionDays(123)
.dailyAutomaticBackupStartTime("dailyAutomaticBackupStartTime")
.diskIopsConfiguration(DiskIopsConfigurationProperty.builder()
.iops(123)
.mode("mode")
.build())
.endpointIpAddressRange("endpointIpAddressRange")
.fsxAdminPassword("fsxAdminPassword")
.preferredSubnetId("preferredSubnetId")
.routeTableIds(List.of("routeTableIds"))
.throughputCapacity(123)
.weeklyMaintenanceStartTime("weeklyMaintenanceStartTime")
.build())
.openZfsConfiguration(OpenZFSConfigurationProperty.builder()
.deploymentType("deploymentType")
// the properties below are optional
.automaticBackupRetentionDays(123)
.copyTagsToBackups(false)
.copyTagsToVolumes(false)
.dailyAutomaticBackupStartTime("dailyAutomaticBackupStartTime")
.diskIopsConfiguration(DiskIopsConfigurationProperty.builder()
.iops(123)
.mode("mode")
.build())
.rootVolumeConfiguration(RootVolumeConfigurationProperty.builder()
.copyTagsToSnapshots(false)
.dataCompressionType("dataCompressionType")
.nfsExports(List.of(NfsExportsProperty.builder()
.clientConfigurations(List.of(ClientConfigurationsProperty.builder()
.clients("clients")
.options(List.of("options"))
.build()))
.build()))
.readOnly(false)
.userAndGroupQuotas(List.of(UserAndGroupQuotasProperty.builder()
.id(123)
.storageCapacityQuotaGiB(123)
.type("type")
.build()))
.build())
.throughputCapacity(123)
.weeklyMaintenanceStartTime("weeklyMaintenanceStartTime")
.build())
.securityGroupIds(List.of("securityGroupIds"))
.storageCapacity(123)
.storageType("storageType")
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.windowsConfiguration(WindowsConfigurationProperty.builder()
.throughputCapacity(123)
// the properties below are optional
.activeDirectoryId("activeDirectoryId")
.aliases(List.of("aliases"))
.auditLogConfiguration(AuditLogConfigurationProperty.builder()
.fileAccessAuditLogLevel("fileAccessAuditLogLevel")
.fileShareAccessAuditLogLevel("fileShareAccessAuditLogLevel")
// the properties below are optional
.auditLogDestination("auditLogDestination")
.build())
.automaticBackupRetentionDays(123)
.copyTagsToBackups(false)
.dailyAutomaticBackupStartTime("dailyAutomaticBackupStartTime")
.deploymentType("deploymentType")
.preferredSubnetId("preferredSubnetId")
.selfManagedActiveDirectoryConfiguration(SelfManagedActiveDirectoryConfigurationProperty.builder()
.dnsIps(List.of("dnsIps"))
.domainName("domainName")
.fileSystemAdministratorsGroup("fileSystemAdministratorsGroup")
.organizationalUnitDistinguishedName("organizationalUnitDistinguishedName")
.password("password")
.userName("userName")
.build())
.weeklyMaintenanceStartTime("weeklyMaintenanceStartTime")
.build())
.build();
| Modifier and Type | Class and Description |
|---|---|
static interface |
CfnFileSystem.AuditLogConfigurationProperty
Example:
|
static class |
CfnFileSystem.Builder
A fluent builder for
CfnFileSystem. |
static interface |
CfnFileSystem.ClientConfigurationsProperty
Example:
|
static interface |
CfnFileSystem.DiskIopsConfigurationProperty
Example:
|
static interface |
CfnFileSystem.LustreConfigurationProperty
Example:
|
static interface |
CfnFileSystem.NfsExportsProperty
Example:
|
static interface |
CfnFileSystem.OntapConfigurationProperty
Example:
|
static interface |
CfnFileSystem.OpenZFSConfigurationProperty
Example:
|
static interface |
CfnFileSystem.RootVolumeConfigurationProperty
Example:
|
static interface |
CfnFileSystem.SelfManagedActiveDirectoryConfigurationProperty
Example:
|
static interface |
CfnFileSystem.UserAndGroupQuotasProperty
Example:
|
static interface |
CfnFileSystem.WindowsConfigurationProperty
Example:
|
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnFileSystem(software.constructs.Construct scope,
String id,
CfnFileSystemProps props)
Create a new `AWS::FSx::FileSystem`.
|
protected |
CfnFileSystem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnFileSystem(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttrDnsName() |
String |
getAttrLustreMountName() |
String |
getAttrRootVolumeId() |
String |
getBackupId()
`AWS::FSx::FileSystem.BackupId`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getFileSystemType()
`AWS::FSx::FileSystem.FileSystemType`.
|
String |
getFileSystemTypeVersion()
`AWS::FSx::FileSystem.FileSystemTypeVersion`.
|
String |
getKmsKeyId()
`AWS::FSx::FileSystem.KmsKeyId`.
|
Object |
getLustreConfiguration()
`AWS::FSx::FileSystem.LustreConfiguration`.
|
Object |
getOntapConfiguration()
`AWS::FSx::FileSystem.OntapConfiguration`.
|
Object |
getOpenZfsConfiguration()
`AWS::FSx::FileSystem.OpenZFSConfiguration`.
|
List<String> |
getSecurityGroupIds()
`AWS::FSx::FileSystem.SecurityGroupIds`.
|
Number |
getStorageCapacity()
`AWS::FSx::FileSystem.StorageCapacity`.
|
String |
getStorageType()
`AWS::FSx::FileSystem.StorageType`.
|
List<String> |
getSubnetIds()
`AWS::FSx::FileSystem.SubnetIds`.
|
TagManager |
getTags()
`AWS::FSx::FileSystem.Tags`.
|
Object |
getWindowsConfiguration()
`AWS::FSx::FileSystem.WindowsConfiguration`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setBackupId(String value)
`AWS::FSx::FileSystem.BackupId`.
|
void |
setFileSystemType(String value)
`AWS::FSx::FileSystem.FileSystemType`.
|
void |
setFileSystemTypeVersion(String value)
`AWS::FSx::FileSystem.FileSystemTypeVersion`.
|
void |
setKmsKeyId(String value)
`AWS::FSx::FileSystem.KmsKeyId`.
|
void |
setLustreConfiguration(CfnFileSystem.LustreConfigurationProperty value)
`AWS::FSx::FileSystem.LustreConfiguration`.
|
void |
setLustreConfiguration(IResolvable value)
`AWS::FSx::FileSystem.LustreConfiguration`.
|
void |
setOntapConfiguration(CfnFileSystem.OntapConfigurationProperty value)
`AWS::FSx::FileSystem.OntapConfiguration`.
|
void |
setOntapConfiguration(IResolvable value)
`AWS::FSx::FileSystem.OntapConfiguration`.
|
void |
setOpenZfsConfiguration(CfnFileSystem.OpenZFSConfigurationProperty value)
`AWS::FSx::FileSystem.OpenZFSConfiguration`.
|
void |
setOpenZfsConfiguration(IResolvable value)
`AWS::FSx::FileSystem.OpenZFSConfiguration`.
|
void |
setSecurityGroupIds(List<String> value)
`AWS::FSx::FileSystem.SecurityGroupIds`.
|
void |
setStorageCapacity(Number value)
`AWS::FSx::FileSystem.StorageCapacity`.
|
void |
setStorageType(String value)
`AWS::FSx::FileSystem.StorageType`.
|
void |
setSubnetIds(List<String> value)
`AWS::FSx::FileSystem.SubnetIds`.
|
void |
setWindowsConfiguration(CfnFileSystem.WindowsConfigurationProperty value)
`AWS::FSx::FileSystem.WindowsConfiguration`.
|
void |
setWindowsConfiguration(IResolvable value)
`AWS::FSx::FileSystem.WindowsConfiguration`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnFileSystem(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnFileSystem(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnFileSystem(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CfnFileSystemProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull public String getAttrDnsName()
@Stability(value=Stable) @NotNull public String getAttrLustreMountName()
@Stability(value=Stable) @NotNull public String getAttrRootVolumeId()
@Stability(value=Stable) @Nullable public String getBackupId()
@Stability(value=Stable)
public void setBackupId(@Nullable
String value)
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getFileSystemType()
@Stability(value=Stable)
public void setFileSystemType(@NotNull
String value)
@Stability(value=Stable) @Nullable public String getFileSystemTypeVersion()
@Stability(value=Stable)
public void setFileSystemTypeVersion(@Nullable
String value)
@Stability(value=Stable) @Nullable public String getKmsKeyId()
@Stability(value=Stable)
public void setKmsKeyId(@Nullable
String value)
@Stability(value=Stable) @Nullable public Object getLustreConfiguration()
@Stability(value=Stable)
public void setLustreConfiguration(@Nullable
CfnFileSystem.LustreConfigurationProperty value)
@Stability(value=Stable)
public void setLustreConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getOntapConfiguration()
@Stability(value=Stable)
public void setOntapConfiguration(@Nullable
CfnFileSystem.OntapConfigurationProperty value)
@Stability(value=Stable)
public void setOntapConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public Object getOpenZfsConfiguration()
@Stability(value=Stable)
public void setOpenZfsConfiguration(@Nullable
CfnFileSystem.OpenZFSConfigurationProperty value)
@Stability(value=Stable)
public void setOpenZfsConfiguration(@Nullable
IResolvable value)
@Stability(value=Stable) @Nullable public List<String> getSecurityGroupIds()
@Stability(value=Stable)
public void setSecurityGroupIds(@Nullable
List<String> value)
@Stability(value=Stable) @Nullable public Number getStorageCapacity()
@Stability(value=Stable)
public void setStorageCapacity(@Nullable
Number value)
@Stability(value=Stable) @Nullable public String getStorageType()
@Stability(value=Stable)
public void setStorageType(@Nullable
String value)
@Stability(value=Stable) @NotNull public List<String> getSubnetIds()
@Stability(value=Stable)
public void setSubnetIds(@NotNull
List<String> value)
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getWindowsConfiguration()
@Stability(value=Stable)
public void setWindowsConfiguration(@Nullable
CfnFileSystem.WindowsConfigurationProperty value)
@Stability(value=Stable)
public void setWindowsConfiguration(@Nullable
IResolvable value)
Copyright © 2021. All rights reserved.