FileSystem constructor
FileSystem(
- String name, {
- FileSystemArgs? args,
- CustomResourceOptions? options,
Creates a new FileSystem.
name The Pulumi resource name.
args Arguments used to configure this FileSystem. The set of arguments for FileSystem.
options Resource options controlling this resource's behavior.
Implementation
FileSystem(
String name, {
FileSystemArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:efs/fileSystem:FileSystem',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
availabilityZoneId = registerOutput<String>('availabilityZoneId');
availabilityZoneName = registerOutput<String>('availabilityZoneName');
creationToken = registerOutput<String>('creationToken');
dnsName = registerOutput<String>('dnsName');
encrypted = registerOutput<bool>('encrypted');
kmsKeyId = registerOutput<String>('kmsKeyId');
lifecyclePolicies = registerOutput<List<FileSystemLifecyclePolicy>?>('lifecyclePolicies', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<FileSystemLifecyclePolicy>(guardedValue, (value) => FileSystemLifecyclePolicy.fromMap((value as Map).cast<String, dynamic>())); });
this.name = registerOutput<String>('name');
numberOfMountTargets = registerOutput<int>('numberOfMountTargets');
ownerId = registerOutput<String>('ownerId');
performanceMode = registerOutput<String>('performanceMode');
protection = registerOutput<FileSystemProtection>('protection', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return FileSystemProtection.fromMap((guardedValue as Map).cast<String, dynamic>()); });
provisionedThroughputInMibps = registerOutput<double?>('provisionedThroughputInMibps');
region = registerOutput<String>('region');
sizeInBytes = registerOutput<List<FileSystemSizeInByte>>('sizeInBytes', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<FileSystemSizeInByte>(guardedValue, (value) => FileSystemSizeInByte.fromMap((value as Map).cast<String, dynamic>())); });
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
throughputMode = registerOutput<String?>('throughputMode');
}