FsxOpenZfsFileSystem.reference constructor

FsxOpenZfsFileSystem.reference(
  1. String urn
)

Creates a typed reference to an existing FsxOpenZfsFileSystem resource.

Implementation

FsxOpenZfsFileSystem.reference(String urn)
  : super(
      'aws:datasync/fsxOpenZfsFileSystem:FsxOpenZfsFileSystem',
      pulumi.parseUrn(urn).urnName,
      const <String, pulumi.Input<dynamic>>{},
      pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
      isResourceReference: true,
    ) {
  arn = registerOutput<String>('arn');
  creationTime = registerOutput<String>('creationTime');
  fsxFilesystemArn = registerOutput<String>('fsxFilesystemArn');
  protocol = registerOutput<FsxOpenZfsFileSystemProtocol>('protocol', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return FsxOpenZfsFileSystemProtocol.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>(); });
  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');
}