LocationFsxOntapFileSystem constructor
LocationFsxOntapFileSystem(
- String name, {
- LocationFsxOntapFileSystemArgs? args,
- CustomResourceOptions? options,
Creates a new LocationFsxOntapFileSystem.
name The Pulumi resource name.
args Arguments used to configure this LocationFsxOntapFileSystem. The set of arguments for LocationFsxOntapFileSystem.
options Resource options controlling this resource's behavior.
Implementation
LocationFsxOntapFileSystem(
String name, {
LocationFsxOntapFileSystemArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:datasync/locationFsxOntapFileSystem:LocationFsxOntapFileSystem',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
arn = registerOutput<String>('arn');
creationTime = registerOutput<String>('creationTime');
fsxFilesystemArn = registerOutput<String>('fsxFilesystemArn');
protocol = registerOutput<LocationFsxOntapFileSystemProtocol>('protocol', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return LocationFsxOntapFileSystemProtocol.fromMap((guardedValue as Map).cast<String, dynamic>()); });
region = registerOutput<String>('region');
securityGroupArns = registerOutput<List<String>>('securityGroupArns', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
storageVirtualMachineArn = registerOutput<String>('storageVirtualMachineArn');
subdirectory = registerOutput<String>('subdirectory');
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>(); });
uri = registerOutput<String>('uri');
}